arcane-cli 0.14.0 → 0.15.0

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 (65) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +253 -253
  3. package/dist/assets/.arcane/agents/agent-policies-template.md +414 -414
  4. package/dist/assets/.arcane/governance/agent-policies.md +414 -414
  5. package/dist/assets/.arcane/governance/agent-work-queue-model.md +61 -61
  6. package/dist/assets/.arcane/governance/cicd-standards.md +227 -227
  7. package/dist/assets/.arcane/governance/development-methodology.md +384 -384
  8. package/dist/assets/.arcane/governance/git-conventions.md +759 -759
  9. package/dist/assets/.arcane/governance/naming-conventions.md +142 -142
  10. package/dist/assets/.arcane/governance/new-business-setup.md +182 -182
  11. package/dist/assets/.arcane/governance/portable-bootstrap.md +101 -101
  12. package/dist/assets/.arcane/governance/product-excellence-standards.md +211 -211
  13. package/dist/assets/.arcane/governance/testing-standards.md +158 -158
  14. package/dist/assets/.arcane/governance/universal-agent-rules.md +108 -108
  15. package/dist/assets/.arcane/image-prompts/adelaide-image-prompt.md +140 -140
  16. package/dist/assets/.arcane/image-prompts/alexander-image-prompt.md +138 -138
  17. package/dist/assets/.arcane/image-prompts/bess-image-prompt.md +139 -139
  18. package/dist/assets/.arcane/image-prompts/circe-image-prompt.md +143 -143
  19. package/dist/assets/.arcane/image-prompts/custodio-image-prompt.md +140 -140
  20. package/dist/assets/.arcane/image-prompts/iris-image-prompt.md +139 -139
  21. package/dist/assets/.arcane/image-prompts/kellar-image-prompt.md +141 -141
  22. package/dist/assets/.arcane/image-prompts/lafayette-image-prompt.md +140 -140
  23. package/dist/assets/.arcane/image-prompts/lince-image-prompt.md +142 -142
  24. package/dist/assets/.arcane/image-prompts/mercurio-image-prompt.md +140 -140
  25. package/dist/assets/.arcane/image-prompts/merlin-image-prompt.md +139 -139
  26. package/dist/assets/.arcane/image-prompts/prospero-image-prompt.md +141 -141
  27. package/dist/assets/.claude/commands/spell-enchant.md +9 -9
  28. package/dist/assets/.github/agents/adelaide.agent.md +44 -44
  29. package/dist/assets/.github/agents/alexander.agent.md +43 -43
  30. package/dist/assets/.github/agents/bess.agent.md +42 -42
  31. package/dist/assets/.github/agents/circe.agent.md +43 -43
  32. package/dist/assets/.github/agents/custodio.agent.md +44 -44
  33. package/dist/assets/.github/agents/iris.agent.md +43 -43
  34. package/dist/assets/.github/agents/kellar.agent.md +43 -43
  35. package/dist/assets/.github/agents/lafayette.agent.md +42 -42
  36. package/dist/assets/.github/agents/lince.agent.md +43 -43
  37. package/dist/assets/.github/agents/mercurio.agent.md +43 -43
  38. package/dist/assets/.github/agents/merlin.agent.md +44 -44
  39. package/dist/assets/.github/agents/prospero.agent.md +43 -43
  40. package/dist/assets/.github/prompts/spell-close-session.prompt.md +17 -5
  41. package/dist/assets/.github/prompts/spell-commit-work.prompt.md +24 -6
  42. package/dist/assets/.github/prompts/spell-create-pull-request.prompt.md +12 -3
  43. package/dist/assets/.github/prompts/spell-enchant.prompt.md +385 -385
  44. package/dist/assets/.github/prompts/spell-feedback.prompt.md +113 -113
  45. package/dist/assets/.github/prompts/spell-full-cycle.prompt.md +202 -201
  46. package/dist/assets/.github/prompts/spell-implement.prompt.md +101 -101
  47. package/dist/assets/.github/prompts/spell-open-session.prompt.md +20 -5
  48. package/dist/assets/.github/prompts/spell-scope.prompt.md +263 -263
  49. package/dist/assets/agents/architecture-lead.yaml +61 -61
  50. package/dist/assets/agents/collaborator.yaml +59 -59
  51. package/dist/assets/agents/devops.yaml +60 -60
  52. package/dist/assets/agents/frontend-dev.yaml +60 -60
  53. package/dist/assets/agents/fullstack-dev.yaml +59 -59
  54. package/dist/assets/agents/marketing-strategist.yaml +60 -60
  55. package/dist/assets/agents/mobile-dev.yaml +59 -59
  56. package/dist/assets/agents/operations-comms.yaml +58 -58
  57. package/dist/assets/agents/orchestrator.yaml +60 -60
  58. package/dist/assets/agents/qa-lead.yaml +60 -60
  59. package/dist/assets/agents/research-analyst.yaml +59 -59
  60. package/dist/assets/agents/security-ops.yaml +61 -61
  61. package/dist/index.js +323 -7
  62. package/dist/index.js.map +1 -1
  63. package/package.json +72 -72
  64. package/dist/assets/.claude/commands/spell-eas-ios-deploy.md +0 -9
  65. package/dist/assets/.github/prompts/spell-eas-ios-deploy.prompt.md +0 -183
