arcane-cli 0.15.5 → 0.15.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/assets/.arcane/governance/agent-work-queue-model.md +13 -13
  2. package/dist/assets/.arcane/governance/decision-documentation-standard.md +18 -18
  3. package/dist/assets/.arcane/governance/framework-decisions.md +71 -0
  4. package/dist/assets/.arcane/governance/git-conventions.md +1 -1
  5. package/dist/assets/.arcane/governance/portable-bootstrap.md +20 -13
  6. package/dist/assets/.github/prompts/spell-architect.prompt.md +3 -3
  7. package/dist/assets/.github/prompts/spell-bootstrap-business.prompt.md +1 -1
  8. package/dist/assets/.github/prompts/spell-brainstorm.prompt.md +2 -2
  9. package/dist/assets/.github/prompts/spell-bug.prompt.md +6 -6
  10. package/dist/assets/.github/prompts/spell-check-drift.prompt.md +1 -1
  11. package/dist/assets/.github/prompts/spell-close-session.prompt.md +1 -1
  12. package/dist/assets/.github/prompts/spell-commit-work.prompt.md +3 -3
  13. package/dist/assets/.github/prompts/spell-enchant.prompt.md +8 -8
  14. package/dist/assets/.github/prompts/spell-full-cycle.prompt.md +6 -6
  15. package/dist/assets/.github/prompts/spell-implement.prompt.md +3 -3
  16. package/dist/assets/.github/prompts/spell-open-session.prompt.md +2 -2
  17. package/dist/assets/.github/prompts/spell-plan.prompt.md +2 -2
  18. package/dist/assets/.github/prompts/spell-present-arcane.prompt.md +5 -5
  19. package/dist/assets/.github/prompts/spell-product-review.prompt.md +1 -1
  20. package/dist/assets/.github/prompts/spell-review.prompt.md +3 -3
  21. package/dist/assets/.github/prompts/spell-scope.prompt.md +7 -7
  22. package/dist/assets/.github/prompts/spell-ship.prompt.md +5 -5
  23. package/dist/assets/.github/prompts/spell-suggest-feature.prompt.md +4 -4
  24. package/dist/assets/.github/prompts/spell-test.prompt.md +3 -3
  25. package/dist/assets/.github/prompts/spell-todo.prompt.md +1 -1
  26. package/dist/assets/README.md +14 -0
  27. package/dist/assets/project.md +26 -0
  28. package/dist/index.js +11 -2
  29. package/dist/index.js.map +1 -1
  30. package/package.json +3 -2
@@ -9,7 +9,7 @@ tags: [governance, queue, agents, work-management]
9
9
 
10
10
  # Agent Work Queue Model
11
11
 
