feat(pipeline): refresh state, cache bootstrapping, rework triggers, branch discipline (v10.1.0)#191
Merged
Merged
Conversation
…branch discipline Cycle-close refresh state (deliver-flow 1.4 -> 1.5): - new `refresh` state after publish: regenerate docs/state.md living spec from the current tests, summarize carry-over cache files to ~1000 words, regenerate docstrings across the whole source surface then strip all .py - optional publish on stakeholder approval (approved -> publish, declined -> refresh); refresh always closes the cycle Cache bootstrapping (lazy, per-state): - new .templates/cache/interview-notes.md.template (funnel skeleton) - interview-general bootstraps .cache/<session_id>/interview-notes.md from the template if absent, mirroring the model-data-schema journal precedent Interview-implied rework as a second trigger source: - interview-building-blocks flags findings that modify existing blocks - author-test-stubs and write-test-py read both trigger sources (journal build-escalation + interview flags) -> @pytest.mark.pending Branch discipline mechanized end-to-end: - contract surface committed to dev at plan (simulate-contracts) - build cuts feature/<session_id> off dev at entry (select-build-target) - deliver squash-merges + deletes the branch (merge-to-dev); no dangling - feature/<session_id> threads the existing session id; one per build cycle AGENTS.md binding constraints sharpened: - dispatched agent never transitions / skips / holds the todo - todo-first as a hard constraint; two-hats model documented Docstring lifecycle simplified to conceptual bullets (script is the mechanical substitute; PYI021 covers stubs in lint). Bumps version 10.0.0 -> 10.1.0.
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.
Summary
Bundles the pipeline-flow improvements (Topics A/B/C), branch-discipline mechanization, AGENTS.md constraint sharpening, and a minor version bump 10.0.0 → 10.1.0.
Cycle-close refresh state (deliver-flow 1.4 → 1.5)
refreshstate afterpublish: regeneratedocs/state.mdliving spec from current tests, summarize carry-over cache files to ~1000 words, regenerate docstrings across the whole source surface then strip all.py.approved → publish,declined → refresh); refresh always closes the cycle.Cache bootstrapping (lazy, per-state)
.templates/cache/interview-notes.md.template(funnel skeleton);interview-generalbootstraps.cache/<session_id>/interview-notes.mdfrom it if absent.Interview-implied rework (second trigger source)
interview-building-blocksflags findings that modify existing blocks;author-test-stubs+write-test-pyread both trigger sources (journal build-escalation + interview flags) →@pytest.mark.pending.Branch discipline (mechanized end-to-end)
devat plan (simulate-contracts); build cutsfeature/<session_id>offdevat entry (select-build-target); deliver squash-merges + deletes the branch (merge-to-dev). One feature branch per build cycle.AGENTS.md
Verification
task validate-flows— 6/6 flows validtask lint(ruff check .) — clean