43c79cd84a
Answers and written deliverables that rest on retrieved information now get inline numbered citations plus a mechanically-rendered Sources list, with a persistent ledger that makes a hallucinated citation detectable. - skills/research/grounded-citations/scripts/sources.py: stdlib citation ledger (add/ingest/list/render/verify) at $HERMES_HOME/cache/citations/ledger.json, profile-aware, O_EXCL-locked so parallel subagents sharing a ledger can't collide on ids - SKILL.md: cite-while-drafting procedure, register-at-retrieval rule, pitfalls, verification gate - references/citation-formats.md: per-target placement (markdown, LaTeX/PDF, docx, pptx, xlsx, wiki, BibTeX handoff to research-paper-writing) - references/grounding-rationale.md: why numbered ids (ALCE 2305.14627, WebGPT 2112.09332, Perplexity marker conventions), and how this relates to the in-process registry in PR #44833 - tests/skills/test_grounded_citations_skill.py: 30 tests