Skip to content

Write a governed Vivary record

Use this guide after verified work earns durable context.

Vivary creates or updates exactly one typed record. The transaction uses one complete Task Capsule and one approved plan hash.

Field Value
Goal Preserve one fact earned by real work.
Required input Healthy thin workspace, complete capsule, and typed Markdown source.
Planning authority Validate and propose one record without writing.
Apply authority Write only the exact human-approved plan.
Prohibited action Do not batch records, create packs, or infer approval.
Proof Doctor passes and Tropo reads the record.

Use the published launchers from the guide library. The environment must provide vivary-core, vivary-tropo, and create-vivary 0.4.2. Do not use the pinned 0.3.1 command for this procedure.

Record verified work, decisions, evidence, gates, or module truth. Do not record guesses, plans without evidence, or starter content.

Select one supported record folder:

  • modules
  • changes
  • decisions
  • verification
  • gates

Use the capsule from Get bounded context. The file must contain the complete governed JSON result.

Terminal window
tropo find "record the verified release change" --root C:/path/to/project --governed --json > C:/path/to/task-capsule.json

MCP can supply the complete public capsule object. MCP does not supply approval.

Create the source outside the destination tree. Use UTF-8 Markdown.

Example:

---
project: context
status: done
slice: release guide verification
---
# Release guide verification
The local guide checks passed.
The proof is in the release receipt.

Save this example as C:/path/to/verified-guide.md. Change the fields when the workspace type policy requires different values.

Run record without --yes. Planning is read-only.

Terminal window
create-vivary record C:/path/to/project changes/verified-guide.md \
--from C:/path/to/verified-guide.md \
--capsule C:/path/to/task-capsule.json \
--json

Inspect these plan fields:

  • action
  • destination
  • previous hash
  • proposed hash
  • capsule identifier
  • capsule fingerprint
  • workspace fingerprint
  • plan_hash

Confirm that the plan contains one destination. Stop if the plan names any other path.

Show the complete plan to the workspace owner. Ask for approval of the exact plan_hash.

Do not accept approval for a different hash. Do not infer approval from silence or prior work. Replan when any bound input changes.

Use the exact approved hash.

Terminal window
create-vivary record C:/path/to/project changes/verified-guide.md \
--from C:/path/to/verified-guide.md \
--capsule C:/path/to/task-capsule.json \
--yes --plan sha256:<approved-plan-hash> \
--json

Add a local receipt only when required.

Terminal window
create-vivary record C:/path/to/project changes/verified-guide.md \
--from C:/path/to/verified-guide.md \
--capsule C:/path/to/task-capsule.json \
--yes --plan sha256:<approved-plan-hash> \
--receipt C:/path/to/project/.vivary/runtime/receipts.jsonl --json

The optional receipt omits target paths, source paths, and capsule values.

Run Doctor. Query the record.

Terminal window
create-vivary doctor C:/path/to/project
tropo query "Release guide verification" --root C:/path/to/project --json

The record path is:

.vivary/records/changes/verified-guide.md

No unrelated file can appear.

Vivary refuses an incomplete or changed capsule. Vivary refuses a capsule from another workspace. Vivary refuses a changed source or destination. Vivary refuses an unapproved or incorrect plan hash. Vivary refuses nested paths and unsupported record folders. Vivary refuses linked or hard-linked destinations. Vivary refuses content that violates the type policy.

Apply writes the record atomically. Apply runs Doctor after the write. Vivary restores the previous bytes when Doctor fails. Vivary removes a new record tree when verification fails.

The command has no batch mode. The command never creates a starter graph.

Use the record reference for input limits and output envelopes.