Repository navigation
Align test taxonomy fixtures with live legends #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
flyingrobots
merged 4 commits into
main
from
cycles/0037-test-taxonomy-and-fixture-drift
Apr 10, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
4e702a8
test: align taxonomy fixtures with live legends
flyingrobots 0867319
docs: close 0037 test-taxonomy-and-fixture-drift
flyingrobots 2dfd68e
docs: clarify 0037 backlog maintenance
flyingrobots 74b7f8c
test: harden stale legend status assertions
flyingrobots File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
.../design/0037-test-taxonomy-and-fixture-drift/test-taxonomy-and-fixture-drift.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| --- | ||
| title: "Test Taxonomy And Fixture Drift" | ||
| legend: "PROCESS" | ||
| cycle: "0037-test-taxonomy-and-fixture-drift" | ||
| source_backlog: "docs/method/backlog/bad-code/PROCESS_test-taxonomy-and-fixture-drift.md" | ||
| --- | ||
|
|
||
| # Test Taxonomy And Fixture Drift | ||
|
|
||
| Source backlog item: `docs/method/backlog/bad-code/PROCESS_test-taxonomy-and-fixture-drift.md` | ||
| Legend: PROCESS | ||
|
|
||
| ## Sponsors | ||
|
|
||
| - Human: Backlog operator | ||
| - Agent: Implementation agent | ||
|
|
||
| ## Hill | ||
|
|
||
| The committed test suite proves the live METHOD legend taxonomy used by | ||
| this repo, and any remaining non-doctrine fixture is explicitly named as | ||
| a serialization or compatibility case rather than silently looking like | ||
| current process truth. | ||
|
|
||
| ## Playback Questions | ||
|
|
||
| ### Human | ||
|
|
||
| - [ ] Does `method pull` preserve live legends in scaffolded design docs | ||
| instead of carrying obsolete fixture taxonomy? | ||
| - [ ] Does `method status` report legend health using the live repo | ||
| legends rather than stale historical codes? | ||
|
|
||
| ### Agent | ||
|
|
||
| - [ ] Does design-doc frontmatter YAML-escape raw legend scalar | ||
| compatibility text instead of letting it masquerade as live | ||
| taxonomy? | ||
| - [ ] Does `shipSync()` stay idempotent when the closed-cycle fixtures | ||
| use live repo legends instead of stale feature labels? | ||
|
|
||
| ## Accessibility and Assistive Reading | ||
|
|
||
| - Linear truth / reduced-complexity posture: test names and fixture text | ||
| should state whether they are doctrine fixtures or compatibility | ||
| fixtures, so a linear read does not require inferred intent. | ||
| - Non-visual or alternate-reading expectations: avoid relying on | ||
| filename prefix folklore alone; expectations should be readable from | ||
| the test body and the rendered markdown under test. | ||
|
|
||
| ## Localization and Directionality | ||
|
|
||
| - Locale / wording / formatting assumptions: legend codes and frontmatter | ||
| keys remain ASCII tokens; the cleanup should not introduce | ||
| locale-sensitive casing or formatting behavior. | ||
| - Logical direction / layout assumptions: no UI layout changes are in | ||
| scope; this cycle is about deterministic repo text fixtures and their | ||
| semantics. | ||
|
|
||
| ## Agent Inspectability and Explainability | ||
|
|
||
| - What must be explicit and deterministic for agents: whether a fixture | ||
| is meant to reflect current repo taxonomy or a bounded serializer / | ||
| compatibility edge case. | ||
| - What must be attributable, evidenced, or governed: each remaining | ||
| non-doctrine value should be justified by the test title or | ||
| surrounding expectation rather than surviving as unexplained drift. | ||
|
|
||
| ## Non-goals | ||
|
|
||
| - [ ] Expanding the repo's live legend set beyond `PROCESS` and `SYNTH`. | ||
| - [ ] Rewriting historical design or retro documents outside the active | ||
| test suite. | ||
| - [ ] Changing runtime legend parsing rules unless the fixture cleanup | ||
| proves a real code defect. | ||
|
|
||
| ## Backlog Context | ||
|
|
||
| Several tests still seed obsolete legend codes like `PROTO`, `VIZ`, | ||
| `TUI`, and `FEAT`, and they create markdown fixtures that do not follow | ||
| the current frontmatter expectations. The committed docs suite, README, | ||
| and backlog conventions now claim a tighter live taxonomy than the tests | ||
| exercise. | ||
|
|
||
| That makes the suite partially validate an older METHOD than the one the | ||
| repo documents. Fixtures should either reflect the current doctrine or | ||
| be clearly marked as compatibility cases rather than silent drift. |
17 changes: 0 additions & 17 deletions
17
docs/method/backlog/bad-code/PROCESS_test-taxonomy-and-fixture-drift.md
This file was deleted.
Oops, something went wrong.
46 changes: 46 additions & 0 deletions
46
...d/retro/0037-test-taxonomy-and-fixture-drift/test-taxonomy-and-fixture-drift.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| --- | ||
| title: "Test Taxonomy And Fixture Drift" | ||
| cycle: "0037-test-taxonomy-and-fixture-drift" | ||
| design_doc: "docs/design/0037-test-taxonomy-and-fixture-drift/test-taxonomy-and-fixture-drift.md" | ||
| outcome: hill-met | ||
| drift_check: yes | ||
| --- | ||
|
|
||
| # Test Taxonomy And Fixture Drift Retro | ||
|
|
||
| ## Summary | ||
|
|
||
| Updated ordinary test fixtures to use the live repo legends | ||
| (`PROCESS`, `SYNTH`, or none) instead of obsolete `PROTO`, `VIZ`, | ||
| `TUI`, and `FEAT` examples. The remaining odd legend case is now | ||
| explicitly framed as raw scalar compatibility coverage rather than | ||
| silent doctrine drift. | ||
|
|
||
| The cycle also aligned the packet playback questions to concrete test | ||
| descriptions, so close-time drift now reports exact evidence instead of | ||
| generic intent with no matching tests. | ||
|
|
||
| ## Playback Witness | ||
|
|
||
| - See `docs/method/retro/0037-test-taxonomy-and-fixture-drift/witness/verification.md`. | ||
| - Close-time witness captured `npm test` with 183 passing tests and | ||
| reported `No playback-question drift found.` | ||
|
|
||
| ## Drift | ||
|
|
||
| - None recorded at close. | ||
|
|
||
| ## New Debt | ||
|
|
||
| - None recorded. | ||
|
|
||
| ## Cool Ideas | ||
|
|
||
| - None recorded. | ||
|
|
||
| ## Backlog Maintenance | ||
|
|
||
| - Backlog maintenance deferred to regular triage; closure remains valid because the cycle hill was met without requiring repo-wide inbox or graveyard work. | ||
| - [ ] Inbox processed | ||
| - [x] Priorities reviewed | ||
| - [ ] Dead work buried or merged | ||
40 changes: 40 additions & 0 deletions
40
docs/method/retro/0037-test-taxonomy-and-fixture-drift/witness/verification.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| --- | ||
| title: "Verification Witness for Cycle 37" | ||
| --- | ||
|
|
||
| # Verification Witness for Cycle 37 | ||
|
|
||
| This witness proves that `Test Taxonomy And Fixture Drift` now carries the required | ||
| behavior and adheres to the repo invariants. | ||
|
|
||
| ## Test Results | ||
|
|
||
| ```text | ||
|
|
||
| > @flyingrobots/method@1.0.0 test | ||
| > vitest run --config vitest.config.ts | ||
|
|
||
|
|
||
| RUN v4.1.2 . | ||
|
|
||
|
|
||
| Test Files 16 passed (16) | ||
| Tests 183 passed (183) | ||
| Start at 16:37:37 | ||
| Duration 1.17s (transform 1.10s, setup 0ms, import 3.52s, tests 2.70s, environment 1ms) | ||
|
|
||
|
|
||
| ``` | ||
|
|
||
| ## Drift Results | ||
|
|
||
| ```text | ||
| No playback-question drift found. | ||
| Scanned 1 active cycle, 4 playback questions, 196 test descriptions. | ||
| Search basis: exact normalized match in tests/**/*.test.* and tests/**/*.spec.* descriptions. | ||
|
|
||
| ``` | ||
|
|
||
| ## Manual Verification | ||
|
|
||
| - [x] Automated capture completed successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.