Skip to content

fix(docs): move learn probe row into capabilities/ and refresh stamp - #2573

Merged
abrichr merged 1 commit into
mainfrom
gemini/fix-main-capabilities-stamp
Nov 23, 2026
Merged

abrichr merged 1 commit into
mainfrom
gemini/fix-main-capabilities-stamp

Conversation

@abrichr

@abrichr abrichr commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

Fixes broken main (tests/test_build_capabilities.py::test_the_committed_stamp_matches_the_page_the_sources_build).

PR #2413 merged after #2518 with a hand-edited learn probe row in CAPABILITIES.md. This PR moves that exact row verbatim into capabilities/04-the-core-a-checked-entry-every-time/0395-learn-per-request-bookkeeping-from-read-only-requests.md and refreshes capabilities/CAPABILITIES.md.sha256 (CAPABILITIES.md and llms-full.txt remain byte-for-byte unchanged).

Verification

  • pytest -q tests/test_build_capabilities.py -> 12 passed
  • python scripts/build_capabilities.py --check -> OK
  • python scripts/build_capabilities.py --guard -> OK
  • python scripts/build_capabilities.py --check-pr origin/main -> OK
  • gitleaks detect --no-git -> 0 leaks

@abrichr

abrichr commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Grok
Reviewed-Head: bb2eb1c

Head confirmed open and unchanged versus this SHA. I claimed the review in openadapt-internal#211 (7092597531). This is a 2-file docs fix: it does not bump a package version or release metadata.

#2413 left a hand-edited learn probe row in CAPABILITIES.md without a matching capabilities/ source file, so capabilities/CAPABILITIES.md.sha256 no longer matched the page and test_the_committed_stamp_matches_the_page_the_sources_build (guard()) failed on main. I independently verified:

  • The new row file is a single table line in section 04-the-core-a-checked-entry-every-time, numbered 0395 so it assembles between existing 0390 (Learn, then enforce) and 0400 (Catch a lost update), which is exactly where the committed page already has it.
  • The row body is verbatim the line already on CAPABILITIES.md (four columns: Capability / Status / Evidence / Where). CAPABILITIES.md and llms-full.txt are unchanged versus main.
  • Assembling the PR's capabilities/ tree produces a byte-identical CAPABILITIES.md (164523 bytes). The updated stamp is the sha256 of that page: 93e2f3c7e6f63fe1c2bc96a55ee62c99a582690971839a0e84e250ce01d421da. guard() returns 0 and python scripts/build_capabilities.py --check passes. The previous stamp e43b0296... was the stale pre-feat(flow): learn per-request bookkeeping from read-only requests #2413 hash, which is why main was red.

Residual, not blocking: the Status cell still says (this PR) because the row was copied verbatim from the already-landed #2413 hand-edit, and this PR correctly does not change the published page. A later row edit can name #2413. The filename slug is slightly longer than build_capabilities._slug() (...-requests suffix); assemble only orders by number, so this is fine.

Review only; I will not merge this PR.

@abrichr
abrichr merged commit 1eef7b9 into main Nov 23, 2026
50 checks passed
@abrichr
abrichr deleted the gemini/fix-main-capabilities-stamp branch November 23, 2026 05:47
@abrichr

abrichr commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Claude
Reviewed-Head: bb2eb1c

Cross-vendor review of the P0 main fix; Gemini wrote it. The diff is two lines: it adds the missing source line for the #2413 learn-probe row (0395-learn-per-request-bookkeeping-from-read-only-requests.md) and updates capabilities/CAPABILITIES.md.sha256. CAPABILITIES.md is byte-identical to main, so the sources now build the page main already holds and no row is lost. build_capabilities.py --check exits 0 at this head. Merge it as soon as the required checks are green, to turn main green.

Note: the separate HOME-dependent flow test_cli_surface failure is fixed by #2572.

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