API Features documented from source code: the endpoint header
I maintainer di solito rispondono entro 1 giorno
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
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- markdown, python, typescript
- Ambito
- backend-api-design, documentation, tooling
Direzione di ricerca
Start with the PageObject header section of docs/reference/authoring-formats.md and the Feature entry in docs/reference/glossary.md, since the proposed endpoint header copies that model. The first task is the spike, an operator-run survey of how ABSA repositories define endpoints and document contracts, and it is not a code change for a newcomer. Done means the spike reports a shape inventory and confirms or corrects the header design.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Background
A project documented in source code cannot document an API Feature today. Source-code headers exist only for
.feature files (User Story, Functionality) and PageObjects (the UI Feature), and living-doc-collector-gh's
doc-source mode reads PageObjects from .ts files only. The canon therefore sends API Features to GitHub Issues or
Azure DevOps, and a feature_dependencies target in a source-code project gives UNRESOLVED_RELATION, which is
expected today (docs/reference/glossary.md, Feature).
A design was drafted in 2026-09 and deferred:
- a
LIVING DOC —comment block directly above the endpoint or handler definition, never at the top of a file, any
number per file; - the PageObject model: one full header per
APIFeature, cross-reference headers (parent-feat:) on the others; - new keys
endpoint:andhandler:, notroute:andpage-object:(clarity over reuse); - no
stub-reason:, and no rule on how many Functionalities one endpoint has; the author decides.
A spike comes first and may change it. Its first finding: atum-service defines endpoints as Tapir values inside an
object, not as annotated methods, so "above the method" is not general enough.
Goals
- A backend service documents its
APIFeatures in its own source code, next to the endpoints. doc-sourcemines the header from the file types the spike names, and the Feature's endpoints reach the documents.feature_dependenciesresolve in a source-code project.- The agentic layer writes and maintains the header, and keeps
feature_dependencieson the Feature.
Subtasks
In landing order. Each child is drafted when the previous one has merged.
-
living-doc(Spike form): a survey across ABSA repositories, run on local clones plus internal ones as an
operator run that reports a shape inventory only. It covers the languages and file types, how an endpoint or
event handler is defined (annotations, route tables, Tapir values), the contract documentation already in use
(OpenAPI and others), the comment forms per file type, and discovery and exclusions. It ends with the header
design confirmed or corrected. -
living-doc: the canon. The endpoint header indocs/reference/authoring-formats.mdand the glossary, an
example indocs/examples/, andexamples_checkrules for it. -
living-docagentic layer: skills write and update the header, andfeature_dependenciesmoves onto the
Feature, with evals. -
living-doc-utilities: the parser for the header and anEndpointRefbesidePageRef, plus the rendering
rules for endpoints; released as a minor. -
living-doc-collector-gh:doc-sourcereads more file types and mines the header. -
living-doc-toolkitandliving-doc-generator-markdown: endpoints carried and rendered, if the contract
change needs it. -
living-doc-testbed: anAPIFeature in source code.living-doc: snapshots, a milestone run and the
release.
Related / References
docs/reference/glossary.md(Feature,feature_dependencies,surface_type),docs/reference/authoring-formats.md
(PageObject header: full and cross-reference).living-doc-utilitiesdocs/authoring/parsers.md.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 6h 14m
- PR unite (30g)
- 27
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 AbsaOSS/living-doc
-
type:tech-debt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
AbsaOSS/living-doc#133 ·
I maintainer di solito rispondono entro 1 giorno
-
type:tech-debt
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
AbsaOSS/living-doc#130 ·
I maintainer di solito rispondono entro 1 giorno
-
type:tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AbsaOSS/living-doc#129 ·
I maintainer di solito rispondono entro 1 giorno
-
type:tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AbsaOSS/living-doc#119 ·
I maintainer di solito rispondono entro 1 giorno
-
type:tech-debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
AbsaOSS/living-doc#136 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di AbsaOSS/living-doc
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
roman-corgi/corgisim#327 ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug]: opencode_go chat route drops reasoning_effort (even 'none'), while the same endpoint honors it via custom_llm_provider=openaiForse già presa @arvindkumar-ship-it l’ha presa oggi. Apertallm translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
BerriAI/litellm#51871 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
PolicyEngine backdates South Carolina’s EITC into 2015–2017Forse già presa @MaxGhenis l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/policyengine-us#10944 ·
I maintainer di solito rispondono entro 2 giorni
-
fix(frontend): resolve SSE parser crash on unhandled Ref methods and undefined actions identifierApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kodokbakar/MiroFish-Local#94 ·
I maintainer di solito rispondono entro 1 giorno