--json emitting the CTS envelope (status/tool/version/data/warnings/errors)
Ensure all diagnostic/progress output goes to stderr, normal data to stdout
A documented exit-code-to-failure-mode mapping in the README, with a small exit-code test matrix
Caching for fetched AppStream XML with a TTL, to avoid repeated downloads
Concurrent/parallel download option with configurable workers and retry/backoff policy
Basic unit tests around parsing, ref generation, and download routines, recorded in manifest verification
Creative enhancements (ideas on file, not committed)
A local index (DuckDB or SQLite) of available AppStream components, for fast ad-hoc queries, diffs between snapshots, and analytic queries across releases
A "refs delta" mode comparing two AppStream snapshots and emitting added/removed app refs, for auditing or deployment rollouts
A small localhost HTTP service serving generated ref lists and descriptor metadata to other local tools or dashboards
Export adapters producing CSV, JSONL, or a pre-seeded DuckDB table of refs for downstream dataset workflows
Integration with an Aptlantis archive pipeline storing fetched .flatpakref descriptors and AppStream snapshots with semantic metadata for long-term reproducibility