[Feature] Add documentation source-list and source-inspection APIs #4

Closed
opened 2026-07-07 21:05:05 +02:00 by zemion · 2 comments
Owner

Imported from the repository seed backlog.

  • Source: /mnt/DATA/git/govoplan-docs/docs/DOCS_BACKLOG.md
  • Line: 8
  • Section: P1 Immediate
  • Milestone: P1 Immediate

Backlog item:

Add API routes for current-context documentation lookup and source inspection

Remaining Scope (reconciled 2026-07-20)

GET /docs/context is implemented. Remaining work is an API for enumerating and inspecting the typed sources introduced by #2.

Acceptance Criteria

  • Actors can enumerate only sources they are permitted to know exist.
  • Each source has a stable inspection URL/ID and a redacted provenance payload.
  • Unknown and unauthorized source IDs do not leak protected metadata.
  • Responses distinguish unavailable, disabled, and configured sources.
  • Focused authorization, redaction, and not-found tests cover the API.
<!-- codex-module-seed-fingerprint:9826f45902ee98ece508f75d --> Imported from the repository seed backlog. - Source: `/mnt/DATA/git/govoplan-docs/docs/DOCS_BACKLOG.md` - Line: `8` - Section: `P1 Immediate` - Milestone: `P1 Immediate` Backlog item: ```text Add API routes for current-context documentation lookup and source inspection ``` ## Remaining Scope (reconciled 2026-07-20) `GET /docs/context` is implemented. Remaining work is an API for enumerating and inspecting the typed sources introduced by #2. ### Acceptance Criteria - [ ] Actors can enumerate only sources they are permitted to know exist. - [ ] Each source has a stable inspection URL/ID and a redacted provenance payload. - [ ] Unknown and unauthorized source IDs do not leak protected metadata. - [ ] Responses distinguish unavailable, disabled, and configured sources. - [ ] Focused authorization, redaction, and not-found tests cover the API.
zemion added this to the P1 Immediate milestone 2026-07-07 21:05:05 +02:00
zemion changed title from [Feature] Add API routes for current-context documentation lookup and source inspection to [Feature] Add documentation source-list and source-inspection APIs 2026-07-20 14:34:33 +02:00
Author
Owner

Tracker reconciliation: the completed portion is present on origin/main; the title and acceptance criteria now describe only the remaining work. This issue is ready as narrowed.

Tracker reconciliation: the completed portion is present on `origin/main`; the title and acceptance criteria now describe only the remaining work. This issue is ready as narrowed.
Author
Owner

Implemented in da15645. The Docs API now exposes bounded source listing and source inspection with provider provenance and safe optional-module behavior. Backend tests pass.

Implemented in `da15645`. The Docs API now exposes bounded source listing and source inspection with provider provenance and safe optional-module behavior. Backend tests pass.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-docs#4