Repository navigation
Conversation
Tier L (always-L list: verification semantics + shared contract — the upgrade ownership table became a machine contract between template and adopters). The upgrade path was prose an agent could skim and overclaim (an adopter declared ADR-011 incorporated while its new reference file was missing); the playbook was deleted on install; agent-side skills never re-installed; the stamp was compared against nothing. bocode-upgrade --check/--apply/--verify now diffs .bocode-version mechanically (applied/stale/merged/new-file/delete dispositions, --keep for conscious divergence, report into the adopter's book/changelogs/), bocode:doctor reports staleness, one MANIFEST owns template-vs-project paths for both the sync and the release gate, UPGRADE.md ships with every install and refreshes itself, and skills re-install via --skills-dir joins the verify gate. Verified: no-network selftest green (32 assertions), book:index zero warnings, book:release-check clean, commit subject validated.
Tier M (F1 adds refusal behavior to --apply --skills-dir and needs new tests; F2/F3 ride along in the same functional area) — the follow-up round recorded in the abaedc6 review. F1: installSkills refuses to replace a --skills-dir entry that exists but holds no SKILL.md — a mistyped path can no longer delete unrelated same-named directories. F2: adopterRoot exported from bocode-upgrade and imported by bocode-doctor (dedup). F3: classifyPackage wraps both JSON.parse sites with readable, actionable errors. Verified: selftest green (37 assertions, three new), book:index zero warnings, book:release-check clean, commit subject validated.
Tier M (adds --ff-only refusal behavior and .bocode.json config reading, needs new tests; the consent model lands as ADR-013 — ask vs auto is a decision a reasonable person could make differently). The bocode skill now opens sessions with bocode:doctor -- --strict; .bocode.json (project-owned, optional) declares skillsDir/skillsTool so skill re-install needs no flag, and autoSync sets who pulls the sync trigger: ask (default) or auto. --apply --ff-only refuses BEFORE touching anything when any file needs a human decision (merged / diverged-delete / missing) — automation can never land half a sync, never interrupts a task, and human-decision conflicts always surface to the user. Verified: selftest green (50 assertions, twelve new), book:index zero warnings, book:release-check clean, commit subject validated.
Tier M (guideline change reaching adopters via the sync, but a single functional area — docs only, no code, no new tooling; the distillation decision lands as ADR-014). Learned from OpenSpec (Fission-AI, MIT): its progressive rigor, behavior-first boundary, and brownfield-first stance converge with what this baseline already does (ADR-008/005/006) — recorded as validation, not copied. Two practices distilled: Step-0 acceptance criteria become one-line GIVEN/WHEN/THEN scenarios with Phase 4's coverage running down that list first, and L-tier plans state acceptance as a behavior delta (ADDED/MODIFIED/REMOVED). The living- specs layer, mandatory proposal approval, and OpenSpec's tooling are deliberately not copied, reasons in the ADR. boscope's brief template and the session-side skill wording are aligned with workflow.md. Verified: book:index zero warnings (29 documents), book:release-check clean, commit subject validated.
Tier M (follow-up round on the ADR-014 task, same functional area — the user ordered a deep-verification pass and this is its one finding; docs only, rides the parent CHANGELOG entry). Deep pass over OpenSpec's verify discipline (/opsx:verify): a REMOVED requirement is verified by absence — behavior still present in code is a CRITICAL finding there. Our regression dimension only said 'existing behavior didn't break'; deliberate removals now also check that the behavior is actually gone, in workflow.md, boscope's Phase-4 coverage, the L-plan delta sentence, and ADR-014. Everything else on OpenSpec's remaining surface re-verified as converged or deliberately not copied (onboard ↔ ADOPT.md Step-0 inventory, tasks.md ↔ plan build order, skipped-≠-passed ↔ ADR-011 unverified-explicit, design adherence ↔ Phase-3 gate + review scope item) — evidence in the session record. Verified: book:index zero warnings, book:release-check clean, commit subject validated.
Tier S (single-file ADR addition, rides the parent ADR-014 task and its existing CHANGELOG entry — records the five-step audit outcome). The five-step audit of the distillation itself: requirement questioned (zero-adoption was considered and rejected on the absence-check hole), nothing left to delete (four-copy test passed on the Step-0/Phase-3 pairing precedent), nothing to automate (scenario linting would automate ceremony). Its surviving output: falsification conditions for the two belief-driven weaves — scenarios decaying into slot-filling ceremony, or L-plan deltas restating the impact range, each means that weave is deleted, not defended. Verified: book:index zero warnings, book:release-check clean, commit subject validated.
Tier M (follow-up round 2 on the ADR-014 task, same functional area — guideline semantics reaching adopters via sync, riding the parent CHANGELOG entry). Empirical input: a real OpenSpec change drafted inside a BoCode-adopting project (its tasks cite requirement IDs as verification criteria; its done rule requires every requirement to link test or observation evidence; its brief numbers user-confirmed requirements apart from design choices). The same artifact left the living-specs tree empty with truth still in book architecture snapshots — confirming the living-specs exclusion from actual use. Adopted: stable short IDs on L-delta rows, done-time row-to-evidence links (the plan records intent, it is not evidence), and the user-confirmed vs design-derived distinction in the brief. Verified: book:index zero warnings, book:release-check clean, commit subject validated.
Tier S (wording correction on two files, rides the parent ADR-014 CHANGELOG entry). The ADR claimed the adopter project's empty living-specs tree 'confirms the exclusion from actual use' — but nothing has been archived there yet (the project's own rule: no archive before acceptance), so the empty tree is a stage, not a verdict. Citing an unreached stage as evidence violates our own ADR-011 discipline: unverified conclusions stay explicit. Corrected in ADR-014 and the CHANGELOG: the living-specs exclusion rests on structural reasons; its real test arrives when that change is implemented and archived — the merged tree either stays maintained or rots. The change-local delta specs (seven capability domains) remain the empirical source for the ID/evidence-link rules; they map to L-plan behavior deltas. Verified: book:index zero warnings, book:release-check clean, commit subject validated.
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.
Release of the 8-commit dev batch: the tool-gated upgrade chain (ADR-012/013 — verify-gated sync, consent-gated auto-sync) and the OpenSpec distillation (ADR-014 — scenario acceptance criteria, L-plan behavior deltas with citable IDs and evidence links, removed-behavior absence checks, falsification conditions).
Gates:
book:release-checkclean (ADR-004),check-release-changelog.mjs origin/main devpassed (ADR-007, 19 template-owned changes covered). Merge with Create a merge commit.