12
- Defines a single markdown-first queue for assigning work across businesses, while keeping Azure DevOps at Story-level visibility per [[DECISIONS#ADR-015|ADR-015]].
12
+ Defines a single markdown-first queue for assigning work across businesses, while keeping Azure DevOps at Story-level visibility for human milestone tracking.
13
13
 
14
14
  ## Executive Summary
15
15
 
@@ -31,19 +31,19 @@ Defines a single markdown-first queue for assigning work across businesses, whil
31
31
 
32
32
  ## Canonical Fields
33
33
 
34
- | Field | Description |
35
- |------|-------------|
36
- | Queue ID | Unique work identifier |
37
- | Business | `acme-store`, `example-app`, etc. |
38
- | Repo | Target repo name |
39
- | DevOps Item | Story/Task/Bug link or ID |
40
- | Priority | Critical / High / Medium / Low |
34
+ | Field | Description |
35
+ | -------------- | ---------------------------------------------- |
36
+ | Queue ID | Unique work identifier |
37
+ | Business | `acme-store`, `example-app`, etc. |
38
+ | Repo | Target repo name |
39
+ | DevOps Item | Story/Task/Bug link or ID |
40
+ | Priority | Critical / High / Medium / Low |
41
41
  | Assigned Agent | {AGENT_NAME}, Lafayette, Mercurio, Lince, etc. |
42
- | Power Level | Apprentice/Wizard/Sorcerer/Magus/Archmage |
43
- | Execution Host | Atlas, Voyager, Nimbus |
44
- | Approval Gate | Required reviewer and checkpoint |
45
- | Exit Criteria | Objective definition of done |
46
- | Status | Backlog / Ready / In Progress / Blocked / Done |
42
+ | Power Level | Apprentice/Wizard/Sorcerer/Magus/Archmage |
43
+ | Execution Host | Atlas, Voyager, Nimbus |
44
+ | Approval Gate | Required reviewer and checkpoint |
45
+ | Exit Criteria | Objective definition of done |
46
+ | Status | Backlog / Ready / In Progress / Blocked / Done |
47
47
 
48
48
  ---
49
49
 
@@ -26,10 +26,10 @@ This document defines how significant decisions are documented in this repositor
26
26
 
27
27
  Arcane separates framework-level decisions from org-specific ones using two prefixes:
28
28
 
29
- | Prefix | File | Scope |
30
- | --------- | --------------------- | ------------------------------------------------------------------------------------ |
31
- | `ADR-NNN` | `DECISIONS.md` | Org-specific decisions (ventures, infrastructure, runtime config, org conventions) |
32
- | `ARC-NNN` | `arcane/DECISIONS.md` | Arcane framework decisions (spell library, CLI, agent system, governance templates) |
29
+ | Prefix | File | Scope |
30
+ | --------- | --------------------- | ----------------------------------------------------------------------------------- |
31
+ | `ADR-NNN` | `DECISIONS.md` | Org-specific decisions (ventures, infrastructure, runtime config, org conventions) |
32
+ | `ARC-NNN` | `arcane/DECISIONS.md` | Arcane framework decisions (spell library, CLI, agent system, governance templates) |
33
33
 
34
34
  **Rules:**
35
35
 
@@ -99,7 +99,7 @@ This check was added after [[governance/rcas/RCA-001-naming-collision|RCA-001]]
99
99
  **Create a companion doc if:**
100
100
 
101
101
  - Decision justification exceeds 5 bullets in "Reasoning" section
102
- - Multiple ADRs share a common theme (e.g., authentication strategy covers ADR-007, ADR-008, ADR-009, ADR-017)
102
+ - Multiple ADRs share a common theme (e.g., several authentication decisions belong in one authentication strategy)
103
103
  - Implementation has significant gotchas or edge cases
104
104
  - Decision has ongoing review/maintenance requirements (quarterly audits, version compatibility)
105
105
  - You anticipate "why did we do this?" questions from future team members or external auditors
@@ -115,13 +115,13 @@ This check was added after [[governance/rcas/RCA-001-naming-collision|RCA-001]]
115
115
 
116
116
  Use existing folder structure; **do not create `deep-dives/` or `DECISIONS-details/` folders**.
117
117
 
118
- | Decision Theme | Location | Example |
119
- | ------------------------------------ | ------------------ | --------------------------------------------------------------------------------------- |
120
- | Authentication, credentials, keys | `security/` | [security/authentication-strategy.md](../security/authentication-strategy.md) |
121
- | Hardware, OS, dual-boot | `infrastructure/` | [infrastructure/compute-architecture.md](../infrastructure/compute-architecture.md) |
122
- | Agent runtime config, agent policies | `agents/` | [agents/architecture-decisions.md](../agents/architecture-decisions.md) |
123
- | Git, naming, documentation standards | `governance/` | This file |
124
- | Business-specific operations | `ventures/{name}/` | `ventures/acme-store/DECISIONS.md`, `ventures/example-app/operations-model.md` |
118
+ | Decision Theme | Location | Example |
119
+ | ------------------------------------ | ------------------ | ----------------------------------------------------------------------------------- |
120
+ | Authentication, credentials, keys | `security/` | [security/authentication-strategy.md](../security/authentication-strategy.md) |
121
+ | Hardware, OS, dual-boot | `infrastructure/` | [infrastructure/compute-architecture.md](../infrastructure/compute-architecture.md) |
122
+ | Agent runtime config, agent policies | `agents/` | [agents/architecture-decisions.md](../agents/architecture-decisions.md) |
123
+ | Git, naming, documentation standards | `governance/` | This file |
124
+ | Business-specific operations | `ventures/{name}/` | `ventures/acme-store/DECISIONS.md`, `ventures/example-app/operations-model.md` |
125
125
 
126
126
  **Rationale:** Keeps security knowledge with security docs, infrastructure with infrastructure, etc. Easier to discover via folder browsing.
127
127
 
@@ -131,7 +131,7 @@ Use existing folder structure; **do not create `deep-dives/` or `DECISIONS-detai
131
131
 
132
132
  - ✅ `security/authentication-strategy.md` — covers SSH, PATs, API keys, tokens (multiple ADRs)
133
133
  - ✅ `infrastructure/compute-architecture.md` — covers dual-boot, Ubuntu choice, hardware sizing
134
- - ❌ `security/ADR-008-deep-dive.md` — Forces 1:1 mapping, harder to group related decisions
134
+ - ❌ `security/ADR-NNN-deep-dive.md` — Forces 1:1 mapping, harder to group related decisions
135
135
 
136
136
  **Filename format:** `{topic-slug}.md` (lowercase, hyphen-separated)
137
137
 
@@ -214,7 +214,7 @@ Add this section **after Reasoning, before Rejected alternatives** in the ADR:
214
214
  **Deep dive:** [[security/authentication-strategy|Authentication Strategy]]
215
215
  ```
216
216
 
217
- **Example from ADR-017:**
217
+ **Example from an authentication ADR:**
218
218
 
219
219
  ```markdown
220
220
  **Reasoning:**
@@ -238,12 +238,12 @@ Create "Related ADRs" section at the top of every companion doc:
238
238
  ```markdown
239
239
  ## Related ADRs
240
240
 
241
- - [[DECISIONS#ADR-007|ADR-007: Runtime Gateway Security]]
242
- - [[DECISIONS#ADR-008|ADR-008: Inter-Machine Communication]]
243
- - [[DECISIONS#ADR-017|ADR-017: Git SSH Authentication]]
241
+ - [[DECISIONS#ADR-NNN|Runtime Gateway Security decision]]
242
+ - [[DECISIONS#ADR-NNN|Inter-Machine Communication decision]]
243
+ - [[DECISIONS#ADR-NNN|Git SSH Authentication decision]]
244
244
  ```
245
245
 
246
- **Rationale:** Creates bidirectional graph edges in Obsidian visualization. Clicking ADR-017 shows link to authentication-strategy.md; clicking authentication-strategy.md shows all related ADRs.
246
+ **Rationale:** Creates bidirectional graph edges in Obsidian visualization. Clicking an ADR shows its authentication strategy companion; the companion links back to each related ADR.
247
247
 
248
248
  ---
249
249
 
@@ -0,0 +1,71 @@
1
+ ---
2
+ title: Legacy Framework Decision Reference
3
+ audience: both
4
+ status: active
5
+ distributable: true
6
+ tags: [decisions, adr, framework, references]
7
+ ---
8
+
9
+ # Legacy Framework Decision Reference
10
+
11
+ Arcane framework decisions now use the `ARC-NNN` sequence. The entries below preserve the legacy `ADR-NNN` identifiers still cited by distributed governance and spells so every installed citation resolves offline. Consumer repository decisions remain in the root `DECISIONS.md` and use their own local sequence.
12
+
13
+ ## ADR-002 — Documentation in Markdown and Git
14
+
15
+ Keep operational documentation in reviewable, version-controlled Markdown alongside the work it governs.
16
+
17
+ ## ADR-011 — Troubleshooting Standard
18
+
19
+ Troubleshooting guidance uses Symptom, Cause, Fix, Verify, and Prevention sections so remediation is reproducible.
20
+
21
+ ## ADR-019 — Spell Prompt Naming
22
+
23
+ Arcane workflow prompts use the `spell-` prefix to make their purpose and invocation surface explicit.
24
+
25
+ ## ADR-028 — Agent Git Attribution Model
26
+
27
+ The content producer is the commit author, the approving operator is the committer, and agent-authored commits carry attribution trailers.
28
+
29
+ ## ADR-029 — Canonical Commit Metadata Schema
30
+
31
+ Agent commits use stable `Agent`, `Model`, and `Provider` trailers, with optional role, task, channel, and approval metadata.
32
+
33
+ ## ADR-031 — Agent Role Consolidation
34
+
35
+ Agent identities represent durable roles rather than framework-specific technology stacks.
36
+
37
+ ## ADR-032 — Context-Dependent Agent Power Levels
38
+
39
+ Agent autonomy is assigned per agent and repository through the Spectator-to-Archmage ladder.
40
+
41
+ ## ADR-034 — Actionable Recommendation Guardrails
42
+
43
+ Recommendations involving cost, accounts, subscriptions, or irreversible action require disclosure, current verification, alternatives, and proportionate approval.
44
+
45
+ ## ADR-048 — Code Versus Docs Branch Policy
46
+
47
+ Code repositories use protected integration branches and reviewed PRs. A genuinely local-only documentation repository may integrate a reviewed docs change with a local fast-forward when no remote PR path exists.
48
+
49
+ ## ADR-049 — Spell Loop
50
+
51
+ Arcane's lifecycle is plan, architect, implement, test, review, and ship, with session and operational spells supporting the loop.
52
+
53
+ ## ADR-050 — Testing Standards
54
+
55
+ Projects select stack-appropriate test tooling and enforce coverage and critical-path evidence before shipping.
56
+
57
+ ## ADR-051 — Infrastructure Agent Ownership
58
+
59
+ The infrastructure role owns CI/CD, deployment automation, and platform operations while remaining subject to repository authority gates.
60
+
61
+ ## ADR-052 — Product Excellence Standards
62
+
63
+ PRD enhancement uses explicit quality dimensions and profile-dependent Bronze, Silver, and Gold targets.
64
+
65
+ ## ADR-061 — Arcane Framework Identity
66
+
67
+ Arcane is a four-layer methodology composed of Spells, Governance, Agents, and the CLI.
68
+
69
+ ## ADR-068 — Root Cause Analysis Standard
70
+
71
+ Material incidents receive structured root cause analysis with evidence, corrective actions, prevention, and follow-up ownership.
@@ -167,7 +167,7 @@ Use `git add -p` or selective staging to separate unrelated changes that were ed
167
167
  ```bash
168
168
  # Stage only the files related to one logical change
169
169
  git add governance/new-standard.md DECISIONS.md CLAUDE.md
170
- git commit -m "docs(governance): add new-standard with ADR-053"
170
+ git commit -m "docs(governance): add new-standard with ADR-NNN"
171
171
 
172
172
  # Then stage the unrelated fix
173
173
  git add README.md
@@ -38,14 +38,21 @@ Paste this entire file into any AI client (Claude web, ChatGPT, etc.) to give it
38
38
 
39
39
  ## Key Files
40
40
 
41
- | Need | File |
42
- | ------------------ | ------------------------------------- |
43
- | Full rules | `governance/universal-agent-rules.md` |
44
- | Project overview | `project.md` |
45
- | Decisions log | `DECISIONS.md` |
46
- | Agent policies | `agents/agent-policies.md` |
47
- | Git conventions | `governance/git-conventions.md` |
48
- | AI context summary | `ai-context/system-prompt-context.md` |
41
+ | Need | File |
42
+ | ------------------ | --------------------------------------------- |
43
+ | Full rules | `.arcane/governance/universal-agent-rules.md` |
44
+ | Project overview | `project.md` |
45
+ | Decisions log | `DECISIONS.md` |
46
+ | Agent policies | `.arcane/governance/agent-policies.md` |
47
+ | Git conventions | `.arcane/governance/git-conventions.md` |
48
+ | AI context summary | `ai-context/system-prompt-context.md` |
49
+
50
+ ## Where Documents Live
51
+
52
+ - **Framework-managed standards:** `.arcane/governance/`. Spells reference this single installed layer; do not create a duplicate root `governance/` tree.
53
+ - **Project-owned orientation and continuity:** `README.md`, `project.md`, `TODO.md`, `DECISIONS.md`, `ai-context/`, and `journal/`. Arcane creates missing files once and preserves existing content.
54
+ - **Project/domain documents:** use explicit descriptive paths such as `docs/`, `security/`, `infrastructure/`, or a configured business root. These add project context alongside framework standards.
55
+ - **Overrides are not yet supported:** editing a managed `.arcane/governance/` standard can be replaced by `arcane update`. Additive project documents are safe; overriding a shipped standard requires the open customization/override model.
49
56
 
50
57
  ## Documentation Format
51
58
 
@@ -53,11 +60,11 @@ Every doc uses YAML frontmatter: `title`, `audience` (human/ai/both), `last_upda
53
60
 
54
61
  ## Naming Tiers
55
62
 
56
- | Tier | Style | Examples |
57
- | --------- | --------------- | ----------------------------------------- |
58
- | Machines | Iconic names | Atlas, Voyager |
63
+ | Tier | Style | Examples |
64
+ | --------- | --------------- | ---------------------------------------- |
65
+ | Machines | Iconic names | Atlas, Voyager |
59
66
  | AI Agents | Persona + role | Merlin — CTO, {AGENT_NAME} — Product Ops |
60
- | Systems | Functional slug | `inventory-api`, `orders-worker` |
67
+ | Systems | Functional slug | `inventory-api`, `orders-worker` |
61
68
 
62
69
  ## Version Control Host
63
70
 
@@ -98,4 +105,4 @@ Development follows the **Spell Loop** — structured planning phases feeding an
98
105
  - `spell-explain-concept` — Break down complex architecture concepts
99
106
  - `spell-generate-bot-icons` — Create agent personas and icons
100
107
 
101
- Full reference: See `governance/development-methodology.md` in the repo.
108
+ Full reference: See `.arcane/governance/development-methodology.md` in the repo.
@@ -10,7 +10,7 @@ agent: agent
10
10
  - This prompt takes a PRD and produces architecture decisions plus an implementable story breakdown.
11
11
  - It follows a structured solutioning pattern — progressive context chain from requirements to implementation plan.
12
12
  - Outputs `architecture.md` and `stories.json` that feed into `spell-implement`.
13
- - See [[governance/development-methodology|Development Methodology]] for full Spell Loop reference.
13
+ - See [[.arcane/governance/development-methodology|Development Methodology]] for full Spell Loop reference.
14
14
 
15
15
  ---
16
16
 
@@ -18,8 +18,8 @@ Generate architecture decisions and story breakdown from the provided PRD.
18
18
 
19
19
  Use these files for context:
20
20
 
21
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology and stories.json format
22
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Testing frameworks and coverage requirements
21
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology and stories.json format
22
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Testing frameworks and coverage requirements
23
23
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to respect and extend
24
24
 
25
25
  Workflow:
@@ -24,7 +24,7 @@ If any required value is missing, ask only for missing fields.
24
24
  Use these files first (each is optional — if missing, proceed as noted):
25
25
 
26
26
  - [playbooks/new-business-setup.md](../../playbooks/new-business-setup.md) — setup playbook. If `playbooks/` doesn't exist, skip and derive steps from the business-type checklist below.
27
- - [naming-conventions.md](../../naming-conventions.md) — slug/file naming rules. If missing, default to lowercase-with-dashes slugs.
27
+ - [naming-conventions.md](../../.arcane/governance/naming-conventions.md) — slug/file naming rules. If missing, default to lowercase-with-dashes slugs.
28
28
  - [ventures/\_template/overview.md](../../ventures/_template/overview.md) — overview template. If missing, generate a minimal overview from the fields below.
29
29
  - [README.md](../../README.md) — repo navigation. If missing, skip cross-linking.
30
30
  - [project.md](../../project.md) — project context. If missing, skip.
@@ -18,10 +18,10 @@ Explore the given problem space and generate solution options.
18
18
 
19
19
  Use these files for context. Each is **optional** — if a file is missing, proceed without it and note the gap in your output so the user knows what wasn't consulted:
20
20
 
21
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology. _If missing:_ proceed with general SDLC reasoning.
21
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology. _If missing:_ proceed with general SDLC reasoning.
22
22
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs (to avoid contradicting decided patterns). _If missing:_ assume no decided patterns and state that ADR conflicts could not be checked.
23
23
  - [project.md](../../project.md) — Project goals and business context. _If missing:_ infer context from the problem statement and ask a clarifying question if goals are unclear.
24
- - [naming-conventions.md](../../naming-conventions.md) — Agent roster and roles. _If missing:_ proceed without role references.
24
+ - [naming-conventions.md](../../.arcane/governance/naming-conventions.md) — Agent roster and roles. _If missing:_ proceed without role references.
25
25
  - [TODO.md](../../../TODO.md) — In-progress work (referenced in step 4). _If missing:_ skip the in-progress-work cross-check and note it.
26
26
 
27
27
  ---
@@ -11,7 +11,7 @@ agent: agent
11
11
  - It records the bug in your configured tracker (external provider) or `TODO.md` (internal mode) and links the fix commit to it.
12
12
  - Output is a working fix with tests, committed using Conventional Commits format.
13
13
  - **When to use:** you have a concrete defect — wrong/broken behavior versus expected. If the report is actually a request for *new* behavior, route to `spell-suggest-feature` instead. For small non-blocking cleanups discovered along the way, capture them with `spell-todo`.
14
- - See [[governance/development-methodology|Development Methodology]] for full Spell Loop reference.
14
+ - See [[.arcane/governance/development-methodology|Development Methodology]] for full Spell Loop reference.
15
15
 
16
16
  ---
17
17
 
@@ -19,9 +19,9 @@ Document, diagnose, and fix the described bug.
19
19
 
20
20
  Use these files for context (each is optional — if a file is missing, proceed and note the assumption you fell back on):
21
21
 
22
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology **and tracker-provider specifics** (which tracker, work-item types, commit-link syntax). If missing, default to `tracking_mode: internal` and track in `TODO.md`.
22
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology **and tracker-provider specifics** (which tracker, work-item types, commit-link syntax). If missing, default to `tracking_mode: internal` and track in `TODO.md`.
23
23
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to respect. If missing, proceed without ADR constraints.
24
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Coverage thresholds. If missing, match the test conventions already present in the repo.
24
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Coverage thresholds. If missing, match the test conventions already present in the repo.
25
25
 
26
26
  Workflow:
27
27
 
@@ -40,7 +40,7 @@ Workflow:
40
40
  2. **Record the bug** — file it in whatever tracker this repo uses. Resolve `tracking_mode` from `.arcane.json` (or the repo's feature/PRD frontmatter); if unset, **ask** rather than assuming.
41
41
 
42
42
  - **`tracking_mode: internal`** (or no tracker configured) — append the bug to `TODO.md` (create it if absent) using the captured fields from Step 1. Use the `TODO.md` entry's identifier as `{WORK_ITEM_ID}`. No external tooling required.
43
- - **`tracking_mode: external`** — file a work item in the configured provider. Read [governance/development-methodology.md](../../governance/development-methodology.md) for the provider, work-item type, and required fields; do **not** assume Azure DevOps. Extract the returned id as `{WORK_ITEM_ID}`.
43
+ - **`tracking_mode: external`** — file a work item in the configured provider. Read [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) for the provider, work-item type, and required fields; do **not** assume Azure DevOps. Extract the returned id as `{WORK_ITEM_ID}`.
44
44
 
45
45
  *Azure DevOps is one such provider — if and only if `.arcane.json` / methodology names it (and the `az` CLI is available), file it like so. Resolve `{ADO_ORG}` and `{ADO_PROJECT}` from `.arcane.json`; ask if unset:*
46
46
  ```bash
@@ -86,7 +86,7 @@ Workflow:
86
86
 
87
87
  {WORK_ITEM_LINK}
88
88
  ```
89
- Follow Conventional Commits format. For `{WORK_ITEM_LINK}`, use the commit-link convention your tracker expects (per [governance/development-methodology.md](../../governance/development-methodology.md)) — e.g. `Fixes AB#{WORK_ITEM_ID}` for Azure DevOps, `Fixes #{WORK_ITEM_ID}` for GitHub Issues, or a plain `Refs TODO.md` for internal mode. Wait for user approval before executing `git commit`.
89
+ Follow Conventional Commits format. For `{WORK_ITEM_LINK}`, use the commit-link convention your tracker expects (per [governance/development-methodology.md](../../.arcane/governance/development-methodology.md)) — e.g. `Fixes AB#{WORK_ITEM_ID}` for Azure DevOps, `Fixes #{WORK_ITEM_ID}` for GitHub Issues, or a plain `Refs TODO.md` for internal mode. Wait for user approval before executing `git commit`.
90
90
 
91
91
  8. **Close out the tracker** — update the work item's state to reflect the fix:
92
92
  - **`internal`** — mark the `TODO.md` entry as resolved (check it off / move to a Done section).
@@ -98,7 +98,7 @@ Workflow:
98
98
  --org https://dev.azure.com/{ADO_ORG} \
99
99
  --output json
100
100
  ```
101
- For other providers, follow [governance/development-methodology.md](../../governance/development-methodology.md).
101
+ For other providers, follow [governance/development-methodology.md](../../.arcane/governance/development-methodology.md).
102
102
 
103
103
  Rules:
104
104
  - Fix only the reported bug. Do not bundle unrelated improvements.
@@ -25,7 +25,7 @@ Use these files first:
25
25
  - [TODO.md](../../TODO.md)
26
26
  - [DECISIONS.md](../../DECISIONS.md)
27
27
  - [ai-context/system-prompt-context.md](../../ai-context/system-prompt-context.md)
28
- - [agents/agent-policies.md](../../agents/agent-policies.md)
28
+ - [agents/agent-policies.md](../../.arcane/governance/agent-policies.md)
29
29
  - Most recent journal file(s) in [journal/](../../journal/)
30
30
  - Relevant business overviews under [ventures/](../../ventures/)
31
31
 
@@ -137,7 +137,7 @@ Rules:
137
137
  - Delete the local topic branch: `git branch -d <branch>`.
138
138
  - Verify `git log --oneline -3` shows the merged change at HEAD.
139
139
  - If stale local branches exist (merged or older than 7 days), list them and suggest cleanup.
140
- - See [governance/git-conventions.md](../../governance/git-conventions.md) Post-Merge Cleanup section.
140
+ - See [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) Post-Merge Cleanup section.
141
141
 
142
142
  11. **Return a concise closure report.**
143
143
 
@@ -19,7 +19,7 @@ Commit the current work in progress using Conventional Commits format.
19
19
 
20
20
  Use these files first:
21
21
 
22
- - [governance/git-conventions.md](../../governance/git-conventions.md) — Conventional Commits reference and agent attribution model
22
+ - [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) — Conventional Commits reference and agent attribution model
23
23
  - [DECISIONS.md](../../DECISIONS.md) — for ADR context if relevant
24
24
 
25
25
  Workflow:
@@ -50,7 +50,7 @@ Workflow:
50
50
  - Run the detected formatter, then `git add` the resulting changes so they are part of this commit.
51
51
  - **If no formatter is configured, skip this step gracefully** — do not install one and do not block the commit.
52
52
 
53
- 3. **Determine authorship and partition the batch** — who produced each changed file or inseparable change set? See [governance/git-conventions.md](../../governance/git-conventions.md) Agent Attribution Model section and ADR-028.
53
+ 3. **Determine authorship and partition the batch** — who produced each changed file or inseparable change set? See [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) Agent Attribution Model section and ADR-028.
54
54
  - **Invariant: one commit has exactly one author.** Changes spanning authors must be split into separate commits.
55
55
  - Partition changed files by author first. Step 4 then groups by concern within each author partition; concern grouping must never recombine authors.
56
56
  - **Human wrote it:** no `--author` override needed (uses global Git config)
@@ -208,7 +208,7 @@ Workflow:
208
208
  - If branch is not attached to any active worktree, run `git branch -d <branch>`.
209
209
  - Return to `main` only when appropriate for the active session/worktree context.
210
210
  - If other stale local branches exist (merged or older than 7 days), list them and suggest cleanup.
211
- - See [governance/git-conventions.md](../../governance/git-conventions.md) Post-Merge Cleanup section.
211
+ - See [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) Post-Merge Cleanup section.
212
212
 
213
213
  ## Troubleshooting
214
214
 
@@ -9,7 +9,7 @@ agent: agent
9
9
 
10
10
  - This spell takes an existing PRD and enchants it to production-grade quality.
11
11
  - It proactively identifies missing features, UX gaps, accessibility issues, performance targets, and security requirements that the original PRD didn't specify.
12
- - Applies two analytical lenses: a **research lens** (competitive analysis, industry standards) and a **marketing/brand lens** (brand, UX, first-impression review). In the default Arcane roster these map to the Alexander and Circe personas; other orgs map their own — see [agent-policies](../../agents/agent-policies.md) / [naming-conventions](../../governance/naming-conventions.md).
12
+ - Applies two analytical lenses: a **research lens** (competitive analysis, industry standards) and a **marketing/brand lens** (brand, UX, first-impression review). In the default Arcane roster these map to the Alexander and Circe personas; other orgs map their own — see [agent-policies](../../.arcane/governance/agent-policies.md) / [naming-conventions](../../.arcane/governance/naming-conventions.md).
13
13
  - Output: Enhanced PRD with `[ENCHANTED]`-tagged additions, before/after quality scorecard, and research summaries.
14
14
  - Use this between `spell-plan` and `spell-architect` (or `spell-scope` for large PRDs). It **consumes** a drafted PRD and **feeds** an architecture/scoping spell; it does not author a PRD from scratch (that is `spell-plan`) nor implement one (`spell-implement`).
15
15
 
@@ -19,11 +19,11 @@ Enchant the provided PRD to exceptional quality.
19
19
 
20
20
  Use these files for context. All are optional — if a file is absent, fall back as noted and continue rather than aborting:
21
21
 
22
- - [governance/product-excellence-standards.md](../../governance/product-excellence-standards.md) — Quality dimensions, PRD Quality Scorecard, scoring rubric (Bronze / Silver / Gold). **If missing:** warn the user that the canonical scorecard was not found, then proceed with the embedded dimension list (Requirements Completeness, UX, Accessibility, Performance, Security, Responsive Design, Competitive Differentiation) and default to the **Public MVP** profile.
23
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology, story sizing rules. **If missing:** treat story sizing as advisory and proceed.
24
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Testing frameworks and coverage thresholds. **If missing:** omit framework-specific coverage targets from acceptance criteria.
22
+ - [governance/product-excellence-standards.md](../../.arcane/governance/product-excellence-standards.md) — Quality dimensions, PRD Quality Scorecard, scoring rubric (Bronze / Silver / Gold). **If missing:** warn the user that the canonical scorecard was not found, then proceed with the embedded dimension list (Requirements Completeness, UX, Accessibility, Performance, Security, Responsive Design, Competitive Differentiation) and default to the **Public MVP** profile.
23
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology, story sizing rules. **If missing:** treat story sizing as advisory and proceed.
24
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Testing frameworks and coverage thresholds. **If missing:** omit framework-specific coverage targets from acceptance criteria.
25
25
  - [security/threat-model.md](../../security/threat-model.md) — Active threat model. **If missing:** apply generic OWASP-style security baselines for the Security dimension.
26
- - [agents/agent-policies.md](../../agents/agent-policies.md) / [governance/naming-conventions.md](../../governance/naming-conventions.md) — Agent roster and persona naming. **If missing:** apply the two lenses (research, marketing/brand) without naming personas.
26
+ - [agents/agent-policies.md](../../.arcane/governance/agent-policies.md) / [governance/naming-conventions.md](../../.arcane/governance/naming-conventions.md) — Agent roster and persona naming. **If missing:** apply the two lenses (research, marketing/brand) without naming personas.
27
27
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to respect. **If missing:** assume no binding ADR constraints.
28
28
  - [project.md](../../project.md) — Project goals and business context. **If missing:** infer business context from the PRD itself and flag any assumptions.
29
29
 
@@ -42,7 +42,7 @@ Accept the PRD from one of these input sources:
42
42
  | **Tracker work item ID** | `#508` or `508` with a tracker reference | Respect `tracking_mode` and detect the provider (see below), then fetch the work item and extract its title, description, and acceptance criteria |
43
43
 
44
44
  If the input is a tracker work item ID:
45
- 1. **Determine tracking mode and provider.** Read `tracking_mode` (internal/external) from `.arcane.json` or PRD frontmatter, and detect the configured tracker provider rather than assuming one. The shared tracker-resolution rules live in [governance/development-methodology.md](../../governance/development-methodology.md) — follow them rather than hard-coding a single provider.
45
+ 1. **Determine tracking mode and provider.** Read `tracking_mode` (internal/external) from `.arcane.json` or PRD frontmatter, and detect the configured tracker provider rather than assuming one. The shared tracker-resolution rules live in [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — follow them rather than hard-coding a single provider.
46
46
  - For an **Azure DevOps** provider, fetch via `az boards work-item show --id {id} --org https://dev.azure.com/{ADO_ORG} --output json` and extract `System.Description`, `Microsoft.VSTS.Common.AcceptanceCriteria`, and `System.Title`. Resolve `{ADO_ORG}` (and `{ADO_PROJECT}` if needed) from `.arcane.json` or the PRD frontmatter; **if unset, ask the user** rather than assuming a default.
47
47
  - For other providers (e.g. a GitHub issue), use the provider's equivalent fetch and map title / body / acceptance-criteria fields accordingly.
48
48
  2. If the work item has child items, fetch those too — they may contain additional requirements.
@@ -93,7 +93,7 @@ For each dimension where the current score is **below the profile's target**, id
93
93
 
94
94
  ### 3. Research Phase (Research Lens)
95
95
 
96
- Apply the **research lens** (in the default Arcane roster this is the Alexander / Research & Backlog Analyst persona — see [agent-policies](../../agents/agent-policies.md) / [naming-conventions](../../governance/naming-conventions.md); other orgs map their own analyst). Conduct a thorough analysis:
96
+ Apply the **research lens** (in the default Arcane roster this is the Alexander / Research & Backlog Analyst persona — see [agent-policies](../../.arcane/governance/agent-policies.md) / [naming-conventions](../../.arcane/governance/naming-conventions.md); other orgs map their own analyst). Conduct a thorough analysis:
97
97
 
98
98
  #### 3a. Competitive Analysis
99
99
  - Identify the top 3 alternatives/competitors for this type of app
@@ -143,7 +143,7 @@ Document findings as (the persona name below reflects the default roster; substi
143
143
 
144
144
  ### 4. Marketing & Brand Review (Marketing/Brand Lens)
145
145
 
146
- Apply the **marketing/brand lens** (in the default Arcane roster this is the Circe / Marketing Strategist persona — see [agent-policies](../../agents/agent-policies.md) / [naming-conventions](../../governance/naming-conventions.md); other orgs map their own strategist). Evaluate the PRD from a brand and user-perception perspective:
146
+ Apply the **marketing/brand lens** (in the default Arcane roster this is the Circe / Marketing Strategist persona — see [agent-policies](../../.arcane/governance/agent-policies.md) / [naming-conventions](../../.arcane/governance/naming-conventions.md); other orgs map their own strategist). Evaluate the PRD from a brand and user-perception perspective:
147
147
 
148
148
  #### 4a. First Impressions
149
149
  - If a user saw this app for the first time with zero context, what would they think?
@@ -10,7 +10,7 @@ agent: agent
10
10
  - This prompt chains all Spell Loop phases into a single autonomous pipeline.
11
11
  - Includes optional PRD enchantment (spell-enchant) between Plan and Architect for quality enhancement.
12
12
  - Only one human touchpoint: approving the PR at ship time.
13
- - Delegates each phase to the appropriate specialized agent role (research, architecture, build, QA, marketing review). Resolve concrete personas from [agent-policies](../../governance/agent-policies.md) / [naming-conventions](../../governance/naming-conventions.md); if neither is present, proceed with role names directly.
13
+ - Delegates each phase to the appropriate specialized agent role (research, architecture, build, QA, marketing review). Resolve concrete personas from [agent-policies](../../.arcane/governance/agent-policies.md) / [naming-conventions](../../.arcane/governance/naming-conventions.md); if neither is present, proceed with role names directly.
14
14
  - If any phase fails, the pipeline halts and reports the blocker — no silent failures.
15
15
 
16
16
  ---
@@ -19,13 +19,13 @@ Run the complete Spell Loop end-to-end for the described feature.
19
19
 
20
20
  Use these files for context:
21
21
 
22
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology and stories.json format
23
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Testing frameworks and coverage requirements
24
- - [governance/cicd-standards.md](../../governance/cicd-standards.md) — CI/CD pipeline and deployment gates
25
- - [governance/git-conventions.md](../../governance/git-conventions.md) — Branch discipline and commit format
22
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology and stories.json format
23
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Testing frameworks and coverage requirements
24
+ - [governance/cicd-standards.md](../../.arcane/governance/cicd-standards.md) — CI/CD pipeline and deployment gates
25
+ - [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) — Branch discipline and commit format
26
26
  - [project.md](../../project.md) — Project goals and priorities
27
27
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to respect
28
- - [governance/product-excellence-standards.md](../../governance/product-excellence-standards.md) — PRD Quality Scorecard for enchantment
28
+ - [governance/product-excellence-standards.md](../../.arcane/governance/product-excellence-standards.md) — PRD Quality Scorecard for enchantment
29
29
 
30
30
  ---
31
31
 
@@ -10,7 +10,7 @@ agent: agent
10
10
  - This is the core autonomous loop of the Spell Loop methodology.
11
11
  - Each iteration: pick a story → implement → run tests → commit if passing → update stories.json → loop.
12
12
  - Uses fresh context per iteration — only stories.json, progress.txt, and git history carry forward.
13
- - See [[governance/development-methodology|Development Methodology]] for full Spell Loop reference.
13
+ - See [[.arcane/governance/development-methodology|Development Methodology]] for full Spell Loop reference.
14
14
 
15
15
  ---
16
16
 
@@ -18,8 +18,8 @@ Run the autonomous implementation loop for the current feature.
18
18
 
19
19
  Use these files for context:
20
20
 
21
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology
22
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Testing frameworks and coverage requirements
21
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology
22
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Testing frameworks and coverage requirements
23
23
  - The feature's `architecture.md` — for tech decisions and patterns
24
24
  - The feature's `stories.json` — for the work breakdown
25
25
  - The feature's `progress.txt` (in `features/{slug}/`, if present) — accumulated learnings from prior iterations; read it before each iteration and append new learnings as the loop proceeds
@@ -24,9 +24,9 @@ Use these files first:
24
24
  - [project.md](../../project.md)
25
25
  - [TODO.md](../../TODO.md)
26
26
  - [DECISIONS.md](../../DECISIONS.md)
27
- - [naming-conventions.md](../../naming-conventions.md)
27
+ - [naming-conventions.md](../../.arcane/governance/naming-conventions.md)
28
28
  - [ai-context/system-prompt-context.md](../../ai-context/system-prompt-context.md)
29
- - [agents/agent-policies.md](../../agents/agent-policies.md)
29
+ - [agents/agent-policies.md](../../.arcane/governance/agent-policies.md)
30
30
  - Most recent journal file(s) in [journal/](../../journal/)
31
31
  - Relevant business overview(s) under [ventures/](../../ventures/)
32
32
 
@@ -10,7 +10,7 @@ agent: agent
10
10
  - This prompt generates a PRD.md from a feature description or TODO item.
11
11
  - It follows a structured analysis pattern — requirements, acceptance criteria, and constraints.
12
12
  - Output feeds directly into `spell-architect` as the next phase of the Spell Loop.
13
- - See [[governance/development-methodology|Development Methodology]] for full Spell Loop reference.
13
+ - See [[.arcane/governance/development-methodology|Development Methodology]] for full Spell Loop reference.
14
14
 
15
15
  ---
16
16
 
@@ -18,7 +18,7 @@ Generate a Product Requirements Document for the described feature or initiative
18
18
 
19
19
  Use these files for context:
20
20
 
21
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop methodology
21
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology
22
22
  - [project.md](../../project.md) — Project goals and priorities
23
23
  - [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to respect
24
24
 
@@ -5,7 +5,7 @@ argument-hint: '[summary|deck] + optional audience/size — e.g., "for investors
5
5
  agent: agent
6
6
  ---
7
7
 
8
- See [[governance/development-methodology|Development Methodology]] for full Spell Loop reference. Project context: [[project|Project Overview]].
8
+ See [[.arcane/governance/development-methodology|Development Methodology]] for full Spell Loop reference. Project context: [[project|Project Overview]].
9
9
 
10
10
  ## Mode Selection
11
11
 
@@ -39,10 +39,10 @@ Read these files before generating the presentation. They are the ground truth *
39
39
  | [project.md](../../project.md) | Mission, vision, core principles, entities, goals | `README.md`, then ask the operator for the mission |
40
40
  | [ai-context/system-prompt-context.md](../../ai-context/system-prompt-context.md) | Environment, agent stack, current state | Infer environment from repo; omit slide detail if unknown |
41
41
  | [DECISIONS.md](../../DECISIONS.md) | Key ADRs — decisions that shaped the architecture | Skip ADR callouts; note that decision records are absent |
42
- | [agents/agent-capability-matrix.md](../../agents/agent-capability-matrix.md) | Agent lineup and capability tiers | `.github/agents/*.agent.md`; else present the system generically |
43
- | [agents/agent-policies.md](../../agents/agent-policies.md) | Power levels, autonomy model | [[governance/naming-conventions]]; else describe roles generically |
42
+ | `.github/agents/*.agent.md` | Agent lineup and capability tiers | Present the system generically if no generated agent files exist |
43
+ | [agents/agent-policies.md](../../.arcane/governance/agent-policies.md) | Power levels, autonomy model | [[.arcane/governance/naming-conventions]]; else describe roles generically |
44
44
  | `{BUSINESS_ROOT}/<business>/overview.md` | Per-business status (repeat for each business found) | Enumerate `{BUSINESS_ROOT}/*`; if none, present Arcane without a ventures act |
45
- | [governance/development-methodology.md](../../governance/development-methodology.md) | The Spell Loop — development workflow | Describe the Spell Loop from the spell library filenames |
45
+ | [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) | The Spell Loop — development workflow | Describe the Spell Loop from the spell library filenames |
46
46
  | `{INFRA_DOC}` — hardware/infra inventory (e.g. `infrastructure/hardware-inventory.md`) | Hardware context for demo credibility | Detect any infra/hardware doc; else omit the infrastructure slide |
47
47
  | [README.md](../../README.md) | Repo structure overview | List top-level directories directly |
48
48
 
@@ -87,7 +87,7 @@ Read these files before generating the presentation. They are the ground truth *
87
87
 
88
88
  5. **Arcane — the operating system for AI-run businesses** — What the repo is, what it contains, how it's structured
89
89
  6. **Security model** — full-disk encryption, least privilege, no root, SecretRef, private network mesh — why security is non-negotiable for a production system
90
- 7. **The AI agent stack** — the gateway plus the agent lineup, power levels, and tool profiles. Populate the roster from the agent-capability-matrix / `.github/agents/*.agent.md` (see [[governance/agent-policies]] / [[governance/naming-conventions]]); name each `{AGENT_NAME}` with its role rather than assuming a fixed cast. If no roster files exist, describe agent *roles* (e.g. research, marketing, ops, dev) generically.
90
+ 7. **The AI agent stack** — the gateway plus the agent lineup, power levels, and tool profiles. Populate the roster from the agent-capability-matrix / `.github/agents/*.agent.md` (see [[.arcane/governance/agent-policies]] / [[.arcane/governance/naming-conventions]]); name each `{AGENT_NAME}` with its role rather than assuming a fixed cast. If no roster files exist, describe agent *roles* (e.g. research, marketing, ops, dev) generically.
91
91
  8. **The Spell Loop** — Arcane's development methodology: spell-plan → spell-architect → spell-implement → spell-ship
92
92
  9. **Multi-client AI governance** — Same rules enforced across every AI client the operator uses. Cite the relevant governance ADR if a decision record exists (resolve the ADR id from `DECISIONS.md`); otherwise state the principle without an id.
93
93
  10. **Ventures overview** — one line per business found under `{BUSINESS_ROOT}` (e.g. `{BUSINESS_NAME}` — launch-ready, `{BUSINESS_NAME}` — active dev), plus the idea pipeline. If none exist, replace with a roadmap slide.
@@ -25,7 +25,7 @@ Use these files for context:
25
25
 
26
26
  - [project.md](../../project.md) — Business goals and priorities
27
27
  - The relevant business docs under `{BUSINESS_ROOT}/` — KPIs, metrics, and product strategy. **If `{BUSINESS_ROOT}` or these docs are missing, proceed with what `project.md` provides and flag the gap; if even `project.md` is absent, report "insufficient context to review" and list what is missing rather than inventing goals.**
28
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Spell Loop context
28
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop context
29
29
 
30
30
  Workflow:
31
31
 
@@ -10,7 +10,7 @@ agent: agent
10
10
  - This prompt performs an adversarial code review — "looks good" is not acceptable.
11
11
  - The reviewer must explicitly cover every lens — correctness, security, performance, tests, naming/clarity, architecture — and state "no issues" for any lens that is clean. There is no finding quota: zero findings is a valid outcome on a clean or small diff.
12
12
  - Checks architecture compliance, test coverage, security, and coding standards.
13
- - See [[governance/development-methodology|Development Methodology]] for the adversarial review pattern.
13
+ - See [[.arcane/governance/development-methodology|Development Methodology]] for the adversarial review pattern.
14
14
 
15
15
  ---
16
16
 
@@ -18,8 +18,8 @@ Perform an adversarial review of the specified code changes.
18
18
 
19
19
  Use these files for context:
20
20
 
21
- - [governance/development-methodology.md](../../governance/development-methodology.md) — Adversarial review requirements
22
- - [governance/testing-standards.md](../../governance/testing-standards.md) — Coverage thresholds to validate
21
+ - [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Adversarial review requirements
22
+ - [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Coverage thresholds to validate
23
23
  - [DECISIONS.md](../../DECISIONS.md) — ADRs to check compliance against
24
24
  - [security/threat-model.md](../../security/threat-model.md) — Security controls to validate
25
25
  - The feature's `architecture.md` — tech decisions that code must follow