@@ -1,182 +1,182 @@
1
- ---
2
- title: New Business Setup Guide
3
- audience: both
4
- status: draft
5
- distributable: true
6
- tags: [playbook, setup, onboarding, replicability, attribution]
7
- ---
8
-
9
- # New Business Setup Guide
10
-
11
- The master guide for spinning up a new business ({venture}) under {LLC_NAME} using agent automation.
12
-
13
- ## Executive Summary
14
-
15
- - This playbook is the replication path from idea to operational business environment.
16
- - It sequences project creation, infrastructure alignment, security prerequisites, and agent readiness.
17
- - Follow this guide to reduce setup variance and avoid re-solving known operational decisions.
18
- - Use this as the default onboarding runbook for every new business launch.
19
-
20
- **Goal:** Follow this guide once and a new business is fully operational — project, repos, the agent runtime configured, infrastructure documented, legal basics covered.
21
-
22
- > **How this guide was built:** Every step here is meant to be done manually at least once for a new {venture}. As steps are validated, they get automated. Check the `scripts/` folder — if a script exists for a step, run the script instead of doing it by hand.
23
-
24
- ---
25
-
26
- ## Before You Start
27
-
28
- Have the following ready:
29
-
30
- - [ ] Business name decided (both brand name and slug, e.g. `{venture}`)
31
- - [ ] Business type clear (e-commerce, app, protocol, service)
32
- - [ ] Access to your version-control host / project organization
33
- - [ ] The agent runtime installed and operational
34
- - [ ] Full-disk encryption confirmed active on any machine that holds credentials or working copies
35
- - [ ] System clock correct and time sync enabled. **Critical:** an incorrect system clock breaks all SSL/HTTPS connections silently.
36
-
37
- ---
38
-
39
- ## Phase 1 — Project & Repo Setup
40
-
41
- ### Step 1.1 — Create the Project
42
-
43
- 1. Open your version-control host's project organization
44
- 2. Create a **New Project**
45
- 3. Name: the business slug (use your org's naming convention)
46
- 4. Description: brief one-liner describing the business
47
- 5. Visibility: **Private**
48
- 6. Version control: **Git**
49
- 7. Work item process: pick your tracker's default (Agile/Scrum/Kanban)
50
-
51
- > **Script:** `scripts/create-project.ps1` — automate once the manual steps are validated.
52
-
53
- ### Step 1.2 — Create Repos
54
-
55
- Inside the new project, create repos based on business type:
56
-
57
- **E-commerce business:**
58
- - `storefront` — platform config, theme, automation scripts
59
- - `inventory` — SKU tracking, reorder logic
60
- - `marketing` — social content, SEO, copy templates
61
-
62
- **App business:**
63
- - `app` — application code
64
- - `api` — backend/API
65
- - `requirements` — specs, wireframes, design docs
66
-
67
- **Protocol / whitepaper:**
68
- - `whitepaper` — the spec document
69
-
70
- To create a repo: Project → **Repos** → **New repository** → name → **Create**.
71
-
72
- ### Step 1.3 — Copy Business Template into Docs Repo
73
-
74
- In your docs/ops repo, copy `ventures/_template/` to `ventures/{venture}/` as a **reference hub** and fill in:
75
-
76
- - `overview.md` — what the business is, current status, automation scope, blockers
77
- - links/pointers to the business's dedicated project repos for runtime artifacts
78
-
79
- > **Boundary rule:** the ops/docs repo stores shared framework + references. Business runtime artifacts live in business-specific project repos.
80
-
81
- ---
82
-
83
- ## Phase 2 — Infrastructure & Security
84
-
85
- ### Step 2.1 — Confirm Security Baseline
86
-
87
- Before running the agent runtime for any new business, verify:
88
-
89
- - [ ] Full-disk encryption active on machines holding credentials or working copies
90
- - [ ] Host hardening checklist complete ([[security/hardening-checklist|Hardening Checklist]])
91
- - [ ] Agent policies reviewed for this business ([[agents/agent-policies|Agent Policies]])
92
- - [ ] Runtime hardening enforcement checklist executed
93
-
94
- ### Step 2.2 — Clone the Docs Repo
95
-
96
- ```bash
97
- git clone <docs-repo-url> ~/code/{repo}
98
- ```
99
-
100
- ---
101
-
102
- ## Phase 3 — Agent Runtime Configuration
103
-
104
- ### Step 3.1 — Install the Agent Runtime (if not already installed)
105
-
106
- See [[agents/installation|Runtime Installation]].
107
-
108
- ### Step 3.2 — Configure the Runtime for This Business
109
-
110
- - Use the reference template in [[ventures/_template/overview|Business Template]] to capture scope and links
111
- - Apply business-specific runtime configuration in that business's own project repos and environment
112
- - Review [[agents/agent-policies|Agent Policies]] — adjust permitted actions if needed for this business type
113
-
114
- ### Step 3.3 — Agent Git Identity Setup
115
-
116
- Every agent that will produce commits for this business must have a registered Git identity **before making its first commit**. See [[governance/git-conventions#agent-attribution-model|Git Conventions — Agent Attribution]].
117
-
118
- For each agent assigned to this business:
119
-
120
- 1. **Confirm persona name** is registered in [[naming-conventions|Naming Conventions]] agent roster.
121
- 2. **Confirm Git identity** exists in the registered identities table in [[governance/git-conventions#agent-email-convention|Git Conventions]].
122
- 3. **Add agent to `.mailmap`** in every repo the agent will commit to:
123
- ```
124
- {AGENT_NAME} <{AGENT_EMAIL}>
125
- ```
126
- 4. **Verify** you can commit with the agent's author:
127
- ```bash
128
- git commit --allow-empty --author="{AGENT_NAME} <{AGENT_EMAIL}>" \
129
- --trailer="Agent=kellar" --trailer="Model=test" --trailer="Provider=test" \
130
- -m "test: verify agent git identity for {AGENT_NAME}"
131
- git log -1 # confirm author shows {AGENT_NAME}
132
- git reset HEAD~1 # clean up test commit
133
- ```
134
-
135
- ### Step 3.4 — Test Run
136
-
137
- Run the agent runtime in dry-run / observation mode first. Do not let it execute live actions until you've reviewed its behavior.
138
-
139
- ---
140
-
141
- ## Phase 4 — Legal Baseline
142
-
143
- ### Step 4.1 — Business Entity
144
-
145
- - Confirm operations run under {LLC_NAME}
146
- - If this business has meaningfully different liability exposure (e.g. physical goods vs. software), consult an attorney
147
-
148
- ### Step 4.2 — Sales Tax (Physical Goods Only)
149
-
150
- - Register for sales tax in your home jurisdiction if not already done
151
- - Identify nexus states based on where you'll sell
152
- - Configure tax collection on the platform (Shopify, Etsy, etc.)
153
-
154
- ### Step 4.3 — Platform Terms of Service
155
-
156
- - Review the selling platform's ToS for AI-generated listings/content
157
- - Review your agent runtime's ToS for commercial use
158
-
159
- ---
160
-
161
- ## Phase 5 — First Launch Checklist
162
-
163
- - [ ] At least 10 product listings live (or equivalent for non-e-commerce)
164
- - [ ] Order/fulfillment workflow tested end-to-end
165
- - [ ] The agent runtime running and monitored (see `agents/monitoring.md`)
166
- - [ ] Legal baseline complete
167
- - [ ] `ventures/{venture}/overview.md` status updated to reflect live status
168
- - [ ] Journal entry written in `journal/YYYY-MM-DD-topic-slug.md` documenting launch
169
-
170
- ---
171
-
172
- ## What to Automate Next
173
-
174
- As you complete this guide manually for each business, flag steps that are repetitive and mechanical. Those become scripts. Priority candidates:
175
-
176
- - Project + repo creation (`scripts/create-project.ps1`)
177
- - Runtime config generation from a template (`scripts/configure-runtime.sh`)
178
- - Repo initialization with standard folder structure
179
-
180
- ---
181
-
182
- *Fill in this guide as you go. Every blank or TBD here is something you'll encounter during your first {venture} setup — document it then, not in advance.*
1
+ ---
2
+ title: New Business Setup Guide
3
+ audience: both
4
+ status: draft
5
+ distributable: true
6
+ tags: [playbook, setup, onboarding, replicability, attribution]
7
+ ---
8
+
9
+ # New Business Setup Guide
10
+
11
+ The master guide for spinning up a new business ({venture}) under {LLC_NAME} using agent automation.
12
+
13
+ ## Executive Summary
14
+
15
+ - This playbook is the replication path from idea to operational business environment.
16
+ - It sequences project creation, infrastructure alignment, security prerequisites, and agent readiness.
17
+ - Follow this guide to reduce setup variance and avoid re-solving known operational decisions.
18
+ - Use this as the default onboarding runbook for every new business launch.
19
+
20
+ **Goal:** Follow this guide once and a new business is fully operational — project, repos, the agent runtime configured, infrastructure documented, legal basics covered.
21
+
22
+ > **How this guide was built:** Every step here is meant to be done manually at least once for a new {venture}. As steps are validated, they get automated. Check the `scripts/` folder — if a script exists for a step, run the script instead of doing it by hand.
23
+
24
+ ---
25
+
26
+ ## Before You Start
27
+
28
+ Have the following ready:
29
+
30
+ - [ ] Business name decided (both brand name and slug, e.g. `{venture}`)
31
+ - [ ] Business type clear (e-commerce, app, protocol, service)
32
+ - [ ] Access to your version-control host / project organization
33
+ - [ ] The agent runtime installed and operational
34
+ - [ ] Full-disk encryption confirmed active on any machine that holds credentials or working copies
35
+ - [ ] System clock correct and time sync enabled. **Critical:** an incorrect system clock breaks all SSL/HTTPS connections silently.
36
+
37
+ ---
38
+
39
+ ## Phase 1 — Project & Repo Setup
40
+
41
+ ### Step 1.1 — Create the Project
42
+
43
+ 1. Open your version-control host's project organization
44
+ 2. Create a **New Project**
45
+ 3. Name: the business slug (use your org's naming convention)
46
+ 4. Description: brief one-liner describing the business
47
+ 5. Visibility: **Private**
48
+ 6. Version control: **Git**
49
+ 7. Work item process: pick your tracker's default (Agile/Scrum/Kanban)
50
+
51
+ > **Script:** `scripts/create-project.ps1` — automate once the manual steps are validated.
52
+
53
+ ### Step 1.2 — Create Repos
54
+
55
+ Inside the new project, create repos based on business type:
56
+
57
+ **E-commerce business:**
58
+ - `storefront` — platform config, theme, automation scripts
59
+ - `inventory` — SKU tracking, reorder logic
60
+ - `marketing` — social content, SEO, copy templates
61
+
62
+ **App business:**
63
+ - `app` — application code
64
+ - `api` — backend/API
65
+ - `requirements` — specs, wireframes, design docs
66
+
67
+ **Protocol / whitepaper:**
68
+ - `whitepaper` — the spec document
69
+
70
+ To create a repo: Project → **Repos** → **New repository** → name → **Create**.
71
+
72
+ ### Step 1.3 — Copy Business Template into Docs Repo
73
+
74
+ In your docs/ops repo, copy `ventures/_template/` to `ventures/{venture}/` as a **reference hub** and fill in:
75
+
76
+ - `overview.md` — what the business is, current status, automation scope, blockers
77
+ - links/pointers to the business's dedicated project repos for runtime artifacts
78
+
79
+ > **Boundary rule:** the ops/docs repo stores shared framework + references. Business runtime artifacts live in business-specific project repos.
80
+
81
+ ---
82
+
83
+ ## Phase 2 — Infrastructure & Security
84
+
85
+ ### Step 2.1 — Confirm Security Baseline
86
+
87
+ Before running the agent runtime for any new business, verify:
88
+
89
+ - [ ] Full-disk encryption active on machines holding credentials or working copies
90
+ - [ ] Host hardening checklist complete ([[security/hardening-checklist|Hardening Checklist]])
91
+ - [ ] Agent policies reviewed for this business ([[agents/agent-policies|Agent Policies]])
92
+ - [ ] Runtime hardening enforcement checklist executed
93
+
94
+ ### Step 2.2 — Clone the Docs Repo
95
+
96
+ ```bash
97
+ git clone <docs-repo-url> ~/code/{repo}
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Phase 3 — Agent Runtime Configuration
103
+
104
+ ### Step 3.1 — Install the Agent Runtime (if not already installed)
105
+
106
+ See [[agents/installation|Runtime Installation]].
107
+
108
+ ### Step 3.2 — Configure the Runtime for This Business
109
+
110
+ - Use the reference template in [[ventures/_template/overview|Business Template]] to capture scope and links
111
+ - Apply business-specific runtime configuration in that business's own project repos and environment
112
+ - Review [[agents/agent-policies|Agent Policies]] — adjust permitted actions if needed for this business type
113
+
114
+ ### Step 3.3 — Agent Git Identity Setup
115
+
116
+ Every agent that will produce commits for this business must have a registered Git identity **before making its first commit**. See [[governance/git-conventions#agent-attribution-model|Git Conventions — Agent Attribution]].
117
+
118
+ For each agent assigned to this business:
119
+
120
+ 1. **Confirm persona name** is registered in [[naming-conventions|Naming Conventions]] agent roster.
121
+ 2. **Confirm Git identity** exists in the registered identities table in [[governance/git-conventions#agent-email-convention|Git Conventions]].
122
+ 3. **Add agent to `.mailmap`** in every repo the agent will commit to:
123
+ ```
124
+ {AGENT_NAME} <{AGENT_EMAIL}>
125
+ ```
126
+ 4. **Verify** you can commit with the agent's author:
127
+ ```bash
128
+ git commit --allow-empty --author="{AGENT_NAME} <{AGENT_EMAIL}>" \
129
+ --trailer="Agent=kellar" --trailer="Model=test" --trailer="Provider=test" \
130
+ -m "test: verify agent git identity for {AGENT_NAME}"
131
+ git log -1 # confirm author shows {AGENT_NAME}
132
+ git reset HEAD~1 # clean up test commit
133
+ ```
134
+
135
+ ### Step 3.4 — Test Run
136
+
137
+ Run the agent runtime in dry-run / observation mode first. Do not let it execute live actions until you've reviewed its behavior.
138
+
139
+ ---
140
+
141
+ ## Phase 4 — Legal Baseline
142
+
143
+ ### Step 4.1 — Business Entity
144
+
145
+ - Confirm operations run under {LLC_NAME}
146
+ - If this business has meaningfully different liability exposure (e.g. physical goods vs. software), consult an attorney
147
+
148
+ ### Step 4.2 — Sales Tax (Physical Goods Only)
149
+
150
+ - Register for sales tax in your home jurisdiction if not already done
151
+ - Identify nexus states based on where you'll sell
152
+ - Configure tax collection on the platform (Shopify, Etsy, etc.)
153
+
154
+ ### Step 4.3 — Platform Terms of Service
155
+
156
+ - Review the selling platform's ToS for AI-generated listings/content
157
+ - Review your agent runtime's ToS for commercial use
158
+
159
+ ---
160
+
161
+ ## Phase 5 — First Launch Checklist
162
+
163
+ - [ ] At least 10 product listings live (or equivalent for non-e-commerce)
164
+ - [ ] Order/fulfillment workflow tested end-to-end
165
+ - [ ] The agent runtime running and monitored (see `agents/monitoring.md`)
166
+ - [ ] Legal baseline complete
167
+ - [ ] `ventures/{venture}/overview.md` status updated to reflect live status
168
+ - [ ] Journal entry written in `journal/YYYY-MM-DD-topic-slug.md` documenting launch
169
+
170
+ ---
171
+
172
+ ## What to Automate Next
173
+
174
+ As you complete this guide manually for each business, flag steps that are repetitive and mechanical. Those become scripts. Priority candidates:
175
+
176
+ - Project + repo creation (`scripts/create-project.ps1`)
177
+ - Runtime config generation from a template (`scripts/configure-runtime.sh`)
178
+ - Repo initialization with standard folder structure
179
+
180
+ ---
181
+
182
+ *Fill in this guide as you go. Every blank or TBD here is something you'll encounter during your first {venture} setup — document it then, not in advance.*
@@ -1,101 +1,101 @@
1
- ---
2
- title: Portable Bootstrap — Quick Context for Ad-Hoc AI Clients
3
- audience: ai
4
- status: active
5
- tags: [ai-context, bootstrap, multi-client, portable]
6
- ---
7
-
8
- # Portable Bootstrap
9
-
10
- Paste this entire file into any AI client (Claude web, ChatGPT, etc.) to give it working context for this project. For full detail, read the linked files in the repo.
11
-
12
- ---
13
-
14
- ## Project
15
-
16
- **Arcane** — Operational documentation for running AI-automated businesses under {LLC_NAME} (owner: {OPERATOR_NAME}). Uses an agent runtime to automate operations across one or more ventures.
17
-
18
- **This is a documentation-only repository.** No build commands, test suites, or deployable code. Do not add automation without being asked.
19
-
20
- ## Environment
21
-
22
- - **Primary machine:** the host where the agent runtime executes.
23
- - **Disk encryption:** full-disk encryption active on machines holding credentials or working copies.
24
- - **Agent runtime:** one or more agents configured. Runtime gateway bound to loopback, token auth via SecretRef, exposed remotely only through an authenticated tunnel if needed.
25
- - **User:** a dedicated non-root user.
26
-
27
- ## Non-Negotiable Rules
28
-
29
- 1. **Never access an encrypted or cross-OS volume you are not authorized to touch.** This rule stands as defense-in-depth regardless of encryption status.
30
- 2. **No root commands** unless explicitly scoped and justified.
31
- 3. **No secrets on the command line.** Use env vars and `read -s`.
32
- 4. **Update `last_updated` frontmatter** when editing any document.
33
- 5. **Log significant decisions** in DECISIONS.md as ADRs.
34
- 6. **Production system** — no shortcuts, no "fix it later."
35
- 7. **Conventional Commits** format: `type(scope): description`.
36
- 8. **Never auto-commit** during interactive sessions — present for approval first.
37
- 9. **Recommendation guardrails:** Flag actionable recommendations. Verify information. Present free alternatives. Confirm >$50 items.
38
-
39
- ## Key Files
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` |
49
-
50
- ## Documentation Format
51
-
52
- Every doc uses YAML frontmatter: `title`, `audience` (human/ai/both), `last_updated`, `status` (draft/active/deprecated), `tags`. Use wiki-links (`[[filename]]`) for cross-references.
53
-
54
- ## Naming Tiers
55
-
56
- | Tier | Style | Examples |
57
- | --------- | --------------- | ----------------------------------------- |
58
- | Machines | Iconic names | Atlas, Voyager |
59
- | AI Agents | Persona + role | Merlin — CTO, {AGENT_NAME} — Product Ops |
60
- | Systems | Functional slug | `inventory-api`, `orders-worker` |
61
-
62
- ## Version Control Host
63
-
64
- Use your chosen host's project organization ({ADO_ORG}). Apply a consistent project/repo naming convention. One project per business + one shared docs/ops project.
65
-
66
- ## Spell Commands (Development Methodology)
67
-
68
- Development follows the **Spell Loop** — structured planning phases feeding an autonomous implementation loop, delivered through the spell system. All workflows go through this flow.
69
-
70
- **Available spells** (invoke by typing the command name in your message):
71
-
72
- ### Core Loop: Plan → Architect → Implement → Test → Review → Ship
73
-
74
- - `spell-plan` — Plan a feature (output: PRD.md)
75
- - `spell-architect` — Design the solution (output: architecture.md + stories.json)
76
- - `spell-implement` — Write code per story
77
- - `spell-test` — Run QA and verify
78
- - `spell-review` — Adversarial code review
79
- - `spell-ship` — Merge and deploy
80
-
81
- ### Session Management
82
-
83
- - `spell-open-session` — Rebuild context after reset; read core docs, identify unfinished work, prioritize
84
- - `spell-close-session` — End-of-session cleanup: stage changes, curate screenshots, propose commits, journal
85
-
86
- ### Operational
87
-
88
- - `spell-commit-work` — Standard Git workflow: stage → message → approve → execute
89
- - `spell-todo` — Review TODO.md, prioritize, move resolved items to canonical docs
90
- - `spell-check-drift` — Find stale assumptions in docs vs. reality
91
- - `spell-bootstrap-business` — Initialize a new business: folder, template docs, project setup
92
-
93
- ### Specialized
94
-
95
- - `spell-security-review` — Audit for security gaps, credential exposure, threat coverage
96
- - `spell-product-review` — Evaluate business readiness: market fit, automation scope, blockers
97
- - `spell-dotnet-expert` — .NET/Blazor deep-dive
98
- - `spell-explain-concept` — Break down complex architecture concepts
99
- - `spell-generate-bot-icons` — Create agent personas and icons
100
-
101
- Full reference: See `governance/development-methodology.md` in the repo.
1
+ ---
2
+ title: Portable Bootstrap — Quick Context for Ad-Hoc AI Clients
3
+ audience: ai
4
+ status: active
5
+ tags: [ai-context, bootstrap, multi-client, portable]
6
+ ---
7
+
8
+ # Portable Bootstrap
9
+
10
+ Paste this entire file into any AI client (Claude web, ChatGPT, etc.) to give it working context for this project. For full detail, read the linked files in the repo.
11
+
12
+ ---
13
+
14
+ ## Project
15
+
16
+ **Arcane** — Operational documentation for running AI-automated businesses under {LLC_NAME} (owner: {OPERATOR_NAME}). Uses an agent runtime to automate operations across one or more ventures.
17
+
18
+ **This is a documentation-only repository.** No build commands, test suites, or deployable code. Do not add automation without being asked.
19
+
20
+ ## Environment
21
+
22
+ - **Primary machine:** the host where the agent runtime executes.
23
+ - **Disk encryption:** full-disk encryption active on machines holding credentials or working copies.
24
+ - **Agent runtime:** one or more agents configured. Runtime gateway bound to loopback, token auth via SecretRef, exposed remotely only through an authenticated tunnel if needed.
25
+ - **User:** a dedicated non-root user.
26
+
27
+ ## Non-Negotiable Rules
28
+
29
+ 1. **Never access an encrypted or cross-OS volume you are not authorized to touch.** This rule stands as defense-in-depth regardless of encryption status.
30
+ 2. **No root commands** unless explicitly scoped and justified.
31
+ 3. **No secrets on the command line.** Use env vars and `read -s`.
32
+ 4. **Update `last_updated` frontmatter** when editing any document.
33
+ 5. **Log significant decisions** in DECISIONS.md as ADRs.
34
+ 6. **Production system** — no shortcuts, no "fix it later."
35
+ 7. **Conventional Commits** format: `type(scope): description`.
36
+ 8. **Never auto-commit** during interactive sessions — present for approval first.
37
+ 9. **Recommendation guardrails:** Flag actionable recommendations. Verify information. Present free alternatives. Confirm >$50 items.
38
+
39
+ ## Key Files
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` |
49
+
50
+ ## Documentation Format
51
+
52
+ Every doc uses YAML frontmatter: `title`, `audience` (human/ai/both), `last_updated`, `status` (draft/active/deprecated), `tags`. Use wiki-links (`[[filename]]`) for cross-references.
53
+
54
+ ## Naming Tiers
55
+
56
+ | Tier | Style | Examples |
57
+ | --------- | --------------- | ----------------------------------------- |
58
+ | Machines | Iconic names | Atlas, Voyager |
59
+ | AI Agents | Persona + role | Merlin — CTO, {AGENT_NAME} — Product Ops |
60
+ | Systems | Functional slug | `inventory-api`, `orders-worker` |
61
+
62
+ ## Version Control Host
63
+
64
+ Use your chosen host's project organization ({ADO_ORG}). Apply a consistent project/repo naming convention. One project per business + one shared docs/ops project.
65
+
66
+ ## Spell Commands (Development Methodology)
67
+
68
+ Development follows the **Spell Loop** — structured planning phases feeding an autonomous implementation loop, delivered through the spell system. All workflows go through this flow.
69
+
70
+ **Available spells** (invoke by typing the command name in your message):
71
+
72
+ ### Core Loop: Plan → Architect → Implement → Test → Review → Ship
73
+
74
+ - `spell-plan` — Plan a feature (output: PRD.md)
75
+ - `spell-architect` — Design the solution (output: architecture.md + stories.json)
76
+ - `spell-implement` — Write code per story
77
+ - `spell-test` — Run QA and verify
78
+ - `spell-review` — Adversarial code review
79
+ - `spell-ship` — Merge and deploy
80
+
81
+ ### Session Management
82
+
83
+ - `spell-open-session` — Rebuild context after reset; read core docs, identify unfinished work, prioritize
84
+ - `spell-close-session` — End-of-session cleanup: stage changes, curate screenshots, propose commits, journal
85
+
86
+ ### Operational
87
+
88
+ - `spell-commit-work` — Standard Git workflow: stage → message → approve → execute
89
+ - `spell-todo` — Review TODO.md, prioritize, move resolved items to canonical docs
90
+ - `spell-check-drift` — Find stale assumptions in docs vs. reality
91
+ - `spell-bootstrap-business` — Initialize a new business: folder, template docs, project setup
92
+
93
+ ### Specialized
94
+
95
+ - `spell-security-review` — Audit for security gaps, credential exposure, threat coverage
96
+ - `spell-product-review` — Evaluate business readiness: market fit, automation scope, blockers
97
+ - `spell-dotnet-expert` — .NET/Blazor deep-dive
98
+ - `spell-explain-concept` — Break down complex architecture concepts
99
+ - `spell-generate-bot-icons` — Create agent personas and icons
100
+
101
+ Full reference: See `governance/development-methodology.md` in the repo.