Add a docs and ADR generator grounded in code
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- markdown, rust
- Ambito
- cli, documentation, tooling
Direzione di ricerca
This is a design proposal, not a scoped task: the payload names a docs workflow, a docgen tool with readme, api, adr and check subcommands, and a docs/adr/NNNN-<slug>.md output path. Start by reading how the harness already labels untrusted repository content and requires evidence for security findings, since the citation rules should follow that pattern. Done would mean an agreed design for the approval-diff flow and the citation format, followed by one subcommand, such as docgen adr, that passes the acceptance criteria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Documentation drifts because writing it is a separate task. The model can summarize a file, but it has no procedure for producing a README section, an ADR, or API docs that cite the code they describe. It invents endpoints, options and defaults.
Aider, Claude Code and OpenHands all support documentation tasks; none of them make citations a requirement. The harness already labels repository content as untrusted and requires evidence for security findings; docs should meet a similar bar.
Inspiration
- Claude Code document skills: structured, template-driven output.
- Aider's repo map for locating symbols.
- Architecture Decision Records (ADR) as a small, reviewable format.
Proposal
Add a docs workflow and a docgen tool:
docgen readme- propose missing sections (install, usage, configuration, architecture) from the actual files; citepath:linefor every factual claim.docgen api- extract public symbols and signatures; mark undocumented ones; never invent a parameter default.docgen adr <title>- createdocs/adr/NNNN-<slug>.mdwith Context, Decision, Alternatives, Consequences; require the decision text from the user or session, not the model.docgen check- find broken links, stale version numbers, commands that no longer exist, and code blocks that fail to parse.- All outputs are proposals: show the diff and require approval before writing.
Acceptance criteria
- Every generated factual claim has a
path:linecitation. - An undocumented symbol is marked, not guessed.
- ADR numbering is monotonic and does not overwrite an existing file.
-
docgen checkdetects a stale command and a broken relative link. - No file is written without an approved diff.
- The workflow refuses when the repository has no license or version to cite.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: tools area: ux enhancement priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
GotinhaAzul/LocalHarness#201 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100