Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Pulse v6 Canonical Development Protocol
This is the canonical development protocol for the active v6 release profile.
The evergreen Pulse control plane now lives in docs/release-control/.
This protocol exists to make the repo constrained instead of interpretive. Future work should be difficult to do in the wrong shape.
Core Rule
Each important concern in Pulse v6 must have:
- one canonical truth
- one obvious extension path
- explicit forbidden paths
- completion obligations when that truth changes
- at least one executable guardrail where practical
If a subsystem does not satisfy those five properties, it is drift-prone.
V6 Modernization Invariants
Every governed v6 slice inherits these rules, including lanes that already exist:
- identify the canonical v6 model for the surface before changing it
- route through unified resources when that is the canonical shape
- prefer canonical shared types, APIs, and paths over lane-local variants
- remove or isolate legacy host-era terminology, adapters, and compatibility shims from primary runtime paths, and retire newly superseded or clearly obsolete internal paths instead of leaving shadow implementations behind
- update subsystem ownership, path policies, and proof routing when runtime ownership moves
- record any unavoidable modernization residual explicitly instead of treating local improvement on a legacy path as lane completion
These rules are retrospective. When an existing lane is touched, reviewed, or reopened, judge it against the same modernization bar as new lane work rather than assuming earlier work closed it permanently. If a superseded or obsolete internal path remains in the primary governed surface, that is drift. Retire it or record the exception.
Required Operating Files
For v6 work, agents must treat these startup files as the execution entry point:
docs/release-control/AGENT_VALUES.mddocs/release-control/CONTROL_PLANE.mddocs/release-control/control_plane.jsondocs/release-control/v6/internal/SOURCE_OF_TRUTH.mddocs/release-control/v6/internal/CANONICAL_DEVELOPMENT_PROTOCOL.md
Use derived startup commands before escalating into the heavier machine control files:
python3 scripts/release_control/control_plane.py --agent-entrypoint --prettypython3 scripts/release_control/agent_preflight.py --prettypython3 scripts/release_control/status_audit.py --prettypython3 scripts/release_control/status_lookup.py --lane <LANE_ID> --prettypython3 scripts/release_control/status_lookup.py --assertion <ASSERTION_ID> --prettypython3 scripts/release_control/status_lookup.py --release-gate <GATE_ID> --prettypython3 scripts/release_control/status_lookup.py --followup <FOLLOWUP_ID> --prettypython3 scripts/release_control/status_lookup.py --work-claim <CLAIM_ID> --prettypython3 scripts/release_control/work_claim.py --kind ... --id ... --summary ... --agent-id ... --prettypython3 scripts/release_control/subsystem_lookup.py <path> [<path> ...] --pretty
Escalate into these raw machine files only when the current task genuinely needs their full detail:
docs/release-control/v6/internal/status.jsondocs/release-control/v6/status.schema.jsondocs/release-control/v6/internal/subsystems/registry.jsondocs/release-control/v6/internal/subsystems/registry.schema.json- the relevant subsystem contract in
docs/release-control/v6/internal/subsystems/
The startup files answer values, active target, profile selection, release
priority, and stable operating rules.
AGENT_VALUES.md is the values-only layer: it should stay small and
principle-led, and prompt-like guidance should stay close to that layer rather
than restating the detailed operating manual.
python3 scripts/release_control/control_plane.py --agent-entrypoint --pretty
is the executable way to print this ordered guidance bundle when discovery or
repo entrypoint is not obvious.
python3 scripts/release_control/agent_preflight.py --pretty is the first
machine check after the control-plane bundle; it keeps the branch and target
check visible before any mutation.
After reserving a governed claim, rerun
python3 scripts/release_control/agent_preflight.py --require-active-claim --agent-id <AGENT_ID>
to verify that the claim is actually persisted before editing.
That bundle should stay command-first: use status_audit.py --pretty and the
status_lookup.py selectors to answer current-state questions before opening
raw status.json or registry.json.
python3 scripts/release_control/work_claim.py --kind ... --id ... --summary ... --agent-id ... --write
is the executable way to reserve a governed work claim once the slice is
chosen.
In normal user-facing work, that resolution should stay quiet unless it
materially changes the plan, the scope boundary, or the blocker story.
CONTROL_PLANE.md and control_plane.json own the evergreen governance model
and the active target.
scripts/release_control/control_plane_audit.py --check is the stale-target
guard for that evergreen layer.
SOURCE_OF_TRUTH.md owns profile-specific governance, scope, locked decisions,
and the readiness-assertion design rules.
status.json owns live lane state, lane-to-subsystem ownership, lane
completion records, the active readiness assertion catalog, readiness
derivation rules, executable proof commands, structured evidence references,
typed lane/subsystem decision records, active work claims, and the canonical machine-readable
workspace repo catalog.
Lane completion.state, its evidence and typed residuals describe the tracked
work. A bounded-residual lane remains distinct from complete. Neither state
approves an RC or stable/GA promotion while phase-blocking readiness assertions,
open_decisions, or release_gates remain.
When the agent starts from a sibling repo or the shared workspace root, these
same files are still authoritative; resolve them from pulse/docs/release-control/v6/
rather than recreating release control in the current repo.
Use python3 scripts/release_control/status_audit.py --pretty for the current
machine-derived repo/governance, rc_ready, and release_ready summary. Use
docs/release-control/v6/internal/HIGH_RISK_RELEASE_VERIFICATION_MATRIX.md as the
human runbook for clearing the manual high-risk gates represented in
status.json.release_gates.
Use python3 scripts/release_control/status_lookup.py for id-scoped lane,
assertion, release-gate, followup, and work-claim views instead of printing
the whole status audit when only one governed surface matters.
status.schema.json owns the machine-readable status contract.
subsystems/registry.schema.json owns the machine-readable subsystem registry
contract, including explicit shared-runtime ownership declarations for
intentionally multi-owner files.
The protocol, subsystem registry, and subsystem contracts answer how work must
be done.
Readiness assertions are not a parallel checklist. They are the release truths
written on top of those governed subsystem surfaces; status.json.readiness_assertions
declares the active assertion catalog, proof references, and executable proof
commands, while this protocol and SOURCE_OF_TRUTH.md define how that layer
must behave.
If the agent still needs repeated detailed prompt instruction to follow this
system, that is a governance-system gap to fix here, not a reason to keep
growing prompt prose.
Likewise, if the agent keeps narrating setup or governance plumbing instead of
using it quietly, that is a behavior-layer gap to fix here rather than a cue
to accept process-diary output as normal.
scripts/release_control/status_audit.py --check is the machine audit entry
point for validating live lane evidence references, readiness assertion proof
linkage, typed decision records, and derived evidence health. It also enforces
canonical list ordering inside status.json so repo scope, lanes, readiness
assertions, evidence references, and decision timelines do not drift into
noisy, hand-arranged variants.
Release gates with typed closure contracts are fail-closed: a raw passed
status cannot become effective until the audit verifies complete subject
coverage, required record evidence at the gate's minimum tier, and any
contract-specific consistency rules. Prose-only closure is never sufficient
for such a gate.
scripts/release_control/registry_audit.py --check is the machine audit entry
point for validating subsystem ownership, proof routing, registry lane
bindings, canonical ordering for unordered registry lists, and path-policy
reachability under first-match precedence.
scripts/release_control/contract_audit.py --check is the machine audit entry
point for validating structured contract metadata, section presence/order,
registry/status linkage, explicit cross-subsystem dependency declarations, and
canonical path references and shared-boundary declarations inside subsystem
contracts.
Subsystem Contracts
Each major subsystem contract must define:
Contract MetadataPurposeCanonical FilesShared BoundariesExtension PointsForbidden PathsCompletion ObligationsCurrent State
Current required subsystem contracts:
docs/release-control/v6/internal/subsystems/alerts.mddocs/release-control/v6/internal/subsystems/api-contracts.mddocs/release-control/v6/internal/subsystems/cloud-paid.mddocs/release-control/v6/internal/subsystems/frontend-primitives.mddocs/release-control/v6/internal/subsystems/monitoring.mddocs/release-control/v6/internal/subsystems/organization-settings.mddocs/release-control/v6/internal/subsystems/patrol-intelligence.mddocs/release-control/v6/internal/subsystems/performance-and-scalability.mddocs/release-control/v6/internal/subsystems/security-privacy.mddocs/release-control/v6/internal/subsystems/unified-resources.md
If a major subsystem is refactored and does not have one of these files, the work is incomplete.
The machine-readable ownership map for those subsystem contracts lives in
docs/release-control/v6/internal/subsystems/registry.json.
Each contract must also carry structured metadata that binds the markdown file
to its registry subsystem id, owning lane in status.json, and exact declared
cross-subsystem dependencies implied by its canonical-file and extension-point
references.
If a runtime file is intentionally owned by multiple subsystems, that overlap
must be declared explicitly in registry.json and mirrored in the contract's
Shared Boundaries section; accidental overlap is not an allowed registry
state. Shared-boundary entries must use the exact registry-derived sentence
shape rather than freeform wording.
Frontend Browser Verification Gate
Every change with a user-visible effect in frontend-modern must be exercised
in the current built application before it can be committed or described as
complete. Unit tests, DOM assertions, accessibility snapshots, type checking,
and successful builds remain required where applicable, but none of them prove
that the rendered result is visible, usable, aligned, unclipped, and coherent.
The verification pass must be task-specific and must:
- list the changed route or routes
- inspect actual pixels at a normal desktop width and a supported narrow width
- exercise every applicable changed state, including default, open, closed, selected, disabled, empty, loading, error, and persisted/reloaded states
- exercise the deepest changed interaction rather than stopping at its parent container
- cover applicable pointer, outside-click, Escape, keyboard-focus, dismissal, and cross-control behavior
- explicitly inspect placement, clipping, stacking, scrolling, and focus return for menus, popovers, nested overlays, dialogs, drawers, and tooltips
- repeat the affected matrix after any code change made in response to the browser pass
A control that exists in the DOM but is clipped, obscured, visually disabled, misaligned, off-screen, or otherwise unusable fails this gate. Known browser defects in the changed journey remain part of the current task and block the commit unless the user explicitly narrows the requested scope.
The durable proof boundary is one receipt file per commit under
frontend-modern/browser-verification/. Every commit that changes
user-visible source under frontend-modern/src/ or the frontend HTML entry
must add its own receipt there with:
base_sha, equal to the parent revision whose current build was exercised- the exact changed user-visible frontend source paths and SHA-256 digests of their final staged content
- the verified routes
- at least one desktop and one narrow viewport
- the states inspected
- the interactions exercised
- a UTC verification timestamp and
result: "passed"
The receipt's file name is fixed by what it verified, not chosen: the first 16
hexadecimal characters of the SHA-256 of its content_sha256 map, serialized
as compact JSON with sorted keys, followed by .json. A commit records exactly
one receipt and never edits another commit's.
Receipts are separate files because a shared one made every pair of open
frontend pull requests conflict. Until 2026-10-03 each frontend commit rewrote
frontend-modern/browser-verification.json, so the first pull request to merge
left every other one conflicting, and each conflict cost a rebuild on the new
main and a fresh browser pass. Files that are only ever added cannot collide.
The shared file is retired and deleted. The guard refuses a staged tree or a
range tip that carries it, so resolving a merge by keeping the file cannot
bring it back. Range mode still accepts it as evidence from a commit that
modified it, because that commit was verified while its own parent still
carried the file. A pull request that still rewrites it is repaired by merging
main and removing the file with git rm, not by a rebuild.
scripts/release_control/browser_verification_guard.py enforces the receipt
against the staged index locally and against the final integration range in
canonical governance CI. Canonical contract completion remains checked per commit. A stale receipt, later source edit, incomplete path coverage,
missing responsive viewport, or omitted state/interaction evidence is a hard failure. After
staging the intended frontend paths, agents may write a non-passing receipt
skeleton to the path the staged content requires with
python3 scripts/release_control/browser_verification_guard.py --write-template,
or print it with --print-template, which also names that path. Editing a
staged frontend file afterwards changes the fingerprint, so the receipt must be
re-verified and moved to the new name.
Concluding a merge stages everything the other parent brought. The
staged-index guard does not count content a merged parent already carries as
the commit's own change, so merging current main into a branch needs no
receipt for the frontend work main brought and cannot be asked to vouch for
it. A merge commit may not record a receipt. Frontend content that differs from
every parent, a conflict resolution or two edits git combined, can be
committed, but it has had no browser pass: verify it and record its receipt in
a follow-up commit, which range mode requires. Because receipts no longer
conflict, two open pull requests that edit different parts of one frontend
file can both merge; range mode evaluates the merged result on the pull
request when its check runs and again on the push to main, where combined
content that no receipt verified fails.
A receipt is read from the commit that recorded it, so once that commit is on
main its file is dead weight.
python3 scripts/release_control/browser_verification_guard.py --prune
deletes every receipt already on origin/main. A change that records a
receipt must not delete one: git reads a deleted receipt beside a newly added
one as a rename, and that rename conflicts with any other change that deletes
the same receipt. Pruning therefore lands only in changes that record no
receipt, and the guard enforces that per commit in both modes.
An integration range that merges reviewed work onto a main that has moved is
validated with --base <range-base> --commit <range-tip>. The tip of such a
range is normally a merge, and the range carries several independently
verified changes, so no single receipt can name the tip's parent or the whole
cumulative delta. Range mode instead requires every changed user-visible
frontend file's content at the tip to equal a content_sha256 digest recorded
by a valid receipt in a non-merge commit inside the range, where that receipt
is validated exactly as the per-commit guard validates it at its own commit:
bound to that commit's parent and to that commit's tree. Receipts written by
merge commits are never evidence, because a conflict resolution has no browser
run behind it. Content that changed after its browser pass, including a
correction commit, a conflict resolution, or two changes to one file, needs a
fresh receipt for the final content in its own non-merge commit. CI uses this
same range mode so an additive receipt correction can retain reviewed commit
identities. An invalid historical receipt contributes no coverage; a later
valid receipt must still bind its own parent and the exact final content. An
unavailable range base fails closed rather than narrowing browser coverage.
A source diff that is byte-for-byte the locked Prettier output of its parent has no rendered behavior or visual delta and does not require a new browser receipt. The exemption fails closed when the formatter is unavailable or the formatted output differs by even one token. Canonical Governance must install the lockfile-pinned frontend formatter before evaluating changed commits so a clean runner applies the same deterministic exemption as the commit-time guard; its guard tests must run with that formatter present rather than skip.
Reporter Test Image Validation Path
When a reviewed fix needs live confirmation from one or a few Docker-based reporters, use an immutable reporter test image by default instead of cutting an RC solely to obtain that narrow evidence. This is a diagnostic source-build path. It is not a release channel, a lighter RC, or an alternate promotion mechanism.
The canonical operational contract lives in
docs/release-control/v6/internal/RELEASE_PROMOTION_POLICY.md. Every reporter
test image must satisfy these agent-facing rules:
- bind the image to one exact reviewed repository commit and one named issue
- build only trusted project code in an isolated builder that cannot expose workspace secrets, signing material, production data, or unrelated Docker workloads
- publish a new immutable tag shaped as
test-<issue>-<short-sha>and record the registry digest, never overwrite or reuse the tag - stamp source, revision, and an explicit test-build version identity so the runtime cannot be mistaken for a released stable or RC build
- target the reporter's required platform, with multi-architecture publication only when the validation cohort actually needs it
- pass the targeted regression proof plus a clean-container start, health, and version smoke before the image is offered
- provide the exact tag and digest, focused validation steps, diagnostic-build warning, backup guidance, rollback image, and failure-evidence request in the approved reporter reply
- keep the issue open until the named user-visible behavior is confirmed or conservatively superseded by another active issue
- treat reporter confirmation as narrow live evidence for that issue and environment, never as release qualification or prerelease lineage
- fix failed images forward under new commit-derived tags and never mutate an already shared artifact
This path must not create a GitHub release or git tag, update release notes or update feeds, publish Helm, move Docker aliases, update the demo, stage or promote private paid artifacts, or satisfy any RC or stable release gate. A real RC, stable, or patch release still enters once through the canonical single-build release workflow and rebuilds the release artifact under its governed version and qualification contract.
Use the full RC path when the intended cohort is broad, several independent reporters or platforms need validation, or the proof depends on installers, updaters, Helm, private artifacts, cross-repo compatibility, migrations, destructive state changes, authentication or another trust boundary, or stable-promotion lineage. When classification is uncertain, choose the RC path.
Successful reporter validation does not force a release. The fix ships in
the next candidate the release train cuts from main, or sooner through an
early cut. After a stable release
containing the fix ships and the issue is resolved, the test image becomes
eligible for removal only with explicit maintainer approval. Its tag must
never be reused.
Task Completion Protocol
Every substantial task must finish by checking these questions:
- Did I change a canonical contract? If yes: update the relevant subsystem contract.
- Did I change live lane state, lane completion records, coverage-gap records, readiness derivation rules, readiness assertion proof routes, evidence references, or typed operational decision records?
If yes: update
status.json. This includeslane_followupswhen a bounded residual becomes concrete enough to name directly without making it a blocker. It also includescoverage_gapswhen the current lane map no longer models a durable product surface cleanly enough. It also includescandidate_laneswhen the intended lane split, lane addition, or lane expansion shape is clear enough to name explicitly. - Did I change stable governance, scope, evergreen readiness assertions, or lock a new architectural/release decision?
If yes: update
SOURCE_OF_TRUTH.md. - Did I replace an old path with a new canonical path, or did this slice uncover clearly obsolete legacy-primary code in the governed surface? If yes: retire the superseded or obsolete implementation, docs, fixtures, and helpers in the same slice unless a named boundary-only exception still needs them, and add or tighten a guardrail so the old path cannot silently return.
- Did I add a new extension point? If yes: record exactly where future work must attach to it.
- Did I leave compatibility code in runtime paths? If yes: either remove it now or explicitly classify it as a boundary-only exception and verify that the remaining supported boundary still works without the retired internal path.
- Did the user state a durable product truth or change the current priority? If yes: classify it as a readiness assertion, release gate, open decision, or active-target update and record it in the owning control file instead of leaving it as chat. Treat casual phrases about consistency, seamlessness, drift, bypass resistance, or things that "should always be true" as candidate governance input, not only explicit requests to update the control system.
- Did the user casually raise a new quality bar or product invariant? If yes: before ending the task, either normalize it into the control plane or explain clearly why existing governance already covers it. 8a. Am I about to narrate canonical setup that the user does not need? If the information does not materially change the next action, blocker state, or scope boundary, keep it internal and continue the work.
- Did I learn that the current lane map is hiding a durable product surface?
If yes: record a
coverage_gapsentry with evidence, an explicit coverage scope evidence, and the intended promotion path instead of burying the discovery inside generic residual text. When the intended destination is already clear, also add or update the matchingcandidate_lanesrecord so the lane-expansion plan is typed, machine-readable, and pointed at the owning control-plane target. Everycandidate_lanesrecord must carrydemand_evidence: dated pointers to the demand signals that justify the lane (issue, discussion, support-thread, or telemetry references, or a demand-ledger entry inpulse-pro/FEATURE_REQUESTS.md), or an explicitnamed-bet: <rationale>entry when the lane is maintainer-originated with no external signal yet.status_audit.pyrejects records without it; a named bet is legitimate, an unlabelled hunch is not. Once a lane-shaping gap (new-lane,lane-split, orlane-expansion) has a typedcandidate_lanesrecord, move thatcoverage_gapsentry toplanned; do not mark such a gapplannedbefore the matchingcandidate_lanesrecord exists.target-updatecoverage gaps must stay out ofcandidate_lanes. - Am I stopping because the lane is actually coherent, or only because the
first passing check landed?
If the result still has obvious same-lane gaps that make it feel partial,
fragile, or not realistically shippable, continue the slice or record the
remaining blocker/open decision before stopping.
10b. Am I iterating on a baseline that is not good enough?
If a customer-facing surface is still prototype-grade, confusing, or
obviously below the intended product bar, do not keep refining the same
shape. Step back to the owning product model, IA, trust boundary, or
architecture first.
10a. Am I treating support work like product progress?
Guardrail-only proof routing, contract wording, registry cleanup, and
audit/test ratchets can support a lane, but they do not count as
substantive lane movement by themselves.
If the lane state is being advanced in
status.json, the same slice should normally also change an owned runtime or product surface for that lane unless the remaining lane gap is explicitly governance-only. 10aa. Am I treating evidence counts as the task instead of checking the actual remaining behavior and its proof? 10ab. Have I checked real browser truth for a customer-facing surface? For customer-facing UI, code-level proof is not enough. Complete the Frontend Browser Verification Gate against the current build, exercise the deepest changed interaction and adjacent states, inspect desktop and narrow pixels, and stage a fresh browser-verification receipt before treating the work as progress, improvement, or done. They are not the work item by themselves unless the remaining gap is explicitly governance-only. For ordinary lane work, identify the runtime, product, ownership, or behavior-coherence gap first, then prove that gap is closed. 10ab. Did I check this lane against the canonical v6 model rather than only the local path it already had? Confirm whether the surface should now run through unified resources, canonical shared types and APIs, explicit subsystem ownership, or retired legacy terminology and shims. If the lane still depends on a pre-v6-primary path, do not stop at local cleanup; modernize it or record the remaining modernization gap explicitly. 10ac. Am I preserving legacy internals when only boundary compatibility is justified? Legacy support is allowed only for explicit boundaries such as migrations, upgrades, imports, external contracts, or wire compatibility that still genuinely exist. If I am improving an old internal path just to keep it alive alongside the canonical v6 path, that is drift. Retire it in full or record the exception explicitly as boundary-only compatibility, with proof that the supported boundary still works without the rest of the legacy path, rather than treating it as normal lane progress. The same rule applies when I merely discover clearly obsolete old-way code while working nearby; finding it is enough to make its retirement part of the governed cleanup story. - Is the remaining work still part of this lane? If not, stop cleanly and normalize it into the next target, another lane, or an explicit open decision instead of letting this task expand forever.
- If I am recording a bounded residual, do the tracking references point to
the same lane and stay genuinely unresolved?
Pair lane
statusandcompletion.statecoherently:completegoes withtarget-met,bounded-residualgoes withpartial, andopenmust not be paired withtarget-met.not-startedandblockedremainopen, rather than residual or complete states.partialdescribes evidenced work that is still incomplete. Blocked lanes must declare typed same-lane blocker references to unresolved readiness assertions, release gates, or open decisions.completion.trackingis only for bounded residuals; if the lane is stillopenor alreadycomplete, leave that list empty until the lane reaches its current floor and the remaining work becomes a governed residual. Do not keep a lane inbounded-residualby pointing at already-passed assertions, cleared release gates, or completed targets. Bounded residual tracking must use a lane followup, readiness assertion, release gate, or open decision rather than a broad target reference. Treatlane_followupsas active residual records rather than loose backlog notes: each one should stay referenced by the owning lane'sbounded-residualcompletion.tracking. Once a lane followup is no longer active residual work, remove it fromlane_followupsinstead of leaving it behind with a completed status.
This is the minimum update set for canonical work:
- implementation
- verification
- contract update
- guardrail/ratchet update when an old path is retired
This minimum update set is a floor.
It does not mean the task should stop at the first minimally valid patch when
the next obvious same-lane work is still required for a coherent outcome.
When a lane reaches its current target but still has intentionally bounded
residual work, the same slice must record that residual in
status.json.lanes[*].completion with a short rationale and explicit tracking
references to the governing lane followup, readiness assertion, release gate,
or open decision that owns the follow-up.
When feature work fits an existing lane, reopen that lane's completion state
instead of pretending the map is still complete.
Existing lanes are not grandfathered out of the modernization rules.
If a previously touched lane still relies on a non-canonical v6 path, lower
its claimed completeness and continue from the canonical model rather than
treating the earlier local improvement as sufficient.
Do not preserve legacy-primary internal flows under the label of
compatibility. Legacy support belongs at explicit boundaries only; when the
primary internal mechanism is still old-path-first, the lane remains
incomplete unless that exception is explicitly governed.
Within an active claimed lane, prefer the largest coherent same-surface slice
that still has one proof story.
Do not break one modernization or canonicalization arc into many tiny residue
commits unless there is a real risk boundary, concept boundary, or proof
boundary that makes the split necessary.
When feature work does not fit any existing lane cleanly, record a
coverage_gaps entry so the lane map itself can evolve.
When the durable future lane shape is clear, express that promotion path in
status.json.candidate_lanes instead of leaving it only in prose.
Before starting governed work in a multi-agent session, record a lease-style
status.json.work_claims entry for the governed item you are taking and do
not pick an item that already has an active claim.
Once the slice is chosen, record that claim immediately before deeper
investigation, targeted test execution, or code changes on that slice.
Prefer scripts/release_control/work_claim.py for that reservation flow
rather than hand-editing status.json.
Support-only slices are not exempt from this rule: claim the owning lane or
the narrower governed item they unblock, and say in the claim summary why the
plumbing is necessary for that governed surface.
Checkout isolation and landing follow the repository's current branch policy.
When isolation is needed, use the available Git worktree tools and reserve the
governed slice with the same public work_claim.py command in the checkout
where the work will run. An uncommitted claim in another checkout is not
transferred by Git worktree creation.
If you are continuing straight from one governed slice to another, replace the old claim with the new claim in the same status.json edit so the live claim
set never passes through a temporary unclaimed window.
If you are stopping without finishing the lane, record the remaining same-lane
residual in status.json.lanes[*].completion, status.json.lane_followups,
status.json.coverage_gaps, or another owning governed surface before you replace or release the claim.
Treat a broad lane claim as blocking narrower same-lane blocker or follow-up
claims until that broad claim is released or expires.
Keep declared completion, unresolved coverage gaps and proposed work distinct.
status_audit.py --pretty exposes these records and their evidence without
grading completion or assigning priority from proxy counts. Choose work from
current user direction and the actual product, runtime and ownership evidence.
For lane expansion, candidate_lane_options lists scope and demand evidence in
stable identifier order. This order does not recommend one option over another.
The audit also derives available_candidate_lane_options,
active-versus-expired work_claims, and claim-conflict records so agents have
an executable "do not overlap" surface instead of only prose.
Those claim surfaces reduce logical overlap.
For lane followups, readiness assertions, release gates, and open decisions,
those tracking references must also reference the same lane; unrelated
governance objects are not valid residual placeholders.
This protocol is enforced locally at commit time by the canonical completion
guard in scripts/release_control/canonical_completion_guard.py and by the
governance guardrail tests in internal/repoctl.
Local pre-commit governance checks must evaluate staged v6 control-file content
rather than unstaged working-tree noise.
Executable readiness assertion proofs must also follow the active target phase
from docs/release-control/control_plane.json; repo-ready proof runs alone are
not sufficient once the active target advances to an RC or GA promotion phase.
Local pre-commit must also reject any unstaged working-tree edits for
hook-sensitive governance files under docs/release-control/v6/,
scripts/release_control/, internal/repoctl/, .husky/pre-commit, and
.github/workflows/canonical-governance.yml, because those local checks still
execute or structurally read the working-tree versions. Partial staging is one
instance of this broader prohibition.
Local formatter steps must also stay scoped to staged files so the hook does not
mutate unrelated dirty worktree state.
When formatting staged Go files, the formatter must operate on staged blobs in
the git index rather than rewriting the whole repo or restaging whole files.
Formatters must run before any staged-content audit that hashes or otherwise
binds evidence to exact bytes, including the browser verification guard.
For runtime changes that alter a declared subsystem contract, the same commit must include:
- the matching subsystem contract update
- any dependent subsystem contract whose
Canonical Files,Shared Boundaries, orExtension Pointsexplicitly reference a touched runtime path - a matching verification artifact: a registered proof that already exercises each touched runtime file, or a staged update to one
A staged contract file only counts when its diff changes a substantive contract section. Update the owning statement of current behavior, responsibility, shared boundary, extension point, invariant or unresolved gap. Replace superseded text rather than appending another account of the task. Metadata-only edits do not qualify.
Subsystem contracts describe the current system. Test output, pass counts, browser receipts, benchmark runs and implementation chronology belong in the existing verification artifacts or commit and delivery history. Keep one authoritative rule at its boundary owner and use a scoped reference from its consumers. Do not add a receipt paragraph or change an unrelated test merely to satisfy the staged-file shape.
The completion guard infers affected contracts from paths. It cannot determine whether an implementation changes their meaning. When a change is contract neutral, use the established explicit declaration with a concrete reason:
PULSE_ALLOW_CONTRACT_NEUTRAL_COMMIT='<reason>' git commit ...
The prepare-commit-msg hook records the reason as a Contract-Neutral trailer.
Canonical governance CI reads that trailer and applies the same declaration to
the completion guard for the candidate commit. This avoids artificial contract
and verification-artifact diffs. It does not waive execution of appropriate
checks, current-source browser verification, ownership, security or release
gates. A real contract change still requires the owning and dependent contract
updates and meaningful verification above.
Verification artifacts are subsystem-specific. The allowed proof classes are
defined in docs/release-control/v6/internal/subsystems/registry.json and may include
explicit guardrail files, contract tests, benchmark/SLO/query-plan artifacts,
approved test-prefix matches, or non-test contract/type files. An arbitrary
test elsewhere in the same subsystem is never proof on its own: the registry
audit keeps allow_same_subsystem_tests false, because it would accept any
test the subsystem owns rather than the ones a path policy names.
A registered proof counts without being edited when it already exercises the
touched runtime file in the tree being judged (the index before a commit, the
commit itself in CI): a Go test compiled with or importing the file's package,
a TypeScript or JavaScript test importing the module, a Python test importing
it, or, for docs, workflows, scripts and data files, a test naming the file's
path. Reading a code file's source as text (readFileSync, Vite ?raw) is
not coverage, and a type-only import does not run the module. CI's test jobs
run the proof, so an existing covering test is the verification. Only a change
no registered proof exercises needs a staged proof, so do not add a source-text
assertion to a proof file to satisfy the guard; make a proof import and test
the file instead. subsystem_lookup.py --pretty names the covering proofs.
For changes to a declared contract, cross-subsystem dependencies are not
advisory. If a touched runtime path is named in another subsystem contract's
Canonical Files, Shared Boundaries, or Extension Points, include the
dependent contract update in the same slice. The completion guard requires it
by default, subject to the explicit contract neutral declaration above.
status.json evidence references must use repo-qualified relative paths.
Absolute machine-local paths are forbidden.
When a subsystem defines ordered path_policies, each touched runtime file must
satisfy the first matching proof policy for that file. The v6 registry requires
explicit path-policy coverage for every governed subsystem, and default
subsystem verification is no longer a supported governed path. New owned
runtime files must therefore be added to a concrete proof route instead of
inheriting subsystem-default verification. For the same reason the registry
audit requires each subsystem's default test_prefixes and exact_files to
stay empty: a proof listed there is never consulted, so it belongs on the path
policy whose runtime files it proves.
Guardrails
Canonical architecture is not considered real until the repo can enforce it.
Preferred guardrail types:
- code standards tests that ban deprecated paths
- contract tests that lock payload/wire shapes
- query-plan and performance tests for hot paths
- parity tests during migrations
- drift tests for generated or embedded artifacts
Documentation alone is not sufficient when a rule can be made executable.
The canonical completion guard is the default repo-level enforcement point for subsystem contract updates and proof-of-change verification updates. That enforcement must run both in local hooks and in CI; bypassable local-only governance is not sufficient.
How To Extend Pulse
Before adding new behavior, the author must answer:
- Which subsystem contract owns this change?
- Which canonical files are allowed to carry the truth?
- Which extension point should be used?
- Which paths are forbidden for this kind of change?
- Which tests or guardrails must change with it?
If those answers are not obvious in under a minute, the subsystem still needs architectural hardening.
Use python3 scripts/release_control/subsystem_lookup.py <path> [<path> ...] --pretty --lean
to ask the repo which subsystem, contract, proof route, exact contract-focus
lines, and compact lane context apply to a file set before editing.
Omit --lean only when the full decision, release-gate, or status-summary
payload is materially needed.
Boundary Rule
Compatibility is allowed only at explicit boundaries:
- migration loaders
- persisted upgrade readers
- temporary API translation layers with a removal plan
Compatibility is not allowed to become the runtime source of truth.
Expected End State
Pulse v6 should be:
- canonical by default
- extension-oriented instead of patch-oriented
- enforced by tests and guardrails
- obvious for both humans and agents to continue correctly
Inherited merge content
Staged qualification compares each file’s Git mode and object ID with the merged parents. Exact inherited states, including deletions, keep their parent qualification. New resolutions and mode changes remain current work and must satisfy their owning contract and proof requirements. Range checks still qualify the complete proposed change. Combined frontend content needs a fresh browser receipt in a subsequent non-merge commit.