diff --git a/.claude/rules/first-session.md b/.claude/rules/first-session.md index acdb757..d5322f8 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("railiance")` shows **no workstreams**. +Triggered when `get_domain_summary("financials")` shows **no workstreams**. The project is registered but work has not yet been structured. **Step 1 — Read, don't write** -- `~/the-custodian/canon/projects/railiance/project_charter_v0.1.md` — purpose, scope -- `~/the-custodian/canon/projects/railiance/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** @@ -17,7 +17,7 @@ roadmap phase. **Wait for approval before creating.** **Step 4 — Create workplan file first, then DB record (ADR-001)** ``` -workplans/railiance-cluster-WP-NNNN-.md ← write this first +workplans/RAIL-BS-WP-NNNN-.md ← write this first ``` Then register in the hub: ``` @@ -28,7 +28,7 @@ create_task(workstream_id="", title="...", priority="high|medium|low") **Step 5 — Record the setup** ``` add_progress_event( - summary="First session: structured railiance into N workstreams, M tasks", + summary="First session: structured financials into N workstreams, M tasks", event_type="milestone", topic_id="ca369340-a64e-442e-98f1-a4fa7dc74a38", detail={"workstreams": [...], "tasks_created": M} diff --git a/.claude/rules/repo-identity.md b/.claude/rules/repo-identity.md index 933e864..60c065f 100644 --- a/.claude/rules/repo-identity.md +++ b/.claude/rules/repo-identity.md @@ -1,5 +1,5 @@ **Purpose:** OAS S2 Cluster Runtime — k3s, Helm, ingress, CNI, operators -**Domain:** railiance +**Domain:** financials **Repo slug:** railiance-cluster **Topic ID:** ca369340-a64e-442e-98f1-a4fa7dc74a38 diff --git a/.claude/rules/session-protocol.md b/.claude/rules/session-protocol.md index 966f89e..a3ad8aa 100644 --- a/.claude/rules/session-protocol.md +++ b/.claude/rules/session-protocol.md @@ -1,6 +1,7 @@ ## Session Protocol -State Hub: http://127.0.0.1:8000 +Dev Hub (State Hub API): http://127.0.0.1:8000 +MCP server name in `~/.claude.json`: `dev-hub` **Step 1 — Orient** @@ -10,7 +11,7 @@ cat .custodian-brief.md ``` Then call the MCP tool for richer cross-domain context when MCP tools are exposed: ``` -get_domain_summary("railiance") +get_domain_summary("financials") ``` If MCP tools are unavailable in the current agent session, use the REST API: ```bash @@ -39,11 +40,11 @@ curl -s -X PATCH "http://127.0.0.1:8000/messages//read" \ ls workplans/ ``` For each file with `status: ready`, `active`, or `blocked`, note pending -`todo`/`in_progress` tasks. +`wait`/`todo`/`progress` tasks. **Step 4 — Present brief** -1. **Active workstreams** for `railiance` — title, task counts, blocking decisions +1. **Active workstreams** for `financials` — title, task counts, blocking decisions 2. **Pending tasks** from `workplans/` + any `[repo:railiance-cluster]` hub tasks 3. **Goal guidance** — if `goal_guidance` in summary: - `needs_workplan`: surface as top action — *"Repo goal '{title}' has no workplan yet"* diff --git a/.claude/rules/workplan-convention.md b/.claude/rules/workplan-convention.md index 81a4121..cdacafe 100644 --- a/.claude/rules/workplan-convention.md +++ b/.claude/rules/workplan-convention.md @@ -1,7 +1,7 @@ ## Workplan Convention (ADR-001) -File location: `workplans/railiance-cluster-WP-NNNN-.md` -ID prefix: `RAILIANCE-WP` +File location: `workplans/RAIL-BS-WP-NNNN-.md` +ID prefix: `RAIL-BS-WP-` Work items originate as files in this repo **before** being registered in the hub. @@ -12,7 +12,7 @@ repo state, and `finished` when implementation is complete. `stalled` and `needs_review` are derived health labels, not stored statuses. Closed workplans may be moved to `workplans/archived/` with a completion-date -prefix: `YYMMDD-railiance-cluster-WP-NNNN-.md`. The frontmatter id remains +prefix: `YYMMDD-RAIL-BS-WP-NNNN-.md`. The frontmatter id remains unchanged; the prefix is only for quick visual reference. Small opportunistic tasks discovered during another session use **Ad Hoc Tasks**: @@ -25,4 +25,16 @@ Ecosystem todos from other agents arrive as `[repo:railiance-cluster]` hub tasks visible at session start. Pick one up by creating the workplan file, then registering the workstream. +Task blocks use this shape: + +```task +id: RAIL-BS-WP-NNNN-T01 +status: wait | todo | progress | done | cancel +priority: high | medium | low +state_hub_task_id: "" # written by fix-consistency — do not edit +``` + +Status progression is `todo` → `progress` → `done`; use `wait` for waiting or +blocked work and `cancel` for stopped work. + diff --git a/AGENTS.md b/AGENTS.md index bce22ed..3c579ac 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,10 +4,10 @@ **Purpose:** OAS S2 Cluster Runtime — k3s, Helm, ingress, CNI, operators -**Domain:** railiance +**Domain:** financials **Repo slug:** railiance-cluster **Topic ID:** `ca369340-a64e-442e-98f1-a4fa7dc74a38` -**Workplan prefix:** `RAILIANCE-WP-` +**Workplan prefix:** `RAIL-BS-WP-` --- @@ -63,8 +63,8 @@ Omit `workstream_id` / `task_id` when not applicable. ```bash curl -s -X PATCH "http://127.0.0.1:8000/tasks/" \ -H "Content-Type: application/json" \ - -d '{"status": "in_progress"}' -# values: todo | in_progress | done | blocked + -d '{"status": "progress"}' +# values: wait | todo | progress | done | cancel ``` ### Flag a task for human review @@ -83,7 +83,7 @@ curl -s -X PATCH "http://127.0.0.1:8000/tasks/" \ 1. `cat .custodian-brief.md` — domain goal and open workstreams (offline-safe) 2. Check inbox: `GET /messages/?to_agent=railiance-cluster&unread_only=true`; mark read 3. Scan workplans: `ls workplans/` — note `status: ready`, `active`, or `blocked` files and open tasks -4. Check blocked tasks: `GET /tasks/?needs_human=true` +4. Check human-needed tasks: `GET /tasks/?needs_human=true` **During work:** - Update task statuses in workplan files as tasks progress @@ -151,6 +151,11 @@ every repo's agent instructions because it is high-frequency, high-risk, and eas get wrong. **Canon:** `~/ops-warden/wiki/CredentialRouting.md` · catalog `~/ops-warden/registry/routing/catalog.yaml` + + + + --- ## Workplan Convention (ADR-001) @@ -176,7 +181,7 @@ anything needing analysis, design, approval, dependencies, or multiple phases. id: RAILIANCE-WP-NNNN type: workplan title: "..." -domain: railiance +domain: financials repo: railiance-cluster status: proposed | ready | active | blocked | backlog | finished | archived owner: codex @@ -198,7 +203,7 @@ derived health labels, not frontmatter statuses. ` ` `task id: RAILIANCE-WP-NNNN-T01 -status: todo | in_progress | done | blocked +status: wait | todo | progress | done | cancel priority: high | medium | low state_hub_task_id: "" # written by fix-consistency — do not edit ` ` ` @@ -206,7 +211,7 @@ state_hub_task_id: "" # written by fix-consistency — do not edit Task description text. ``` -Status progression: `todo` → `in_progress` → `done` (or `blocked`) +Status progression: `todo` → `progress` → `done`; use `wait` for waiting/blocked work and `cancel` for stopped work. To create a new workplan: 1. Write the file following the format above diff --git a/workplans/RAIL-BS-WP-0001-dependency-management.md b/workplans/RAIL-BS-WP-0001-dependency-management.md index 50f143d..f2f5ccb 100644 --- a/workplans/RAIL-BS-WP-0001-dependency-management.md +++ b/workplans/RAIL-BS-WP-0001-dependency-management.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0001 type: workplan title: "Dependency Management — Add lockfile for Ansible control-node deps" -domain: railiance +domain: financials repo: railiance-cluster status: completed owner: railiance diff --git a/workplans/RAIL-BS-WP-0002-k3s-baseline.md b/workplans/RAIL-BS-WP-0002-k3s-baseline.md index a9189c2..955d135 100644 --- a/workplans/RAIL-BS-WP-0002-k3s-baseline.md +++ b/workplans/RAIL-BS-WP-0002-k3s-baseline.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0002 type: workplan title: "k3s and Kubernetes Platform Baseline" -domain: railiance +domain: financials repo: railiance-cluster status: completed owner: railiance diff --git a/workplans/RAIL-BS-WP-0003-pgpool-ha-failover-fix.md b/workplans/RAIL-BS-WP-0003-pgpool-ha-failover-fix.md index 42db084..2c333ce 100644 --- a/workplans/RAIL-BS-WP-0003-pgpool-ha-failover-fix.md +++ b/workplans/RAIL-BS-WP-0003-pgpool-ha-failover-fix.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0003 type: bug-report title: "pgpool CrashLoopBackOff on PostgreSQL HA failover — missing secret key" -domain: railiance +domain: financials repo: railiance-cluster status: completed owner: tegwick diff --git a/workplans/RAIL-BS-WP-0004-safety-net.md b/workplans/RAIL-BS-WP-0004-safety-net.md index 4ca6c3d..23daeb5 100644 --- a/workplans/RAIL-BS-WP-0004-safety-net.md +++ b/workplans/RAIL-BS-WP-0004-safety-net.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0004 type: workplan title: "Integrated Backup — S2 Kubernetes Runtime Layer" -domain: railiance +domain: financials repo: railiance-cluster status: done owner: tegwick diff --git a/workplans/RAIL-BS-WP-0005-kubeconfig-delivery.md b/workplans/RAIL-BS-WP-0005-kubeconfig-delivery.md index 3090860..75040bf 100644 --- a/workplans/RAIL-BS-WP-0005-kubeconfig-delivery.md +++ b/workplans/RAIL-BS-WP-0005-kubeconfig-delivery.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0005 type: workplan title: "Kubeconfig delivery for netkingdom SSO/MFA stack apply" -domain: railiance +domain: financials repo: railiance-cluster status: done owner: railiance-worker diff --git a/workplans/RAIL-BS-WP-0006-staged-promotion-lifecycle.md b/workplans/RAIL-BS-WP-0006-staged-promotion-lifecycle.md index 40760f9..3db3826 100644 --- a/workplans/RAIL-BS-WP-0006-staged-promotion-lifecycle.md +++ b/workplans/RAIL-BS-WP-0006-staged-promotion-lifecycle.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0006 type: workplan title: "Staged Promotion Lifecycle" -domain: railiance +domain: financials repo: railiance-cluster status: active owner: railiance diff --git a/workplans/RAIL-BS-WP-0007-threephoenix-ha-cluster.md b/workplans/RAIL-BS-WP-0007-threephoenix-ha-cluster.md index 3c8521d..52a7a9b 100644 --- a/workplans/RAIL-BS-WP-0007-threephoenix-ha-cluster.md +++ b/workplans/RAIL-BS-WP-0007-threephoenix-ha-cluster.md @@ -2,7 +2,7 @@ id: RAIL-BS-WP-0007 type: workplan title: "ThreePhoenix - HA Cluster Implementation" -domain: railiance +domain: financials repo: railiance-cluster status: active owner: railiance diff --git a/workplans/RAILIANCE-WP-0012-activity-core-cluster-owned-deploy-verify.md b/workplans/RAILIANCE-WP-0012-activity-core-cluster-owned-deploy-verify.md index b988135..b6da6cd 100644 --- a/workplans/RAILIANCE-WP-0012-activity-core-cluster-owned-deploy-verify.md +++ b/workplans/RAILIANCE-WP-0012-activity-core-cluster-owned-deploy-verify.md @@ -2,7 +2,7 @@ id: RAILIANCE-WP-0012 type: workplan title: "activity-core cluster-owned deploy/verify" -domain: railiance +domain: financials repo: railiance-cluster status: finished owner: codex diff --git a/workplans/RAILIANCE-WP-0013-activity-core-verifier-evidence-hardening.md b/workplans/RAILIANCE-WP-0013-activity-core-verifier-evidence-hardening.md index 7179d48..8a9fe74 100644 --- a/workplans/RAILIANCE-WP-0013-activity-core-verifier-evidence-hardening.md +++ b/workplans/RAILIANCE-WP-0013-activity-core-verifier-evidence-hardening.md @@ -2,7 +2,7 @@ id: RAILIANCE-WP-0013 type: workplan title: "activity-core verifier evidence hardening" -domain: railiance +domain: financials repo: railiance-cluster status: finished owner: codex diff --git a/workplans/RAILIANCE-WP-0014-activity-core-llm-connect-live-reconcile.md b/workplans/RAILIANCE-WP-0014-activity-core-llm-connect-live-reconcile.md index d08468b..340fbe3 100644 --- a/workplans/RAILIANCE-WP-0014-activity-core-llm-connect-live-reconcile.md +++ b/workplans/RAILIANCE-WP-0014-activity-core-llm-connect-live-reconcile.md @@ -2,7 +2,7 @@ id: RAILIANCE-WP-0014 type: workplan title: "activity-core llm-connect live reconcile" -domain: railiance +domain: financials repo: railiance-cluster status: blocked owner: codex @@ -70,7 +70,7 @@ values. Live evidence note `c72c514a-399e-4c54-8d5b-d36405932360` confirms ```task id: RAILIANCE-WP-0014-T03 -status: blocked +status: wait priority: high state_hub_task_id: "ae8af00a-c14f-4b76-933c-46d06cd360ae" ```