governance-start

governance-start is a command for Claude Code from cirwel/unitares. It costs 12 tokens per session (1,280 once invoked), scanned A, original, Apache-2.0.

A command for starting or declaring the lineage of a UNITARES session. It checks the local workspace state and can verify that work begins from a clean repository.

In plain words
What is it for?
Use it to start a fresh session, inspect cached session information, check for dirty files or leftover processes, and optionally require an agent-owned worktree (a separate working copy).
Why use it?
Agent sessions need a clear identity and a known starting state so previous sessions are not mistaken for the current one and unfinished changes are noticed.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents; mentions Codex.

Good fit Use it to start a fresh session, inspect cached session information, check for dirty files or leftover processes, and optionally require an agent-owned worktree (a separate working copy).

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cirwel/unitares/governance-start
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/cirwel/unitares

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for governance-start

README.md
[![agentmods](https://agentmods.dev/badge/commands/cirwel/unitares/governance-start/github.svg)](https://agentmods.dev/commands/cirwel/unitares/governance-start)
Your own site
<a href="https://agentmods.dev/commands/cirwel/unitares/governance-start"><img src="https://agentmods.dev/badge/commands/cirwel/unitares/governance-start/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for governance-start

Your own site · 80×15
<a href="https://agentmods.dev/commands/cirwel/unitares/governance-start"><img src="https://agentmods.dev/badge/commands/cirwel/unitares/governance-start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.01280
Opus 5.5 $0.00005 $0.00512
Sonnet 5.5 $0.00002 $0.00256
Haiku 4.5 $0.00001 $0.00128

Measured yesterday against content hash a17e1a9719a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

governance-start scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/governance-start.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Under the identity ontology v2 (docs/ontology/identity.md), a fresh process-instance mints fresh governance-identity. Lineage is declared via parent_agent_id, not resumed via token. This command starts a session in that posture.

Start by checking the local workspace cache inventory.

Use the shared helper in this repo:

  • scripts/client/session_cache.py list

Then run the workspace start guard:

  • python3 scripts/dev/workspace_closeout.py --start-check

This fails on dirty git state or non-baseline repo-rooted processes from a prior session, and writes a fresh process baseline only when the workspace is clean.

It also classifies workspace isolation: editing the shared/main checkout (or the deploy worktree) instead of an agent-owned linked worktree is surfaced as an advisory warning by default. Add --require-worktree to make that a hard failure (strict mode) once the fleet reliably works in worktrees — the advisory→strict rollout mirrors the Surface Lease Plane. Rationale: docs/proposals/active/worktree-isolation-vs-lease-default.md.

A cached parent_agent_id from a prior session is context, not a lineage instruction: co-location in this workspace is not lineage, and the prior session is almost always still a sibling rather than an exited predecessor. Ignore any legacy continuity_token field for startup; tokens are only for advanced same-live-owner diagnostic rebinds.

Call onboard() against UNITARES using the strongest honest mode:

  • default: a fresh session onboards fresh — pass force_new=true with no parent_agent_id
  • declare lineage only for a real causal event: a dispatched subagent (parent_agent_id=<dispatcher uuid>, spawn_reason="subagent", usually set automatically by the dispatcher) or a handoff from a finished prior session (parent_agent_id=<prior uuid>, spawn_reason="explicit"). Declaring a currently-live agent as parent is rejected (lineage_coincidental_rejected) and the claim cleared, unless spawn_reason marks a dispatched child (subagent, dispatch, dialectic_reviewer) or a compaction continuation — those relationships expect the parent to still be live.
  • include model_type when the current runtime is clear from context
  • do not invent a display name unless the user asked for one

start_session(...) is an equivalent alias (same parameters, same rules). Invoking the alias returns the normalized agent-experience envelope — next_action/state_summary first, with agent_uuid, client_session_id, agent_id, display_name, is_new, identity_resolution_outcome and a compact identity_assurance (tier, session_source, caller_proven, baseline) lifted to the top level. For a plain fresh mint (response_shape: "routine") the canonical payload is not repeated beneath them. That includes a mint on a thread earlier sessions occupied, where state_summary carries episode_fork_kind: "sibling_locus" and the earlier node's predecessor_uuid (co-location is not lineage; do not declare it as a parent), and a named mint, whose resident_registration verdict is lifted in compact form (status, on_roster, and for not_on_roster (and, briefly, caller_supplied_tags) a short detail: what it costs, that this identity cannot gain the tags, and the fix: add the name to the roster, restart, mint fresh). Any other mint (a resume miss, a reactivated identity, a declared lineage, a spawn reason other than new_session, a sibling whose earlier nodes were pruned, a label rename, an unrecognised notice), and any call with response_mode="full", also carries it under raw_governance; for a mint that was not plain, response_shape_reason names the field that kept it. Read the uuid from agent_uuid. The canonical payload defaults to response_mode="minimal", which omits session_resolution_source and continuity_token_supported; pass response_mode="full" when you need session_resolution_source for the cache below.

Do not use bare identity(agent_uuid=<uuid>, resume=true). UUID alone is an unsigned claim and is hijack-shaped under strict identity mode.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed a17e1a9719a4
  2. 16d ago Changed · -2 lines bdcc297096a8
  3. 1mo ago Changed 4d7d38a46753
  4. 1mo ago Changed 0c6f4704263c
  5. 1mo ago Changed fb86ea7c4827
  6. 1mo ago Changed 41861715a139
  7. 1mo ago Changed f730fe1882a8
  8. 2mo ago First seen · 74 lines · 12 tokens per session scan A 66ae87ea0e78

Subscribe to this mod's changes

governance-start is a command published in the GitHub repository cirwel/unitares (6 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 1,280 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

governance-start compared with commands from other repositories

governance-start next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
governance-startcirwel/unitaresCommand6todayApache-2.0A12Claude Code
statusbar-styleleeguooooo/claude-code-usage-barCommand3896d agoMITA16Claude Code
icpg-bootstrapalinaqi/maggyCommand71124d agoMITA0Claude Code
coder-eval-implement-planUiPath/coder_evalCommand156yesterdayApache-2.0A22Claude Code
lians-recallLians-ai/LiansCommand174d agoApache-2.0A19Claude Code
memory-statusRichmondAlake/memorizzCommand7814d agononeA9Claude Code
sugar-taskroboticforce/sugarCommand100yesterdaynoneA14Claude Code