From c7002cfcea7a20573665be45192fa3d918f092ee Mon Sep 17 00:00:00 2001 From: tegwick Date: Sat, 5 Sep 2026 19:59:11 +0200 Subject: [PATCH] Complete CommerceCanon rename and declare concept ownership boundary Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a070b5-4994-7271-bd8b-7c3dbcedec4b --- .claude/rules/credential-routing.md | 2 +- .claude/rules/first-session.md | 26 +-- .claude/rules/repo-boundary.md | 2 +- .claude/rules/repo-identity.md | 6 +- .claude/rules/session-protocol.md | 38 ++-- .claude/rules/workplan-convention.md | 53 +++-- .gitignore | 6 + .repo-classification.yaml | 17 +- AGENTS.md | 73 ++++--- CLAUDE.md | 2 +- INTENT.md | 181 ++---------------- README.md | 22 ++- SCOPE.md | 70 +++---- .../2026-09-05-commerce-rename-preparation.md | 24 +++ .../capability.identity.subject-resolution.md | 18 +- ...bility.identity.vocabulary-canonicalize.md | 22 +-- registry/indexes/capabilities.yaml | 4 +- workplans/IDENTITY-WP-0004-commerce-rename.md | 37 +++- 18 files changed, 279 insertions(+), 324 deletions(-) create mode 100644 history/2026-09-05-commerce-rename-preparation.md diff --git a/.claude/rules/credential-routing.md b/.claude/rules/credential-routing.md index c0458cd..8d8bcb0 100644 --- a/.claude/rules/credential-routing.md +++ b/.claude/rules/credential-routing.md @@ -19,7 +19,7 @@ Requires the `warden` CLI from `~/ops-warden` (`uv tool install .` or `uv run wa | Agent runtime | How to orient | | --- | --- | -| **Codex / Grok** (shell, HTTP State Hub) | `warden route` commands above; inbox `to_agent=identity-canon` is for coordination, not secret vending | +| **Codex / Grok** (shell, HTTP State Hub) | `warden route` commands above; inbox `to_agent=commerce-canon` is for coordination, not secret vending | | **Claude Code** (MCP when available) | `get_domain_summary("custodian")` for workplans; **still** use `warden route` for credential ownership | | **llm-connect** (inference service) | Never put secret retrieval in prompts; route custody to OpenBao/operator paths surfaced by `warden route` | diff --git a/.claude/rules/first-session.md b/.claude/rules/first-session.md index 81c86a8..68b4152 100644 --- a/.claude/rules/first-session.md +++ b/.claude/rules/first-session.md @@ -1,11 +1,11 @@ ## First Session Protocol -Triggered when `get_domain_summary("infotech")` shows **no workplans**. +Triggered when `get_domain_summary("financials")` shows **no workplans**. The project is registered but work has not yet been structured. **Step 1 — Read, don't write** -- `~/the-custodian/canon/projects/infotech/project_charter_v0.1.md` — purpose, scope -- `~/the-custodian/canon/projects/infotech/roadmap_v0.1.md` — planned phases +- `~/the-custodian/canon/projects/financials/project_charter_v0.1.md` — purpose, scope +- `~/the-custodian/canon/projects/financials/roadmap_v0.1.md` — planned phases - Scan repo root: README, directory structure, existing code or docs **Step 2 — Survey in-progress work** @@ -15,24 +15,24 @@ Look for TODOs, open branches, half-finished files. Note done vs. started but in Propose 1–3 workplans — each a coherent strand, weeks to months, anchored to a roadmap phase. **Wait for approval before creating.** -**Step 4 — Write the workplan file; fix-consistency registers it (ADR-001)** +**Step 4 — Write the workplan file; Repo Manager projects it (ADR-001)** ``` -workplans/IDENTITY-WP-NNNN-.md ← write this, commit it +workplans/COMMERCE-WP-NNNN-.md ← write this, commit it ``` -Then register by running the consistency check — do **not** call -`create_workplan`/`create_task` yourself; manual registration duplicates what -C-06 creates from the file: +Then run the deterministic, forge-derived sync — do **not** call +`create_workplan`/`create_task` yourself: ```bash -statehub fix-consistency --repo identity-canon +uv run --project ~/repo-manager rmgr sync --path . --push ``` -C-06 creates the hub workplan + tasks and writes `state_hub_workstream_id` -(legacy frontmatter name — holds the workplan UUID) and `state_hub_task_id` -back into the file. +Repo Manager writes deterministic `state_hub_workstream_id` and +`state_hub_task_id` values, pushes the file, verifies `primary/railliance01`, +and asks central to derive that exact Forgejo commit. If connectivity is down, +the queued receipt is pending evidence; rerun the same command later. **Step 5 — Record the setup** ``` add_progress_event( - summary="First session: structured infotech into N workplans, M tasks", + summary="First session: structured financials into N workplans, M tasks", event_type="milestone", topic_id="fe2aaa78-9c20-4feb-b3d2-4fe0529572a3", detail={"workplans": [...], "tasks_created": M} diff --git a/.claude/rules/repo-boundary.md b/.claude/rules/repo-boundary.md index 172e45f..ecb6988 100644 --- a/.claude/rules/repo-boundary.md +++ b/.claude/rules/repo-boundary.md @@ -1,6 +1,6 @@ ## Repo boundary -This repo owns **identity-canon** only. It does not own: +This repo owns **commerce-canon** only. It does not own: