STRΛTΛ19
Tools

strata19.spec_manage

Everyday tool

What it does

WRITE actions for the specbook: what the project should do (intent, approved by people) plus what the code shows (observed). propose a change, including add_page (any of the 12 canonical template pages) and claim proposals that name their semanticKind (anyone may; nothing changes until a person approves); seed_page scaffolds an intent page; sync_markdown turns hand edits of docs/specs/specbook/*.md into proposals; promote_document turns a PRD or requirements markdown into pending, citing claims (dryRun first); baseline freezes the published revision under a label; publish renders the published pages to docs/specs/specbook/<pageKey>.md. rebase a stale proposal, plan work from the difference between two revisions, read sync/generation status. decide (approve or reject), publish and reject_proposal are HUMAN ONLY. The spec pages written from code (what exists; evidence, not intent) are made with code_map_generate and synced to a git diff with code_map_sync; reviewed sync proposals are applied or rejected with apply_proposal and reject_proposal. Model egress is policy-guarded: secret-shaped files and any model.deny path in the policy file are EXCLUDED from model input (denial reported), other source is redacted of credential-shaped strings, and an unparseable policy refuses everything.

When to use it

Use when: "change this requirement" · "propose adding a criterion" · "create the users-and-personas page" · "I edited the spec markdown, sync it" · "document this codebase" · "the specs are out of date"

Also use when: get_spec_context comes back empty for a repo with real code, or a spec edit needs a proposal, or a spec page is missing and needs to exist

When not to use it

the user only wants to READ specs — use spec_workspace, get_spec_context or spec_view HUMAN ONLY (authority table): action "decide"; action "mark_source_reviewed"; action "approve_rule_batch"; action "decide_binding"; action "publish"; action "decide_incoming_review"; action "apply_proposal"; action "reject_proposal"; action "baseline"; action "restore_spec" when apply is true; action "set_rule_criticality" when criticality is "standard" (lowers a rule's stakes); actions "generate", "code_map_generate", "code_map_sync", "sync" when confirmedTokenBudget is set (spending the person's own model quota, sending source excerpts to the model provider); action "sync_remote" when mode is "push" (sends published revisions to the hosted copy); action "sync_markdown" when the call accepts a re-render (acceptRerender), which replaces a held page file with the accepted text and discards its text. These need a person's gestureToken; assistant calls are refused (requires_human). Ask the person.

Availability

TierEveryday
LifecycleLive
Taught bystrata19-checkpoint, strata19-library-placement, strata19-promote-to-specbook, strata19-write-specs