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.
- package/dist/assets/.arcane/governance/agent-work-queue-model.md +13 -13
- package/dist/assets/.arcane/governance/decision-documentation-standard.md +18 -18
- package/dist/assets/.arcane/governance/framework-decisions.md +71 -0
- package/dist/assets/.arcane/governance/git-conventions.md +1 -1
- package/dist/assets/.arcane/governance/portable-bootstrap.md +20 -13
- package/dist/assets/.github/prompts/spell-architect.prompt.md +3 -3
- package/dist/assets/.github/prompts/spell-bootstrap-business.prompt.md +1 -1
- package/dist/assets/.github/prompts/spell-brainstorm.prompt.md +2 -2
- package/dist/assets/.github/prompts/spell-bug.prompt.md +6 -6
- package/dist/assets/.github/prompts/spell-check-drift.prompt.md +1 -1
- package/dist/assets/.github/prompts/spell-close-session.prompt.md +1 -1
- package/dist/assets/.github/prompts/spell-commit-work.prompt.md +3 -3
- package/dist/assets/.github/prompts/spell-enchant.prompt.md +8 -8
- package/dist/assets/.github/prompts/spell-full-cycle.prompt.md +6 -6
- package/dist/assets/.github/prompts/spell-implement.prompt.md +3 -3
- package/dist/assets/.github/prompts/spell-open-session.prompt.md +2 -2
- package/dist/assets/.github/prompts/spell-plan.prompt.md +2 -2
- package/dist/assets/.github/prompts/spell-present-arcane.prompt.md +5 -5
- package/dist/assets/.github/prompts/spell-product-review.prompt.md +1 -1
- package/dist/assets/.github/prompts/spell-review.prompt.md +3 -3
- package/dist/assets/.github/prompts/spell-scope.prompt.md +7 -7
- package/dist/assets/.github/prompts/spell-ship.prompt.md +5 -5
- package/dist/assets/.github/prompts/spell-suggest-feature.prompt.md +4 -4
- package/dist/assets/.github/prompts/spell-test.prompt.md +3 -3
- package/dist/assets/.github/prompts/spell-todo.prompt.md +1 -1
- package/dist/assets/README.md +14 -0
- package/dist/assets/project.md +26 -0
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
|
@@ -18,15 +18,15 @@ Analyze the provided PRD and produce a scoped execution plan.
|
|
|
18
18
|
|
|
19
19
|
Use these files for context. Each is optional — if a file is missing, proceed with the stated fallback and note the gap in the output's Open Questions:
|
|
20
20
|
|
|
21
|
-
- [governance/development-methodology.md](
|
|
22
|
-
- [governance/testing-standards.md](
|
|
23
|
-
- [governance/cicd-standards.md](
|
|
21
|
+
- [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop methodology, story sizing rules, and the canonical **ADO Hierarchy Rules**. *Fallback: if missing, use the default sizing of 4–8 right-sized stories per cycle described below and skip external-tracker hierarchy mapping.*
|
|
22
|
+
- [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Testing frameworks per stack. *Fallback: if missing, flag test strategy as an open question.*
|
|
23
|
+
- [governance/cicd-standards.md](../../.arcane/governance/cicd-standards.md) — Pipeline requirements. *Fallback: if missing, omit pipeline considerations.*
|
|
24
24
|
- [DECISIONS.md](../../DECISIONS.md) — Existing ADRs to check against. *Fallback: if missing, treat all architecture decisions as new candidates.*
|
|
25
25
|
- [security/threat-model.md](../../security/threat-model.md) — Active threat model. *Fallback: if missing, apply OWASP Top 10 as the baseline.*
|
|
26
|
-
- [agents/agent-policies.md](
|
|
27
|
-
- [naming-conventions.md](
|
|
26
|
+
- [agents/agent-policies.md](../../.arcane/governance/agent-policies.md) — Agent roster, power levels, capabilities. *Fallback: if missing, assign work by role label (architecture, backend, frontend, mobile, QA, DevOps, research) instead of named personas.*
|
|
27
|
+
- [naming-conventions.md](../../.arcane/governance/naming-conventions.md) — Agent roster and role-to-persona mapping. *Fallback: if missing, refer to roles by their generic label.*
|
|
28
28
|
- [project.md](../../project.md) — Project goals and business context. *Fallback: if missing, derive context from the PRD itself.*
|
|
29
|
-
- [governance/product-excellence-standards.md](
|
|
29
|
+
- [governance/product-excellence-standards.md](../../.arcane/governance/product-excellence-standards.md) — PRD Quality Scorecard and scoring rubric. *Fallback: if missing, skip the Quality Quick-Check (section 1.5) and note that it was skipped.*
|
|
30
30
|
|
|
31
31
|
> **Roster by reference.** This spell maps work to **roles** (architecture, backend, frontend, mobile, QA, DevOps, research, marketing). Resolve each role to a concrete agent persona via `agents/agent-policies.md` / `naming-conventions.md` at run time — do not assume a fixed set of persona names.
|
|
32
32
|
|
|
@@ -118,7 +118,7 @@ For each epic, define:
|
|
|
118
118
|
|
|
119
119
|
Only applies when `tracking_mode=external`. Skip entirely for internal mode.
|
|
120
120
|
|
|
121
|
-
Do **not** inline the work-item-type fallback order or the parent/child linkage rules here — they are the single source of truth in [governance/development-methodology.md](
|
|
121
|
+
Do **not** inline the work-item-type fallback order or the parent/child linkage rules here — they are the single source of truth in [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) → **Process-Template-Aware ADO Hierarchy Rules**. Detect the provider from `external_provider`, then apply those rules. *Fallback: if that doc is missing, record the tracker mapping as an Open Question and proceed without item-type assignment.*
|
|
122
122
|
|
|
123
123
|
Scope-specific delta (the only thing this spell adds on top of those rules): each split **epic** maps to the **Epic-level** logical level — use the `Epic` work item type whenever the resolved provider/template offers it, and record the selected type per epic in `execution-plan.md`. All lower-level and linkage decisions defer to the governance rules above.
|
|
124
124
|
|
|
@@ -18,10 +18,10 @@ Run the ship workflow for the specified branch or PR.
|
|
|
18
18
|
|
|
19
19
|
Use these files for context:
|
|
20
20
|
|
|
21
|
-
- [governance/development-methodology.md](
|
|
22
|
-
- [governance/cicd-standards.md](
|
|
23
|
-
- [governance/testing-standards.md](
|
|
24
|
-
- [governance/git-conventions.md](
|
|
21
|
+
- [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop phases
|
|
22
|
+
- [governance/cicd-standards.md](../../.arcane/governance/cicd-standards.md) — CI/CD pipeline requirements and deployment gates
|
|
23
|
+
- [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Coverage thresholds
|
|
24
|
+
- [governance/git-conventions.md](../../.arcane/governance/git-conventions.md) — Branch policies and merge strategy
|
|
25
25
|
|
|
26
26
|
Workflow:
|
|
27
27
|
|
|
@@ -86,7 +86,7 @@ Workflow:
|
|
|
86
86
|
7. **Request human approval** — present the ship report and wait for explicit approval.
|
|
87
87
|
|
|
88
88
|
8. **Execute merge** (after approval):
|
|
89
|
-
- Merge using the project's merge strategy as defined in [governance/git-conventions.md](
|
|
89
|
+
- Merge using the project's merge strategy as defined in [governance/git-conventions.md](../../.arcane/governance/git-conventions.md). **Do NOT squash** — squash merges are prohibited because they collapse per-commit attribution. Prefer rebase and fast-forward.
|
|
90
90
|
- Verify CI passes on the target branch post-merge.
|
|
91
91
|
- Tag release if applicable.
|
|
92
92
|
|
|
@@ -10,7 +10,7 @@ agent: agent
|
|
|
10
10
|
- This prompt captures feature suggestions discovered during smoke testing or regular use.
|
|
11
11
|
- It creates a structured user story, assesses impact, and files a tracker item using whatever provider the repo is configured for (respects `tracking_mode`; ADO is one option, not an assumption).
|
|
12
12
|
- Output is a tracked backlog item ready for future `spell-plan` invocation (or `spell-scope` for large, multi-feature suggestions).
|
|
13
|
-
- See [[governance/development-methodology|Development Methodology]] for the full Spell Loop reference and tracker-provider specifics.
|
|
13
|
+
- See [[.arcane/governance/development-methodology|Development Methodology]] for the full Spell Loop reference and tracker-provider specifics.
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ Capture and document the described feature suggestion.
|
|
|
18
18
|
|
|
19
19
|
Use these files for context:
|
|
20
20
|
|
|
21
|
-
- [governance/development-methodology.md](
|
|
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 check for overlap
|
|
24
24
|
- [TODO.md](../../TODO.md) — Current backlog items
|
|
@@ -72,7 +72,7 @@ Workflow:
|
|
|
72
72
|
Extract the work item ID from the response.
|
|
73
73
|
- If `tracking_mode=internal`, skip external item creation and track in `TODO.md` only.
|
|
74
74
|
- If `external_provider=jira` or `other`, add a TODO note for provider-specific automation and continue with `TODO.md` tracking.
|
|
75
|
-
- The ADO command above is illustrative; for the authoritative per-provider creation steps and field mappings, see [[governance/development-methodology|Development Methodology]].
|
|
75
|
+
- The ADO command above is illustrative; for the authoritative per-provider creation steps and field mappings, see [[.arcane/governance/development-methodology|Development Methodology]].
|
|
76
76
|
|
|
77
77
|
6. **Update backlog** — add a line to `TODO.md`:
|
|
78
78
|
```markdown
|
|
@@ -107,4 +107,4 @@ This spell sits at the front of the Spell Loop — it captures and tracks; it do
|
|
|
107
107
|
- **Feeds into [[spell-scope|spell-scope]]** for large or multi-feature suggestions — if the impact assessment lands on **L** effort (or the idea spans several features), route it to `spell-scope` first to break it down before planning.
|
|
108
108
|
- **Consumes from usage/testing** — there is no upstream spell; suggestions originate from smoke testing or regular use (e.g. while running `spell-test`).
|
|
109
109
|
|
|
110
|
-
See [[governance/development-methodology|Development Methodology]] for the canonical Spell Loop hand-off flow.
|
|
110
|
+
See [[.arcane/governance/development-methodology|Development Methodology]] for the canonical Spell Loop hand-off flow.
|
|
@@ -10,7 +10,7 @@ agent: agent
|
|
|
10
10
|
- This prompt runs tests, validates coverage against thresholds, and generates evidence artifacts.
|
|
11
11
|
- Used after `spell-implement` to verify quality before `spell-review`.
|
|
12
12
|
- Enforces the testing standards from ADR-050 (80% line / 95% critical path coverage).
|
|
13
|
-
- See [[governance/testing-standards|Testing Standards]] for framework details.
|
|
13
|
+
- See [[.arcane/governance/testing-standards|Testing Standards]] for framework details.
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -18,8 +18,8 @@ Run test suites and validate quality for the specified scope.
|
|
|
18
18
|
|
|
19
19
|
Use these files for context:
|
|
20
20
|
|
|
21
|
-
- [governance/testing-standards.md](
|
|
22
|
-
- [governance/development-methodology.md](
|
|
21
|
+
- [governance/testing-standards.md](../../.arcane/governance/testing-standards.md) — Frameworks, thresholds, evidence requirements
|
|
22
|
+
- [governance/development-methodology.md](../../.arcane/governance/development-methodology.md) — Spell Loop context
|
|
23
23
|
- The feature's `stories.json` — for acceptance criteria to validate
|
|
24
24
|
|
|
25
25
|
Workflow:
|
|
@@ -67,7 +67,7 @@ Expand the idea into one or more concrete TODO items. Each item must:
|
|
|
67
67
|
|
|
68
68
|
If the idea naturally decomposes into multiple sub-items (e.g., "build dashboard" → design, implement, deploy, document), list them individually — do not bundle vague compound items.
|
|
69
69
|
|
|
70
|
-
If the idea is an `adr-candidate`, also draft a one-sentence ADR title suggestion (e.g., `ADR-
|
|
70
|
+
If the idea is an `adr-candidate`, also draft a one-sentence ADR title suggestion (e.g., `ADR-NNN: Use GitHub Actions for CI instead of Azure Pipelines`).
|
|
71
71
|
|
|
72
72
|
## Step 3 — Route to the Right Document
|
|
73
73
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Project
|
|
2
|
+
|
|
3
|
+
> Draft orientation created by Arcane. Replace this text with the repository's actual purpose.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Describe what this repository contains, who it serves, and how to get started.
|
|
8
|
+
|
|
9
|
+
## Start Here
|
|
10
|
+
|
|
11
|
+
- [Project context](project.md)
|
|
12
|
+
- [Current work](TODO.md)
|
|
13
|
+
- [Decisions](DECISIONS.md)
|
|
14
|
+
- [Arcane governance](.arcane/governance/)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Project Overview
|
|
3
|
+
status: draft
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Overview
|
|
7
|
+
|
|
8
|
+
## Mission
|
|
9
|
+
|
|
10
|
+
Describe the outcome this project exists to produce.
|
|
11
|
+
|
|
12
|
+
## Users
|
|
13
|
+
|
|
14
|
+
Describe the people or systems this project serves.
|
|
15
|
+
|
|
16
|
+
## Scope
|
|
17
|
+
|
|
18
|
+
List the capabilities included in this repository and the boundaries that remain outside it.
|
|
19
|
+
|
|
20
|
+
## Current Goals
|
|
21
|
+
|
|
22
|
+
- Define the first measurable project goal.
|
|
23
|
+
|
|
24
|
+
## Constraints
|
|
25
|
+
|
|
26
|
+
- Record technical, business, security, or timeline constraints.
|
package/dist/index.js
CHANGED
|
@@ -134,7 +134,7 @@ var PROFILE_CONFIGS = [
|
|
|
134
134
|
id: "lite",
|
|
135
135
|
displayName: "Essentials",
|
|
136
136
|
description: "Spells + core governance \u2014 fast start",
|
|
137
|
-
components: ["spell-prompts", "claude-commands", "agent-output-instructions", "git-conventions", "testing-standards", "session-continuity"]
|
|
137
|
+
components: ["spell-prompts", "claude-commands", "agent-output-instructions", "git-conventions", "testing-standards", "framework-decisions", "session-continuity"]
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
id: "methodology",
|
|
@@ -146,6 +146,7 @@ var PROFILE_CONFIGS = [
|
|
|
146
146
|
"agent-output-instructions",
|
|
147
147
|
"git-conventions",
|
|
148
148
|
"testing-standards",
|
|
149
|
+
"framework-decisions",
|
|
149
150
|
"session-continuity",
|
|
150
151
|
"decision-documentation-standard",
|
|
151
152
|
"agent-work-queue-model",
|
|
@@ -161,6 +162,7 @@ var PROFILE_CONFIGS = [
|
|
|
161
162
|
"agent-output-instructions",
|
|
162
163
|
"git-conventions",
|
|
163
164
|
"testing-standards",
|
|
165
|
+
"framework-decisions",
|
|
164
166
|
"decision-documentation-standard",
|
|
165
167
|
"agent-work-queue-model",
|
|
166
168
|
"naming-conventions",
|
|
@@ -203,6 +205,11 @@ var COMPONENTS = [
|
|
|
203
205
|
description: "Testing framework selection, coverage thresholds, and CI gates",
|
|
204
206
|
files: [".arcane/governance/testing-standards.md"]
|
|
205
207
|
},
|
|
208
|
+
{
|
|
209
|
+
name: "framework-decisions",
|
|
210
|
+
description: "Offline reference for legacy framework ADR citations",
|
|
211
|
+
files: [".arcane/governance/framework-decisions.md"]
|
|
212
|
+
},
|
|
206
213
|
{
|
|
207
214
|
name: "decision-documentation-standard",
|
|
208
215
|
description: "ADR format and decision-logging conventions",
|
|
@@ -345,9 +352,11 @@ var COMPONENTS = [
|
|
|
345
352
|
// Session continuity — files required for spell-close-session / spell-open-session
|
|
346
353
|
{
|
|
347
354
|
name: "session-continuity",
|
|
348
|
-
description: "
|
|
355
|
+
description: "Install-once project orientation and session lifecycle files",
|
|
349
356
|
skipExisting: true,
|
|
350
357
|
files: [
|
|
358
|
+
"README.md",
|
|
359
|
+
"project.md",
|
|
351
360
|
"TODO.md",
|
|
352
361
|
"DECISIONS.md",
|
|
353
362
|
"ai-context/system-prompt-context.md",
|