Upgrading to 7.0.0¶
This page says how to move a project from Compass 6.x to 7.0.0. Each section is one change: what breaks, what changes and what to do. The decision records are in architecture/decisions/. To go on to 9.0.0, read docs/upgrade-9-0-0.md.
Do these steps for every upgrade to 7.0.0:
- Update the Compass plugin in every checkout. Do not run a 6.x CLI on a 7.0.0 tree.
- Copy
.compass/workanddocs/compassto a folder outside the project. - Replace each removed spelling in your scripts, notes and CI (the first section).
- Run
compass issue migrate, read the list, then runcompass issue migrate --apply --i-have-a-copy. - Run
compass issue render --all --dry-run, thencompass issue render --all. - Run
compass policy lint, andcompass checkon each open issue.
The released spellings end, and the old readers stay until 9.0.0¶
7.0.0 removes the command spellings that 6.0.0 renamed. The readers for old words, old approach names, copied 5.x governance and .compass/config.yml (when compass.yml is absent) stay until 9.0.0. The decision is governance/decisions/2026-10-25-legacy-readers-readable-until-9-0-0.md.
What is removed¶
Each old spelling exits 2 with the parser's usual error. The error names no new spelling, except for issue dashboard and issue labels sync.
| Old | New |
|---|---|
approach summary |
approach show |
issue set-status |
issue status set, or issue status remove for active |
policy review-rules |
review-rule list |
issue dashboard |
issue render |
issue artifact |
issue artifact set |
migrate |
issue migrate |
issue subtask update |
issue subtask set |
run --stage build |
run --stage implement |
issue labels sync |
issue github sync |
What is kept until 9.0.0¶
- Old words in a manifest, a policy or a flag, such as the stage mode
fulland the sizestandard.compass policy migrate --wordsrewrites a project'scompass.yml. - Old approach names.
- Copied 5.x governance and the generated views
governance/routing-policy.ymlandgovernance/guardrails.yml. .compass/config.yml, whencompass.ymlis absent.compass policy migratemoves its settings intocompass.yml.
What to do¶
- Copy
.compass/workanddocs/compassto a folder outside the project. Then replace each removed spelling in your scripts, notes and CI. - Run
compass policy migrate --wordsandcompass policy migratebefore 9.0.0. 9.0.0 has neither command.
Artifact status and decisions taken¶
Stage commands write the status of each registered document. A document that is not accepted does not ship. The decision is architecture/decisions/ADR-050-artifact-status-is-written-by-stage-exits-and-by-a-persons-approval.md.
What changes¶
- Stage commands write status.
compass issue artifact setwith a path,compass issue subtask add,compass tdd-red,compass acceptance record,compass gate passon averifygate andcompass ship-commitmove thedraftdocuments of earlier stages. A document with no human check becomesapproved. A document with a human check becomesawaiting-approval. approved_bynames a person or a command, such ascompass tdd-red.approved_atholds the time.- A person approves with
compass evidence approve --artifact <kind>. It needs a terminal and refuses the approveragent. It writes anartifact-approvalrecord. That is not ahuman-approvalrecord, so it never clears the sign-off of guardrailG5. compass issue artifact set --status approvedrefuses a document with a human check.- A changed file moves an approved document back to
draftwhen it is registered again. compass issue artifact setrecords the document's digest on every registration. The stale-document refusals stay behind the capabilityartifact-freshness.- A re-assessment keeps a written document as
supersededwhen the new approach no longer registers it. compass ship-commitrefuses an unapproved document. The blocking checkartifacts-approvedfails on a document that readsdraftorawaiting-approval, and on one omitted with no reason. Write the document, or omit it withcompass issue artifact set <kind> --status omitted --reason "<why>".compass quick-fix finishapproves the quick fix's document aftercompass checkpasses.- A project artifact with no
stageis owned by ship. Addstage: <stage>to its catalog entry to have an earlier stage approve it. compass issue migratesettles the status of done issues. Eachdraftorawaiting-approvaldocument becomesapproved(close reasoncompleted) orsuperseded(not-plannedorduplicate), with the reason "migrated from a 6.0.0 record". Open issues are left as they are.- A decision an agent took for the person is shown at the next checkpoint.
compass issue decision add(and--from-ledger) records it indecisions_taken. Onbalancedandcontrolledautonomy,compass nextwaits until a person confirms the set withcompass evidence approve --decisionsor reopens one withcompass issue decision set. Onautonomousit lists the decisions and does not wait. The confirmation is anartifact-approvalrecord. - The retro's
--decisionsflag reports the share confirmed, changed and never confirmed. 9.0.0 removed the retro (ADR-093).
What to do¶
- Copy the two folders and run
compass issue migrate, as the steps at the top of this page say. - Open issues gain the
artifacts-approvedcheck at their nextcompass approach evaluate --write.
Rendered blocks and the issue page¶
Compass writes the status, ticks and counts in an issue's documents from the manifest and the evidence. compass check fails a document that disagrees with them. Each issue gets an issue page, a quick fix gets a verification note, and the project gets an index. The decision is architecture/decisions/ADR-051-rendered-blocks-are-derived-in-place-and-checked.md. The facts are in docs/rendered-blocks.md.
What is removed¶
- The verb
compass issue dashboard renderand its alias. It exits 2 with the parse error and one line:'issue dashboard' is now 'issue render'. - The check
dashboard-current.rendered-blocks-currentreplaces it.compass checkreports the removed check in a stored generation, or in a copied 5.6.0 governance folder, as "nothing to check" and runs the replacement. - The reminder to run the old verb. The documents are rendered after each command that changes a record.
- The generated
README.mdbeside the manifest in.compass/work/<issue>/. Migration keeps each one asREADME.md.v6.bak. The issue page isdocs/compass/<created>-<issue>/README.md.
What changes¶
- Ticks move from the page to the manifest. The Definition of Done is the
verifyexit list and the Definition of Ready is theplanentry list. A box ticked by hand counts for nothing. A record meets an item: compass gate pass ... --meets CHECKandcompass evidence add ... --meets CHECKmeet an item with evidence of an accepted type.compass evidence approve --check <item>records a person's tick. It needs a terminal.compass follow-up add FU-ID --defers CHECK --summary TEXTcarries an item to a follow-up.dod-evidence-typedis implementation 2.0.0 and reads these records. A closed issue whose verification report has no Definition of Done heading and nododblock reads "nothing to check".- Cross-issue blocks are advisory: the
relatedblock, the governance lines ofdecisionsand the index row never failrendered-blocks-current. - A stale block drawn from the issue's own records fails at
verify,shipand done. Before that it is advisory. The fix iscompass issue render. compass ship-commitrenders the done state before it commits.compass quick-fix finishwrites the verification note.dod-every-scenario-passes,dod-suite-greenanddod-coverage-floorname the report sections "Scenario acceptance results" and "Test suite evidence", not§1and§2. A stored generation keeps its wording.
What compass issue migrate does¶
compass issue migrate is a dry run. --apply writes, and needs --i-have-a-copy where git could not restore an issue folder (see Copy first below). It only adds lines and records:
- It inserts an empty
dodmarker pair after the Definition of Done section of the verification report. - It writes
meets,defersandpage_ticksrecords from the boxes of that section. A ticked box becomes a page tick. A page tick counts as met on the page and is never a person's approval forG5. A tag that names an unknown id, or evidence of a type the list does not accept, writes no record: the item stays open and the report names it. - It writes an empty verification note for each quick fix closed as completed.
- It renames each generated
README.mdbeside a manifest toREADME.md.v6.bak, byte for byte. AREADME.mdyou wrote is not touched. - It pins the stored generation of an issue that records an implementation major this CLI lacks (
dod-evidence-typed1.x), so the check runs. When the next generation folder holds a file that a generation commit does not write, the issue is not pinned and the report names the file. - It reports a verification report with no Definition of Done heading. That report gets no marker and no record.
It prints the items it could not record on every run. A second --apply changes no file.
What to do¶
- Do steps 2, 4 and 5 at the top of this page.
- Record each open item the migration printed, with the commands above.
- To go back, restore both folders from the copy.
New verbs, flags and keys¶
compass issue render [--issue SLUG] [--all] [--dry-run]rewrites the rendered blocks, the issue page and the project index.compass follow-up add FU-ID [--defers CHECK] --summary TEXT [--target SLUG]records a follow-up.rendered-blocks-currentis a check inG4.evidence[].meets,follow_ups[].defersandpage_ticksare the manifest records that meet an item. Only migration writespage_ticks.<!-- compass:render KIND -->starts a block Compass writes. Do not edit between the markers.
The artifact catalog, the delivery-approach record and the archive¶
The artifact catalog describes each document: who writes it, who reads it, its traditional name and its sections. The delivery-approach record is in the documents folder on every approach. Each assessed value carries a justification. A review round is a file of its own. compass issue migrate moves and renames the archive's documents to match. The decisions are ADR-053 to ADR-056 in architecture/decisions/. The facts are in docs/artifact-catalog.md.
What breaks¶
- An added artifact kind needs five more fields. A project that declares a kind the shipped default does not declare stops resolving with
M-ADD-PARTIAL. The entry needsstage,owner,audience,stands_forandsectionsbesidefile. There is no flag and no alias. compass approach evaluate --writerefuses a value with no justification. A new or changed value of risk, familiarity, size, goal, role or urgency needs--justify DIM=TEXT. An unchanged assessment, and an archived issue with nojustificationskey, are not refused.compass quick-fix start --goaland--roleneed a reason:--goal VALUE - REASON. Leave the flag out and the dimension is recorded as not assessed.compass issue artifact set --pathrefuses a path outside the kind's home,docs/compass/<created>-<issue>/<file>.- The spike conclusion's flag is
--next-issue:compass issue artifact set spike-conclusion --decision graduate-to-delivery --next-issue <slug>. It has no alias. - The migrate renames and moves documents. Review rounds become
review-<n>.md, the delivery-approach record moves into the documents folder, and a one-subtask stub map becomesdistribution-map.md.v6.bak. Change each script or note that names an old filename. - The migrate removes the compatibility pointer. A
pre-tool.shhook installed before 5.0.0 then blocks every edit. Update the plugin before you migrate. - Two new blocking checks can fail a new issue at
verify. Both reportnothing to checkon an issue stored before they existed, on a closed issue, and when the document is not registered. The shipped preset places neither on a gate, a stage or an artifact. The rules are ingovernance/guardrails.md. nfr-rows-resolvedfails when a row of the spec's Non-functional requirements table names no scenario and gives no reason.contracts-declaredfails when a changed file is a trigger path and the design's Data and interfaces section declares no contract. To add trigger paths, set the wholetrigger_pathslist in the project layer. Removing or replacing an entry needs a project waiver where the check is placed.- A heading carries no number. Templates and section lists name headings without
1.or4a.. A numbered document written earlier is still read.
What changes¶
compass issue template show <kind>prints a skeleton built from the catalog, at--depth lightweightorthorough. It opens with adocument-headerblock.- Four sections are new: Non-functional requirements (the spec), and Data and interfaces, Verification plan and Risks and dependencies (the design). The role block
How each role reads this fileis gone from every template. - Two new block kinds:
document-headeropens every document written from a template.dependencieslists the design'sdepends_onentries. - The
coverageblock gains a Kind column when the technical design has a## Verification planheading. It shows the planned kind of test:unit,integration,acceptance,judged reviewormanual, elsenot plannedorunknown (<word>).compass issue lintprints a note for an unknown kind. compass quick-fix startrenders the record, withdocument-header,assessmentandpolicy-rulesblocks. The**Approach:**line is gone.- The delivery-approach record is in the documents folder on every approach. The hooks still find a record beside the manifest.
- The distribution map is owed from two subtasks. With fewer,
compass checkdoes not judge it. - Review rounds are
review-<n>.md, registered under the kindreviewwith around.compass issue artifact setandcompass issue artifact-pathtake--round. The default is the latest round. - A spike owes its delivery-approach record and its conclusion.
compass issue artifact set spike-conclusion --decision <discard|graduate-to-delivery|defer>also writes the evidence record thatspike-conclusion-presentreads. - Six new kinds:
architecture-notes,bug-report,positioning,product-owner-review,reviewandspike-conclusion. - Six new block kinds:
assessment,policy-rules,stage-weights,gate-set,plan-exitandbreakdown-exit. compass issue lintreports a file in the documents folder whose name matches no kind. It does not change the exit code. A name on the not-an-artifact list, such asdevlog.md, is not reported.
What compass issue migrate does¶
For each issue, in this order:
- It plans every move first. Two plain review files that claim one round stop that issue. It is left byte for byte, and the report names it.
- It keeps the generated page as a backup, renames the filenames earlier releases retired and brings the manifest keys up to date.
- It re-points a registered
designtotechnical-designandprdtointent, and keeps each entry's id, status and path. It removes therecommendationentry and leaves its file. - It gives an entry registered under a review filename the round its file becomes. Where that round is already registered, the two entries become one. The merged entry keeps the later approval and its id, and the report names what was kept and dropped. Two entries whose files both exist are not merged: the pair is left as it is, entries and files, until a person settles it.
- It registers each document before it moves it. A review round is renamed
review-<n>.md: a plainreview-<n>keeps its number, a barereviewis round 1 when that is free, and the other review names take the next free numbers. A file whose kind is already registered at another file that exists is left where it is, and the report names both. - It rewrites each manifest path that named a moved file.
- It removes the compatibility pointer beside the manifest when the registered record exists.
- It renames a lightweight distribution map on an issue with fewer than two subtasks to
distribution-map.md.v6.bak, and marks its entrysuperseded. It leaves a map that names two or more subtasks, declaresunits: 1, was never registered, or has a path outside the project. - It reports a name the mapping table does not know as unmapped. It leaves a name on the not-an-artifact list.
Then the steps of the rendered-blocks section run.
The dry run lists each change and the totals, and writes nothing. A dry run after --apply reports what a second --apply would do: nothing, on a migrated archive. A document in both places, beside the manifest and in docs/compass, is an item for you until you delete one copy. A migrate stopped part way finishes on the next --apply.
Copy first. --apply renames files in docs/compass/ as well as .compass/work/.
- Without
--i-have-a-copy, the check judges each issue folder under both. It needs every file in it that the migrate can change committed and unchanged. A staged file, or a committed file edited since, does not count. - The check refuses in one refusal, naming each root it cannot restore, with a count and the first five folders. It also refuses a root whose real path is outside the git repository, and a git call that fails. Outside a git repository it passes.
- The copy command the refusal names,
cp -RH, follows a root that is a symbolic link. - To undo an apply with git, run
git reset --hard, thengit clean -fd -- .compass/work docs/compass.git cleanremoves every untracked file in those folders, including a file you wrote and never committed. Rungit clean -n -d -- .compass/work docs/compassfirst: it lists what would be removed and removes nothing. - Renames and moves keep the bytes. The migrate removes only each pointer, the one
recommendationentry, and a registry entry that merges into another. Each is in your copy.
What to do¶
- Copy both folders to a folder outside the project:
.compass/workanddocs/compass. - Run
compass issue migrateand read the per-issue lines and the totals. The totals alone do not show a wrong round number. - Run
compass issue migrate --apply --i-have-a-copy. Its totals must equal the dry run's. - Run
compass issue linton every issue. No file should be reported outside the issues step 3 named. - Run
compass issue render --all --dry-run, thencompass issue render --all. - To go back, restore both folders from the copy, together.
New flags and keys¶
| Name | Where | Meaning |
|---|---|---|
owner, audience, stands_for, sections |
an artifact in the catalog | Who writes the document, who reads it, its traditional name, and its headings per depth |
required_when: {subtasks: {min: N}} |
an artifact in the catalog | The document is owed only with at least N subtasks |
every_approach: true |
an artifact in the catalog | Every approach owes the document |
<n> in file |
an artifact in the catalog | The kind repeats, one file per round |
justifications |
manifest.yml, beside assessment |
One line per assessed dimension |
round |
an artifact entry in manifest.yml |
The round of a kind that repeats |
Checkpoint outcomes and usage¶
Compass records what happened at each stage hand-off and what each issue cost. The decision is architecture/decisions/ADR-063-checkpoint-outcomes-and-session-usage-are-stored-and-the-autonomy-and-cost-figures-are-derived.md. docs/checkpoints.md owns the facts that 9.0.0 kept. 9.0.0 removed the session record, the usage record, the retro and the cost section of compass issue diagnose (ADR-093).
What changes¶
- A person's answer to a hand-off is a record.
compass evidence approve --checkpoint <stage>writes acheckpoint-approvalrecord and awaitedoutcome. It never clears the sign-off of guardrailG5or a human check. - An agent records a hand-off that autonomy passed with
compass issue checkpoint add <stage> --outcome skipped --by <agent>. compass ship-commitrefuses an unanswered listed checkpoint with the codecheckpoint-no-outcome. An issue assessed before this change is never refused.- The pre-tool hook records each session in
usage.sessions. Every issue folder gains an empty.manifest.lockfile. compass ship-commitrecords usage on every approach but the quick fix. It keeps numbers only. Above 1 GiB of transcript it reads none and records the reasontoo-large.- The retro's
--impactview gains four rows. With--jsonit prints one object. compass issue diagnosegains a Checkpoints and cost section.
What to do¶
- Nothing for issues already assessed.
- Answer each listed hand-off of a new issue with
compass evidence approve --checkpoint <stage>at a terminal before you ship it. - Add
.manifest.lockto the.gitignoreof a project that tracks its issue folders.
Repository readiness and autonomous work¶
A project on autonomy: autonomous must meet the readiness floor before an issue can be assessed. The decision is architecture/decisions/ADR-058-the-readiness-floor-caps-autonomous-work.md. 9.0.0 removed the floor, the readiness verb and its page (ADR-093).
What breaks¶
compass approach evaluate --write exits 2 and writes nothing for an autonomous project that:
- is below the readiness floor. The message names each absent readiness signal and the change that makes it present.
- has no fresh readiness record. The message says whether the record is missing, stale or unreadable.
- is run by an untrusted CI contribution. No setting changes this.
What changes¶
- The floor is four required signals:
agent-instructions-present,build-declared-and-succeeds,tests-declared-and-under-two-minutesandlint-declared-and-clean. - The
readinessverb measures the repository against eleven readiness signals and writes.compass/readiness.yml. Its--fix-listlists the absent ones with the change for each. - The readiness record is per checkout and never committed. Add
/.compass/readiness.ymlto.gitignore. It goes stale when the settings file changes, when a signal's implementation version changes, after seven days, or once HEAD is more than 25 commits past the commit it measured. - The verb runs a project command only when
allow_project_commands: trueis set and the contribution is trusted. Each command runs in a clean checkout of HEAD, in a temporary worktree. The test command must pass within two minutes. - Six optional project keys in
compass.yml:project.lint_command,project.format_check_command,project.build_command,project.typecheck_command,project.secret_scanandproject.structured_logging. - The floor is not a guardrail. No gate, routing rule or
compass checkresult names a readiness signal.
Who is never refused¶
balanced and controlled are never refused:
- a project on
balancedorcontrolled; - a project with no settings file, because
autonomydefaults tobalanced; - an issue whose own
config:setsautonomy: balancedorcontrolled.
What to do¶
On an autonomous project, run the readiness verb. A CI job that assesses autonomous work must run it before assess. If the floor is not met, do one of these, then run the verb again and assess:
- Change
autonomytobalancedorcontrolledincompass.yml. - Make the absent signals present.
--fix-listnames the change for each. For a long suite, set the test signal'scommandparameter totest_micro_commandin a project layer, and declare a micro suite that passes within two minutes. - Set
required_for_autonomous: falseon a readiness signal in a project layer. This needs the owner's waiver in the same entry:
yaml
readiness:
tests-declared-and-under-two-minutes:
set: {required_for_autonomous: false}
waiver:
reason: our suite runs in a merge queue, not before each change
approved_by: <owner>
approved_on: 2026-10-13
The issue page on GitHub¶
Compass can post an issue's README to the linked GitHub issue. The decision is architecture/decisions/ADR-057-derived-views-go-to-github-one-way-behind-a-refusal-check.md. 9.0.0 removed the label sync, the issue page and compass issue github sync (ADR-093). docs/github-links.md owns compass issue link set, which stays.
What is removed¶
- The verb
compass issue labels sync. It exits 2, runs nothing and prints one line:'issue labels sync' is now 'issue github sync'.
What changes¶
compass issue github syncreplaces it. It writes the labels and, whenpageis on, the issue page. It exits non-zero when either failed or was refused.- A new switch,
github_labels.page, is off by default. With it on, Compass posts the issue's README as one comment and, once, the ask into an empty issue body. The readers of the GitHub issue then see the issue's documents. Two checks refuse a post that holds a private path or a credential shape. github-sync.ymlholds two sections. A record written by a 6.x CLI reads as thelabelssection.
What to do¶
- Replace
compass issue labels syncwithcompass issue github syncin your scripts, notes and CI. - Leave
pageoff unless the readers of your GitHub issues may see your issue documents. To turn it on, setgithub_labels: {page: true}incompass.yml.
New keys¶
| Name | Where | Meaning |
|---|---|---|
checkpoint_outcomes |
manifest.yml |
One outcome, waited or skipped, for each checkpoint stage |
usage.sessions, usage.total, usage.unattributed |
manifest.yml |
The sessions that worked on the issue, and what they cost |
too-large, no-window |
reasons in a usage block |
Transcripts over the read limit, and a stage no record ends |
Guardrail G5 counts only its own sign-off¶
human-approval-present, the check of guardrail G5 ("a human signs off on the irreversible"), counts only a human-approval record given for guardrail G5. The decision is architecture/decisions/ADR-066-an-approval-names-its-subject-and-guardrail-5-counts-only-an-approval-given-for-it.md.
What breaks¶
- An in-flight issue whose only approval names another subject fails. A
human-approvalrecord that holds acheck,waiver,checkpoint,artifactordecisionskey, or aguardrailother than exactlyG5, is set aside. For example,compass evidence approve --check dod-reviewedno longer clears the payments sign-off.
What changes¶
- A person records the sign-off with
compass evidence approve --guardrailand the valueG5. It needs a terminal and refuses the approveragent,--decision rejectedand any guardrail butG5. - A sign-off recorded the earlier way still counts. A
human-approvalrecord with no subject key is a sign-off given for guardrailG5. - A landed issue is reported, never failed.
- The check is version 1.1.0.
compass checkstill judges an issue whose generation recorded 1.0.0.
What to do¶
- Run
compass checkon each open issue that guardrailG5applies to. Wherehuman-approval-presentfails with "no approval was given for guardrailG5", a person runs this before the issue lands:
compass evidence approve --guardrail G5 --approver <name> --role <role> --scope <text>
- Update scripts that write
human-approvalrecords for the sign-off: set theguardrailkey toG5, or write no subject key.
The lightweight intent and the release line¶
A regular issue opens with a short intent, and every issue that ships records one release line for the release notes. The decision is architecture/decisions/ADR-065-regular-issues-owe-an-intent-and-shipping-issues-record-a-release-line.md. docs/release-line.md and docs/release-notes.md own the facts.
What changes¶
- The regular approach owes
intentat depthlightweight, with four headings: Problem, Desired outcome, Success signals and Non-goals.compass ship-commitrefuses a regular issue while the intent is unwritten, through the checkartifacts-approved. - A new approach field,
release_line. Quick fix, regular, hotfix and full set ittrue. The spike has no such field. Setting itfalseneeds a waiver. - A new manifest key,
release_note.compass acceptance record,compass ship-commitandcompass quick-fix finishwrite it with--release-note "<text>". The latest write wins. A blank line is refused, and a line that starts with#is refused withrelease-line-heading. - Every landing refuses an issue that owes a line and has none, with the code
release-line-missing. - The verification report gains a
## Release linesection with the rendered blockrelease-line. - A new verb,
compass release notes --since <ref>, prints the release line of each shipping issue completed after a git reference. It writes nothing.
What to do¶
- Nothing for issues already assessed. An open issue owes an intent and a release line only after
compass approach evaluate --writecommits a generation from the new default. - Give each new shipping issue its line before it lands:
compass ship-commit --issue <slug> --release-note "<text written for a user>", or the same flag onquick-fix finishoracceptance record. - Update agent instructions and scripts that run a quick fix to
compass quick-fix finish -m "<message>" --release-note "<one sentence for a user>" --no-commit -- <test command>. - If
compass.ymlhas replaced a shipping approach (an entry withreplace: true), add the new fields to that entry. Without themcompass policy lintfails the entry withC-LOOSENING. A project waiver on the entry is the alternative (docs/policy-lint.md).
| Replaced entry | Needs |
|---|---|
| regular | release_line: true and intent: lightweight or deeper |
| full | release_line: true and intent: thorough |
| quick fix, hotfix | release_line: true |
yaml
approaches:
regular:
replace: true
release_line: true
artifacts: {intent: lightweight, acceptance-criteria: thorough, technical-design: thorough, distribution-map: lightweight, verification-report: thorough}
Word limits and low-level designs¶
The catalog gives a document kind a word limit per depth. The full approach gains one low-level design per work unit. The decision is architecture/decisions/ADR-067-word-limits-are-catalogue-obligations-and-a-low-level-design-is-one-document-per-work-unit.md. docs/artifact-catalog.md owns the facts.
What breaks¶
- A new blocking check,
design-within-word-ceiling, can fail an issue after plan. It fails a technical design over 1.5 times its limit: 6,000 words at thorough and 1,800 at lightweight. It sits in no gate, and an issue waiver can make it advisory. compass policy migratereports an unedited copy of the 5.x governance files asincomparable. This is expected. The migrate is not blocked.
What changes¶
- A new catalog field,
word_ceiling, a map from depth to a number of words. The default is 4,000 (thorough) and 1,200 (lightweight) fortechnical-design, and 5,000 and 1,500 foracceptance-criteria. A layer that changes a shipped kind's limit needs a waiver. - A word is a whitespace-separated token of the visible text. Rendered block interiors, marker lines and HTML comments do not count.
compass issue lintprints two new notes: a registered document over its limit, and a work unit of the full approach with no registered low-level design.- A new kind,
low-level-design, with the filelow-level-design/<unit>.md, where a unit isUand a whole number from 1. No approach owes it. compass issue artifact setandcompass issue artifact-pathtake--unit U<n>.artifact-pathwith no--unitrefuses when two or more units are registered.scripts/measure-artifact-catalogue.py --design-size --jsonreports the median design size per approach on a copy of an archive.
What to do¶
- Nothing for issues already assessed. An issue adopts the word limits at its next
compass approach evaluate --write. - On the full approach, write
low-level-design/U<n>.mdfor each unit at plan and register it withcompass issue artifact set low-level-design --unit U<n> --status draft --path <file>. - Keep a thorough technical design within 4,000 words.
compass issue lintnotes a design over 4,000, andcompass checkrefuses one over 6,000.
Role is not an assessment dimension¶
The assessment no longer reads a role. The decision is architecture/decisions/ADR-070-role-is-not-an-assessment-dimension-and-documents-on-disk-bring-the-claims-gate-and-the-intent-block.md. governance/routing-policy.md owns the rules. 9.0.0 removed the role entry points and the role templates (ADR-093).
What breaks¶
- The shipped default has no
roledimension, no role rules and no role default. RP-ROLE-001, RP-ROLE-002 and RP-SROLE-001 are gone.governance/routing-policy.ymlmoves to version 3.0.0.retired_rulesingovernance/legacy-views.ymllists each retired rule id and its replacement. - The full approach no longer carries
verify.claims. An issue owes the gate only when it has apositioning.md. - A
compass.ymlthat edits a retired entry is refused: aset,replaceorremoveofdimensions.role,rules.role_rulesorrules.role_defaults. - A project rule, check or gate whose
whenreadsrolefailscompass policy lintwithM-WHEN-RETIRED. A check or gate whosewhenreadsartifacts_anyfails withM-WHEN-DOCUMENTS. compass policy migrateblocks on a copied role rule the project edited, withM-RETIRED.- The bias that was RP-BIAS-003 is now RP-BIAS-002. A
compass.ymlthat edited one of the two ids now edits a different bias text.
What changes¶
- Two artifact rules replace the role rules. They read the issue's documents on disk with the condition
artifacts_any: - RP-ART-001: with
positioning.md, the issue gainsverify.claims, oweslaunch-readiness.md, and the ship stage is blocked until every claim traces to a passing scenario. - RP-ART-002: with
intent.md, the plan stage is blocked until the spec is checked against it. - A recorded role is not read.
compass issue migratelists each recordedassessment.roleand leaves it in place. - An issue with a stored 6.x generation keeps its role rules until it is re-assessed. A project on copied 6.x governance keeps them until it runs
compass policy migrate. - An issue with no stored generation, in a project with a
compass.yml, takes the new default at once. --justify role=andcompass quick-fix start --roleare accepted and ignored until 9.0.0. Each prints a notice on standard error.- A landing refuses an artifact rule the approach does not hold, with
artifact-rule-not-applied. This happens when a document such aspositioning.mdis written after assess. Runcompass approach evaluate --issue <slug> --write.
What to do¶
- Check the open issues that have no
generation:key. An issue that relied on a product-owner or marketer role needs itsintent.mdorpositioning.mdon disk, and a re-assessment. - Stop passing
--justify role=and--role. - If
compass policy lintreportsM-WHEN-RETIRED, key the rule on a document withartifacts_any: [<kind>], or on a label. Key a check or gate on a label. - If a merge or
compass policy migratenames a retired rule, make the same edit to its replacement (RP-ART-001 or RP-ART-002) incompass.yml. - On an issue already assessed, re-assess after you write
positioning.md.
Approving inside Claude Code, and delegated approvals¶
A person approves or rejects by typing /compass:approve or /compass:reject in the Claude Code session. A person can also let one named agent approve for them, for at most 24 hours and a stated scope. The decisions are architecture/decisions/ADR-068-a-person-approves-inside-claude-code-through-an-event-the-model-cannot-raise.md and architecture/decisions/ADR-069-a-person-can-delegate-approvals-to-a-named-agent-for-a-stated-time-and-scope.md.
What breaks¶
compass evidence add --type human-approvalis refused. The refusal names the three approval paths.- An in-flight issue whose only guardrail
G5sign-off is withdrawn fails.human-approval-presentis version 1.2.0 and skips a record that anapproval-withdrawalnames. - The plugin registers two new hooks:
hooks/prompt-approval.shonUserPromptExpansionandhooks/approval-summary.shonUserPromptSubmit. A Claude Code version withoutUserPromptExpansionfalls back to the terminal command.
What changes¶
- The agent asks and the person answers. The agent runs
compass evidence request. Compass shows the request at the end of the turn. The person types/compass:approveor/compass:reject <reason>, and the record holdsvia: prompt. compass evidence approveat a terminal still works. Its records holdvia: terminal.- A rejected document stays in draft until its file changes.
- Delegation.
/compass:delegate <agent> until <time>lets one named agent approve withcompass evidence approve ... --delegated --as <agent>.g5is covered only when typed, after the person types back a code shown to them./compass:revokeends it. The person sees a summary of each delegated approval, and/compass:reject <record id>overrules one.
What to do¶
- Update the Compass plugin, so the new hooks and commands are registered.
- Put
owner: <your id>incompass.yml, or setCOMPASS_APPROVERbefore you start Claude Code. The prompt hook names the approver from them. - Replace scripts that ran
compass evidence add --type human-approvalwithcompass evidence requestand the person's/compass:approve, orcompass evidence approveat a terminal.
New keys¶
| Name | Where | Meaning |
|---|---|---|
via |
an approval record | prompt, terminal or delegation |
approval-withdrawal |
an evidence type | Withdraws a delegated guardrail G5 sign-off |
.compass/delegations/DL-<n>.yml |
a file | One delegation |
approval-requests/ |
the issue's folder under .compass/work/ |
Pending and closed requests |
Shell writes through a variable, and tee, cp and mv targets¶
The pre-tool hook reads more exactly which files a Bash command writes. docs/safety-contract.md describes the behavior, under "Shell-write detection is best-effort".
What breaks¶
The hook now refuses these Bash writes to production code when no failing test is on record:
| Shape | Example |
|---|---|
cp or mv whose target is not the last word of the line |
sudo cp a.ts src/app.ts, (cp a.ts src/app.ts), cp a.ts src/app.ts 2>&1, cp a.ts src/app.ts; echo done |
| a quoted target | echo x > "src/app.ts", tee 'src/app.ts' |
| a path spelled to look outside the project | /tmp/../<project>/src/app.ts, //<project>/src/app.ts, a path that differs only in letter case |
a write inside a substitution, after >\|, or split by a line continuation |
x=$(cp a.ts src/app.ts), echo x >\| src/app.ts |
| a destination after a substitution that holds a quoted bracket | cp "$(echo '(')" src/app.ts |
a test or .compass/ directory named before a .. after an unknown part |
echo x > $X/../tests/../src/app.ts, echo x > $X/../.compass/notes.ts |
A test file name, such as $X/../src/test_app.ts, and a document are still exempt.
What is newly allowed¶
| Shape | Example |
|---|---|
| a temporary file named through a variable the command sets | S=/tmp/scratch && cat > $S/plant.ts |
the input of tee |
node src/cmp.ts \| tee out.txt is not a write to src/cmp.ts |
a file read after cp or mv |
cp a b && grep x src/app.ts is not a write to src/app.ts |
| a path that resolves outside the project, or to a test or a document | <project>/../elsewhere/app.ts, src/../tests/test_app.ts |
A variable whose value the command does not state for certain is judged inside the project, as before.
What to do¶
Nothing. A command that is now refused needs a failing test on record, as an Edit of the same file does.
Rewriting your configuration in the 6.0.0 words¶
compass policy migrate --words rewrites a project's compass.yml, a team preset and its policy-test fixtures in the 6.0.0 words. 9.0.0 removed the command (ADR-094).
What breaks¶
Nothing. The command writes only when you pass --apply.
What changes¶
compass policy migrate --words [DIR]rewritescompass.ymland the fixtures undercompass-fixtures/. A word changes only in the field that holds it. Comments, order and quoting stay.- Without
--applyit prints a diff and writes nothing. --applyrefuses a write git cannot undo: an uncommitted file, or a project in no git repository, unless you pass--i-have-a-copy. It writes every file or none.- A condition that reads
roleis listed, not rewritten. The command exits 1 until you change it.
What to do¶
- Commit your configuration, then run
compass policy migrate --wordsand read the diff. - Run
compass policy migrate --words --apply. - If it lists a hand edit, key the rule on a document with
artifacts_any, or on a label. - For a team preset in another repository, run the same two commands there, then the preset test.
Guardrail 5 triggers on the irreversible labels¶
Guardrail 5 (G5) asks for a person's sign-off only when an issue carries auth, payments, personal-data or migrations. Critical risk on its own no longer asks for one. The decision is governance/decisions/2026-10-12-guardrail-5-triggers-on-the-irreversible-labels.md.
What breaks¶
- A critical-risk issue with none of the four labels ships without a sign-off.
compass checkreportsG5as not applicable for it.
What changes¶
- The trigger.
G5'swhenin the default preset islabels_any: [auth, payments, personal-data, migrations].governance/guardrails.ymlmoves to version 1.33.0. - Assess names the labels. When risk is critical and the trigger does not match,
compass approach evaluateadds a line under "Pay attention to". - Stored issues keep their trigger until they are re-assessed. A project that copied
governance/keeps its trigger, andcompass policy migratecarries it intocompass.ymlas asetonG5.
What to do¶
- Check open critical-risk issues for a change to auth, payments, personal data or a migration, and add the label to any that are.
- To keep the sign-off on every critical-risk change, add this to
compass.yml. A trigger that drops a label is refused.
yaml
gates:
G5:
set:
when:
any_of:
- labels_any: [auth, payments, personal-data, migrations]
- {risk: critical}
- Run
compass policy lintto check the file.
A copied waived: entry migrates to a LEGACY waiver¶
compass policy migrate keeps the reason a 5.x project recorded under routing_guardrails.waived: in its copied routing policy. 9.0.0 removed the command (ADR-094).
What changes¶
- A removal the copy recorded gets a
LEGACYwaiver, withapproved_by: LEGACYand noapproved_on. Lint reads it as the warningW-LEGACY, so it does not block--apply. - A lock refusal still blocks. Removing a guardrail the framework locks, such as
G1, stays blocked withK-LOCK-REFUSED. - These keep the
UNAPPROVEDstub and still block: an entry that also loosens something no record names, and awaived:entry with noidor a blankreason. - The JSON report's
waiverfield can beLEGACY.
What to do¶
Nothing. To clear the warning, the project's owner replaces LEGACY with an approver's name and adds approved_on.
A waived stage mode holds on a floor-raised approach¶
A floor that raises an issue's approach keeps the issue's lower mode for a stage the floor does not name, when that stage's entry in the issue's config: carries an approved issue waiver. The decision is governance/decisions/2026-10-17-a-waived-stage-mode-holds-on-a-floor-raised-approach.md.
What changes¶
- A generation stored by 6.0.1 for an issue with an approved breakdown waiver reads as
breakdown: skipped. The manifest'sstages:keepsmultiagentuntil the nextcompass approach evaluate --write. - The classifier is version 10. The lint refuses a waived breakdown from
multiagenttoskippedon a floor-raised approach unless the waiver's approval is valid.
What to do¶
Nothing for an issue with no stage waiver. Reassess an issue that has one, so that its manifest records the waived mode.
Design-decision scope, the regular requirements review and the hotfix bug report¶
A project-scoped design decision cannot land without a decision record. A regular issue owes a short requirements review, and a hotfix owes a bug report. The decision is architecture/decisions/ADR-072-a-project-scoped-design-decision-needs-a-record-and-regular-and-hotfix-owe-a-review-and-a-bug-report.md. docs/artifact-catalog.md owns the facts.
What breaks¶
- A landing refuses an open issue whose technical design holds a
Scope: projectdecision that no record inarchitecture/decisions/names, with the codeproject-decision-unrecorded. A decision with noScope:line is not judged. - A new regular issue cannot land until its
requirements-review.mdis approved, and a new hotfix until itsbug-report.mdis approved, through the checkartifacts-approved. - A project with
entry-exit-evaluationon owes the seven Definition of Ready records at plan entry on each new regular issue.compass nextnames each missing one asentry not met:.
What changes¶
- Each design decision of the technical design template has a
Scope:line,issueorproject. A reason can follow, as inScope: Project - later issues follow it. A line such asScope: project and morecounts as unscoped, andcompass issue lintprints a note. - The regular approach owes
requirements-reviewat depthlightweight, with three headings: Self-QA of the spec, Ambiguity ledger and Gate. - The hotfix approach owes
bug-reportat depththorough. It keepsacceptance-criteriaatlightweight. - The routing policy view is version 3.2.0.
What to do¶
- Nothing for issues already assessed. An open issue owes the two documents only after
compass approach evaluate --writecommits a generation from the new default. - Give each design decision a
Scope:line. For aprojectdecision, runcompass adr new <slug>, write the record, and cite its ADR id in the decision's block. - On a regular issue, register the requirements review at refine with
compass issue artifact set requirements-review --status draft --path <file>. On a hotfix, write and registerbug-report.mdat assess.
Renamed names¶
Compass spells its own names in US English from 7.0.0. Each old name below is still read until 9.0.0, and the new name is the one written. The table is checked against the table the CLI reads (old_names: in cli/migrate-map.yml).
| Kind | Old name | New name | Read until |
|---|---|---|---|
| kind | judgement |
judgment |
9.0.0 |
| check | dor-behaviour-is-gwt |
dor-behavior-is-gwt |
9.0.0 |
| skill | behaviour-mapping |
behavior-mapping |
9.0.0 |
| refusal code | not-initialised |
not-initialized |
9.0.0 |
| state key | initialised |
initialized |
9.0.0 |
| readiness key | catalogue_digest |
catalog_digest |
9.0.0 |
| JSON key | behaviour |
behavior |
9.0.0 |
| JSON key | behaviours |
behaviors |
9.0.0 |
| heading | Current Behaviour |
Current Behavior |
9.0.0 |
| heading | Archived Behaviour |
Archived Behavior |
9.0.0 |
| term | catalogue |
catalog |
9.0.0 |
What to do:
- The session-start hook prints only the new refusal code. Change a script or a rule that matches the old code to match
not-initialized. - A script that reads the refusal code or the
behaviourJSON keys should move to the new names before 9.0.0. - A project that names
compass:behaviour-mappingordor-behaviour-is-gwtkeeps working until 9.0.0. - No manifest, state file or readiness record needs a change by hand. A manifest that holds an old name is rewritten on its next save, with a
.v5.bakcopy.
The language setting¶
7.0.0 adds the optional setting language to compass.yml: a BCP 47 tag such as en-US or de. When it is set, the session-start hook tells the agent to write prose in that language. compass policy lint refuses a malformed value. docs/configuration.md has the tag table.
compass policy migrate --undo goes back to the old files¶
compass policy migrate --undo puts a migrated project back as it was before compass policy migrate --apply. 9.0.0 removed the command (ADR-094). The decision is governance/decisions/2026-10-19-the-migration-marker-records-what-an-undo-needs.md.
What changes¶
--undois a dry run until you add--apply.--applyrestores the old settings file, and any deleted governance file, from.compass/legacy/, byte for byte. It removescompass.yml, then.compass/state.ymlwhen the migration made it, then the marker,migration.ymlin.compass..compass/legacy/stays.- The undo refuses, and writes nothing, when it would lose work: a file the migration wrote or kept has changed, a legacy copy is missing or differs, or a signed record exists from after the migration. There is no override.
- The marker holds a
writtendigest for each file the migration wrote, and amigrated_attime.--undorefuses a marker from an earlier run, which has neither, and prints the steps to go back by hand. --undorefuses--words,--i-have-a-copyand a folder argument.
What to do¶
Nothing, unless you want to go back. Run compass policy migrate --undo, read the list, then run compass policy migrate --undo --apply.