txtar contract corpus, milestone directories, scaffold-seeded plans - #29
Merged
Conversation
Groomed plan 202608121417: port frontmatter-update's CLI-observable behaviors to txtar cases under e2e/cases/frontmatter-update/, add stubbed + real (echo) macro coverage, then delete the unit file after a coverage cross-check. 3 milestones, 8 SP, cross-review clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ar e2e corpus add core CLI corpus cases Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ar e2e corpus add list-op and macro corpus cases Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ar e2e corpus delete superseded unit file after coverage cross-check Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
refactor: migrate frontmatter-update tests from units to txtar e2e corpus
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Everything on
ref/e2e-frontmatter-plansince the 1.0.0 merge, targeted at the 1.0.1 release branch.Testing infrastructure
booping-python/e2e/: CLI behaviour is pinned as declarative cases (input tree → argv → expected stdout/stderr/exit/output tree) instead of unit tests.just e2e ['-k expr']runs it;pytest e2e --txtar-updaterebaselines. Wired intojust ciand the CI workflow.pytest-txtar(https://github.com/A/pytest-txtar), which now owns the parser, the pytest plugin and the case-format spec.booping-pythonjust depends on it and configures it ine2e/conftest.py.scaffoldis now verified entirely by the corpus —tests/commands/scaffold_test.pyandtests/context/scaffold_test.pyare deleted, their behaviours ported to ~35 corpus cases.close-code-reviewandrefresh-milestone-tablehook scripts.CLI
scaffoldandfrontmatter-updateprint a unified-diff receipt of every file they changed and stay silent on unchanged files, so a rendered prompt can act on the receipt instead of re-reading the file.scaffolddecides per file, not per destination: existing targets are skipped and named,--forceoverwrites only the files the tree names, a partially-populated destination no longer aborts.frontmatter-updatetypes its scalars —sp=23lands as an integer; a string whose plain form would reload as another type keeps its quotes.Plans and milestones
milestones/M{nn}-{kebab}/under the plan dir, holding the milestone file (frontmatter + tasks + DoD + Verify) and any sidecar the sprint writes beside it (feedback.md). The milestone file is the contract handed to a worker by path;index.mdis context only, and its## Milestonestable plus the planspare generated by therefresh-milestone-tablehook.status:is develop's per-instance run state (pending→in-progress→done,blockedoff in-progress). The worker runs## Verifyand makes the repo commit; the runner validates it against the DoD and takes the transitions.core.groom_playbook.scaffoldtree, so a plan carries a realcreatedand the repocommitfrom the moment it exists, and the frontmatter shape lives in config alone. The duplicated plan-frontmatter partials are retired.core.plansconfig key (glob+milestones.glob/table_columns) is the single source for plan and milestone shape.Other
close-code-reviewmishandled an inlinecode_reviewslist.--set.documentation/,docs/plan_templates/, README and CLAUDE.md to follow the milestone files and the corpus.🤖 Generated with Claude Code