Skip to content

docs(adrs): reconstruct decision records from existing specs#81

Merged
pdettori merged 1 commit into
kagenti:mainfrom
pdettori:docs/adrs-from-specs
Jul 9, 2026
Merged

docs(adrs): reconstruct decision records from existing specs#81
pdettori merged 1 commit into
kagenti:mainfrom
pdettori:docs/adrs-from-specs

Conversation

@pdettori

@pdettori pdettori commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

Backfills the permanent ADR spine established in #79 by reverse-engineering one Architecture Decision Record from each design spec in docs/specs/. Docs-only; no runtime changes.

  • 23 ADRs, numbered chronologically 0001–0023 by the source spec's date (numbers are permanent).
  • Each records a single headline decision under the ADR template — Context / Decision / Alternatives considered / Consequences — and links back to its spec for the full reasoning.
  • Status derived from reality: 17 Implemented (built/merged) and 6 Accepted (the design-only Z-track credential plane + the capability-charter reprioritization).
  • Supersession notes where the milestone registry already records lineage: MCP code-mode (0005) supersedes the parent MCP gateway; generalized credentialed egress (0006) subsumes parent M9; the inference injector (0012) realizes parent M8.
  • Adds an index table to docs/adrs/README.md.

The pipeline-archetypes-requirements doc is intentionally excluded — it records requirements/evidence, not a decision. PR #78's gRPC transport spec is not on main, so it's out of scope here.

How it was produced

The specs total ~20k lines. Rather than distilling them in one pass, the decisions were extracted per-spec against the ADR template, then verified as a set: all 23 present, every template section populated, all ../specs/ links and index links resolve, statuses cross-checked against the registry, and titles normalized to sentence case.

Closes the ADR-backfill follow-up to #79.


Assisted-By: Claude Code

Backfill the permanent ADR spine established in kagenti#79 by distilling one
Architecture Decision Record from each design spec in docs/specs/.

- 23 ADRs, numbered chronologically (0001–0023) by spec date, each
  recording a single headline decision under the ADR template
  (Context / Decision / Alternatives considered / Consequences) and
  linking back to its source spec for the full reasoning.
- Status derived from reality: Implemented (17, built/merged) and
  Accepted (6, design-only Z-track + capability-charter reprioritization).
- Supersession notes where the milestone registry records one (MCP
  code-mode ⊃ parent MCP gateway; credentialed egress ⊃ parent M9;
  inference injector realizes parent M8).
- Add an index table to docs/adrs/README.md.

The requirements/evidence doc (pipeline-archetypes) is intentionally not
given an ADR — it records requirements, not a decision.

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
@pdettori pdettori merged commit a18abdd into kagenti:main Jul 9, 2026
9 checks passed
@pdettori pdettori deleted the docs/adrs-from-specs branch July 9, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant