Skip to content

docs(specs): add Spec Kit requirement ledger and baseline findings - #41

Merged
outergod merged 1 commit into
masterfrom
baseline-ledger
Nov 29, 2026
Merged

outergod merged 1 commit into
masterfrom
baseline-ledger

Conversation

@outergod

@outergod outergod commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Companion to the ten baseline-<capability> PRs that establish the OpenSpec capability baseline.

  • specs/LEDGER.md maps all 481 Spec Kit FR/SC IDs (16 features) to their disposition: 406 mapped to a <capability>/<Requirement title>, 20 superseded, 49 process (non-behavioral), 6 unbuilt. Every row cites evidence (930 references, all resolving to real test functions or code items). It resolves the FR-0xx / SC-0xx references throughout src/, tests/ and commit history.
  • docs/follow-ups.md gains a "Capability Baseline Findings" section: the 6 unbuilt requirements and ~30 defect candidates found while verifying the baseline against the code (e.g. a UTF-8 panic in diff truncation, status.json stuck at in_progress after a hard apply error, rollback breaking re-attach, SHA256SUMS failing sha256sum -c), each pointing to the baseline design decision that documents it.

Each baseline change's task 1.1 points reviewers at this ledger; the PRs are otherwise independent and can merge in any order.

Merge order

Merge this PR last, after #42 to #51. The ledger's mapped targets (<capability>/<Requirement title>) and the design-decision references in docs/follow-ups.md resolve against openspec/specs/ and the archived baseline-<capability> changes, which only exist on master once those PRs merge. Before marking this ready, rebase onto master and re-run the ledger check against the merged specs.

Test plan

  • Ledger completeness: every inventory ID exactly once, every mapped target names an existing requirement, every evidence reference exists (deterministic check)
  • core-ops-release validate --base-ref origin/master (Intent none, version stays 3.0.0)
  • CI

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T09:06:03.697276Z c7bc26c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: be568eb566

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread specs/LEDGER.md

This ledger maps every functional requirement (FR) and success criterion (SC) of the frozen Spec Kit features in `specs/0NN-*/` to its disposition in the OpenSpec capability baseline (`openspec/specs/`). Use it to resolve `FR-0xx` / `SC-0xx` references in code, tests and commit messages. IDs are only unique per feature, so look a reference up under the feature it came from.

The baseline describes what the code does today. Where Spec Kit text and code disagreed, the specs follow the code (precedence: tests > code > later feature > earlier feature > docs). Each divergence is recorded as a decision in the corresponding `baseline-<capability>` change's `design.md`, archived under `openspec/changes/archive/`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Make baseline references resolvable before marking them mapped

At this commit, openspec/specs/ contains only release-governance, and neither active nor archived baseline-<capability> changes exist. I checked the commit's tracked OpenSpec tree and searched repository-wide, including hidden files, for the referenced capabilities and baseline designs. Consequently, most mapped targets and the decision references added to docs/follow-ups.md cannot be resolved, undermining the ledger's primary lookup purpose. Include the baseline documents, make their merges a prerequisite, or explicitly mark these references as pending with resolvable companion-change links rather than presenting them as existing specifications.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid: the targets resolve only once the ten baseline PRs (#42 to #51) are on master. This PR is now a draft and its description says it merges last. Before it is marked ready, it will be rebased onto master and the ledger check (every mapped target names an existing requirement in openspec/specs/, every evidence reference exists) re-run against the merged specs.

@outergod
outergod marked this pull request as draft November 29, 2026 08:59
specs/LEDGER.md maps all 481 Spec Kit FR/SC IDs to their disposition in
the OpenSpec capability baseline (406 mapped, 20 superseded, 49 process,
6 unbuilt), with evidence per row. docs/follow-ups.md gains the unbuilt
requirements and the defect candidates found while verifying the
baseline against the code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@outergod
outergod marked this pull request as ready for review November 29, 2026 09:04
@outergod

Copy link
Copy Markdown
Owner Author

Rebased onto master after #42 to #51 merged (now one commit on top of #51). Re-checked against the merged specs:

  • Ledger check: 481/481 IDs, 0 problems. Every mapped target resolves to a requirement in openspec/specs/ (no active changes remain), and every evidence reference exists.
  • specs/LEDGER.md is byte-identical to a fresh render from the ledger rows.
  • All 19 design-decision references in the docs/follow-ups.md section resolve to the archived baseline-<capability> changes.
  • openspec validate --all --strict: 11/11 pass. core-ops-release validate --base-ref origin/master: Intent none, version stays 3.0.0.

@outergod
outergod merged commit bef1703 into master Nov 29, 2026
5 checks passed
@outergod
outergod deleted the baseline-ledger branch November 29, 2026 09:11
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