Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

fix(KR-P2-PR84-TEST-FIX): swap stale dr_runbook assertion to kora_dna placeholder#97

Merged
rafe-walker merged 1 commit into
mainfrom
feat/kora-KR-P2-PR84-TEST-FIX
May 22, 2026
Merged

fix(KR-P2-PR84-TEST-FIX): swap stale dr_runbook assertion to kora_dna placeholder#97
rafe-walker merged 1 commit into
mainfrom
feat/kora-KR-P2-PR84-TEST-FIX

Conversation

@rafe-walker

Copy link
Copy Markdown
Owner

Summary

Trivial test-side debt closure. PR #84 (KR-P2-RUNBOOKS-PANEL)'s `test_get_runbook_content_404_for_unauthored_manifest_entry` pinned `dr_runbook` as a missing manifest entry — at the time, none of the `kora_docs/*` runbooks were vendored. PR #86 (KR-P2-RUNBOOKS-AUTHOR, `185bfff`) since vendored `dr_runbook.md` + `token_rotation_runbook.md`. Auto-improvement worked exactly as PR #84's body predicted; the test just went stale.

Change

Swap to `kora_dna` (`kora_docs/00_canonical_current_state/kora_dna.md`), the still-placeholder entry from the same manifest. Kora's DNA reference doc isn't on a near-term vendoring plan.

Current disk state (verified)

Manifest entry File status
`dr_runbook` ✅ vendored by PR #86
`token_rotation_runbook` ✅ vendored by PR #86
`deploy_runbook_canonical` ❌ still placeholder
`kora_dna` still placeholder ← test now uses this
`deploy_fly_io` ✅ in-repo (since KR-P2-F-pre ST3)

When substrate-team eventually vendors `kora_dna.md` too, the same swap-to-another-placeholder pattern applies. Or rewrite the test to mock a synthetic missing manifest entry via monkeypatch — but that's a refactor, not a fix; deferred until the placeholder list runs out.

Test plan

🤖 Generated with Claude Code

… placeholder

Trivial test-side debt closure. PR #84 (KR-P2-RUNBOOKS-PANEL)'s
test_get_runbook_content_404_for_unauthored_manifest_entry pinned
dr_runbook as a missing manifest entry — at the time, none of the
kora_docs/* runbooks were vendored. PR #86 (KR-P2-RUNBOOKS-AUTHOR
185bfff) since vendored dr_runbook.md + token_rotation_runbook.md.
Auto-improvement worked exactly as PR #84's body predicted; the
test just went stale.

Swap to kora_dna (kora_docs/00_canonical_current_state/kora_dna.md),
the still-placeholder entry from the same manifest. Kora's DNA
reference doc isn't on a near-term vendoring plan, so the test
should stay valid until substrate-team ships it (at which point
the same swap-to-another-placeholder pattern applies — or rewrite
to mock a synthetic missing entry abstractly).

Verified current disk state matches expectation:
  PRESENT  dr_runbook.md, token_rotation_runbook.md, docs/deploy-fly-io.md
  MISSING  deploy_runbook.md, kora_dna.md  ← test now uses kora_dna

Tests-only change. 151/151 admin-panel suite green (was 150/151
before this fix per PR #95's note).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rafe-walker rafe-walker merged commit f4d4bbb into main May 22, 2026
@rafe-walker rafe-walker deleted the feat/kora-KR-P2-PR84-TEST-FIX branch May 22, 2026 03:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant