Skip to content

v2.1.0

Choose a tag to compare

@taco3064 taco3064 released this 24 Jul 07:18
· 670 commits to main since this release

Minor Changes

  • 003cacc: Drop the "backend boundary" posture from the emitted handbook. The respect-backend core belief and the whole "Data integrity & backend boundary" playbook section (no-fake-fallback, drift-guard-framing, no-fe-workaround, preserve-locale-shape) no longer ship in the presets, the handbook, or the agent contract.

    No API surface changes — PrincipleDef and PlaybookSection are untouched. The preset data is simply nine beliefs and a three-section playbook now (was ten and four). Re-run init to regenerate a handbook and agent contract without the section; a repo that authored its own principles / playbook is unaffected.

  • 7dcbe82: Drop CI scaffolding. Blueprint no longer emits .github/workflows/blueprint-ci.yml, and the emitCi export, the CiOptions type, and the emit.ci config field are removed.

    Verification strategy is the adopter's call — a git hook, GitHub Actions, GitLab CI, whatever you already run. Blueprint still ships the verification commands (inspect --baseline, doctor) that exit non-zero on new findings; wire them into your own gate.

    Migration: remove emit.ci from any blueprint.config.mjs (it is now an unknown key, so init rejects it), and move the two steps the emitted workflow ran — eslint and blueprint inspect --baseline — into your existing pipeline.

    Shipped as a minor by the owner's call: strictly this removes public surface, but that surface existed for days on 2.0.0, nothing in the field ever used it, and a config still carrying emit.ci fails loud with the pointed unknown-key message above — not silently.

  • ab134f4: architecture.module is optional — the playbook's "flat default" is now real (field issue #23): omitting the block, or any of its keys, resolves to { layout: 'flat', entry: 'index' } through one shared reader, and an empty entry still fails loud with the default named as the way out. Validation used to demand module.entry while Method step 5 said plain files take the flat default — the field agent burned two edit-run cycles proving the tool contradicted itself.

Patch Changes

  • ab134f4: Judgment calls agents kept making unaided, now stated where they arise (field issue #23): rules says the fold's message text is yours to write (doctor verifies selectors, never messages); a house rule under a different KEY with the same semantics never collides — keep one gate per semantic; an owns candidate the intent documents never mention is a proposal for the report, not a clause to encode; annotating a bare disable's reason is a comment edit inside the adoption boundary; everything the adoption produced — config, artifacts, both ledgers — is meant to be committed, and initializing VCS is never the agent's call; the CLAUDE.md discipline pointer notes the contract ships inside the package.

  • ab134f4: init's vite alias instruct respects a tsconfig-paths bridge plugin (field issue #25): with vite-tsconfig-paths in the vite config, the tsconfig side init already wires covers the bundler, and doctor's alias check passes that state — init no longer demands a redundant resolve.alias the check never asks for, and the instruct itself names the bridge-plugin escape hatch when it does fire.

    Contract references ship WITH their BLUEPRINT:START/END markers (field issue #26): the reference's header said "init rewrites only between the markers" while the file carried none — the agent probed raw bytes, guessed headings were markers, and the integrated block went permanently stale (a wrong layer flow in CLAUDE.md, invisible to doctor). Pasting the reference verbatim now keeps the block refreshable by any later init; both integration instructs state the trade — keep the markers and init refreshes the block, strip them and the file is yours to update by hand, forever. Also from the same batch (#24–#26): the build-verification artifacts are named as the build's normal output, not adoption leftovers; ongoing enforcement is stated as deliberately unscaffolded (the gate commands are the deliverable, the pipeline is the owner's); linearization prefers the smallest-relaxation position among equally legal ones; a skipped parser block's package is dependency wiring to keep, not waste.

  • ab134f4: Closing-round polish from field issues #27–#28 (zero blockers across four scenarios): the survey's "Same-folder imports via the alias" section always prints — an explicit 0 (none found) instead of a silently absent row the playbook cites; the one-gate-per-semantic rule now spans gate layers (a house import/no-cycle and the inspect-side cycles gate are one semantic — pick one detector); the owns sketch states that repeating the same entry across layers IS the shared-allowance syntax (same-signature entries merge).

  • 049b1fa: The playbook states doctor's leftover criterion — exact file families (the playbook, the command file, *.blueprint.* references, marker-bearing contracts outside emit.agents), never other files whatever their names. Two field runs verified this experimentally by writing a file and re-running doctor (issues #27, #32); the answer now sits in the semantics section instead.

  • 325379e: The anti-bypass guard's files glob scopes to the detected stack's extensions, like the parser blocks — a react repo's guard used to carry .vue, and four field runs trimmed it by hand (field issue #30); an unknown stack keeps the full set, and the glob honors sourceRoot. The guard's comment also states that its position relative to the emitLint spread does not matter (the rule sets never intersect) — the one merge-order doubt agents kept resolving themselves.

  • ab134f4: The merge instruction meets the agent at the point of need (field issues #21–#22): an existing eslint.config.ts gets the TS7016 caveat — importing ./blueprint.config.mjs needs allowJs on the tsconfig covering the config, or a one-line blueprint.config.d.mts; defineConfig([...]) arrays are named spread-equivalent; the generated jsx parser block carries its own skip criterion (dormant on a TS-only repo).

    "Only a real run proves it" now covers the alias wiring (both runs added the build check by hand): the early-exit checklist and the merge step order one build run after init edits tsconfig/vite, stating why — doctor's alias check reads wiring as text, never as a compile. The contract header now says hand-written notes live outside the marker block, the convention an agent had to infer when the generated file became the repo's only CLAUDE.md.

  • ab134f4: An additional alias whose target sits above the source root now really joins the bans (field issue #29): '~root': '.' used to emit ~root/<layer> patterns no real import ever used — the whole ~root leg of every structural ban was a silent no-op, inspect was equally blind to ~root/src/<layer> imports, and a closing report almost claimed a protection that did not exist. Emit and inspect now derive each alias's layer base from one shared helper with the target offset baked in (~root/src/views/**, selector ^~root\u002Fsrc\u002F…), so patterns and findings cannot disagree; an alias into a subfolder has no layer surface and carries no layer bans, and the playbook says so.

  • ab134f4: Playbook verdicts agents had to invent, now stated (field issues #18–#20): the report is a message — the closing reply or the PR description, never a committed file — and the early-exit path says its one-line verdict IS the report; the early-exit wiring step closes by running the project's own lint once (doctor's wired check reads config text and never executes eslint, so a load-time crash sailed through all seven checks); the owns sketch notes pattern: true globs match any import specifier, internal alias paths included; init's preset hint carries --agent, matching the checklist it hands off to.

  • ab134f4: selfOnly re-export selectors encode / as the \u002F regex escape: esquery below 1.7 has no \/ escape in its regex literal, so the emitted selector truncated to a broken pattern and crashed ESLint — and blueprint impact — on every file of the selfOnly importer's layer, wedging doctor's survival check against the lint gate (field issue #19). Doctor's survival red now names both possible causes (a replacing flat-config entry, or a hand-folded copy that drifted from this version's output) and points at rules --json for the exact selectors, instead of asserting a merge collision that may not exist.

    rules (text and --json) carries the exact no-restricted-syntax selector strings a selfOnly merge fold needs, per layer and target: the playbook demands "combine both option sets into ONE entry", and the only source for the selectors used to be an emitLint dump — exactly the bundle archaeology the same playbook forbids (field issue #20).