@ambystech/ambykit 0.2.0 → 1.1.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.
- package/README.md +13 -1
- package/dist/cli/add.js +3 -3
- package/dist/cli/add.js.map +1 -1
- package/dist/cli/base-command.d.ts +15 -1
- package/dist/cli/base-command.js +44 -1
- package/dist/cli/base-command.js.map +1 -1
- package/dist/cli/check.d.ts +2 -0
- package/dist/cli/check.js +41 -2
- package/dist/cli/check.js.map +1 -1
- package/dist/cli/dashboard.js +1 -1
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/cli/index.js +45 -15
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init.d.ts +2 -0
- package/dist/cli/init.js +36 -8
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/io/fsops.d.ts +42 -0
- package/dist/cli/io/fsops.js +174 -0
- package/dist/cli/io/fsops.js.map +1 -0
- package/dist/cli/io/version-check.d.ts +18 -0
- package/dist/cli/io/version-check.js +73 -0
- package/dist/cli/io/version-check.js.map +1 -0
- package/dist/cli/restore.d.ts +12 -0
- package/dist/cli/restore.js +51 -0
- package/dist/cli/restore.js.map +1 -0
- package/dist/cli/sync.js +12 -2
- package/dist/cli/sync.js.map +1 -1
- package/dist/cli/{banner.d.ts → ui/banner.d.ts} +1 -1
- package/dist/cli/{banner.js → ui/banner.js} +2 -2
- package/dist/cli/ui/banner.js.map +1 -0
- package/dist/cli/ui/callout.d.ts +15 -0
- package/dist/cli/ui/callout.js +47 -0
- package/dist/cli/ui/callout.js.map +1 -0
- package/dist/cli/ui/interactive/prompt.d.ts +11 -0
- package/dist/cli/ui/interactive/prompt.js +37 -0
- package/dist/cli/ui/interactive/prompt.js.map +1 -1
- package/dist/cli/ui/theme.d.ts +10 -0
- package/dist/cli/ui/theme.js +17 -0
- package/dist/cli/ui/theme.js.map +1 -1
- package/dist/cli/{tool-options.d.ts → ui/tool-options.d.ts} +1 -1
- package/dist/cli/{tool-options.js → ui/tool-options.js} +1 -1
- package/dist/cli/ui/tool-options.js.map +1 -0
- package/dist/cli/update.d.ts +26 -0
- package/dist/cli/update.js +78 -0
- package/dist/cli/update.js.map +1 -0
- package/dist/cli/worktree.d.ts +18 -0
- package/dist/cli/worktree.js +161 -0
- package/dist/cli/worktree.js.map +1 -0
- package/dist/core/classify.d.ts +4 -0
- package/dist/core/classify.js +86 -0
- package/dist/core/classify.js.map +1 -0
- package/dist/core/command-spec.js +2 -0
- package/dist/core/command-spec.js.map +1 -1
- package/dist/core/config.js +1 -0
- package/dist/core/config.js.map +1 -1
- package/dist/{cli → core}/emit.d.ts +1 -1
- package/dist/{cli → core}/emit.js +10 -4
- package/dist/core/emit.js.map +1 -0
- package/dist/core/git.d.ts +33 -0
- package/dist/core/git.js +104 -0
- package/dist/core/git.js.map +1 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/merge.d.ts +37 -0
- package/dist/core/merge.js +146 -0
- package/dist/core/merge.js.map +1 -0
- package/dist/core/paths.d.ts +7 -0
- package/dist/core/paths.js +11 -0
- package/dist/core/paths.js.map +1 -1
- package/dist/core/roles.d.ts +19 -0
- package/dist/core/roles.js +59 -0
- package/dist/core/roles.js.map +1 -0
- package/dist/core/rules.d.ts +14 -0
- package/dist/core/rules.js +37 -8
- package/dist/core/rules.js.map +1 -1
- package/dist/core/scaffold.d.ts +2 -0
- package/dist/core/scaffold.js +6 -1
- package/dist/core/scaffold.js.map +1 -1
- package/dist/core/types.d.ts +64 -1
- package/dist/core/version.d.ts +10 -0
- package/dist/core/version.js +33 -0
- package/dist/core/version.js.map +1 -0
- package/dist/core/worktree.d.ts +78 -0
- package/dist/core/worktree.js +121 -0
- package/dist/core/worktree.js.map +1 -0
- package/dist/emitters/base-emitter.d.ts +19 -2
- package/dist/emitters/base-emitter.js +43 -3
- package/dist/emitters/base-emitter.js.map +1 -1
- package/dist/emitters/claude.d.ts +3 -1
- package/dist/emitters/claude.js +19 -12
- package/dist/emitters/claude.js.map +1 -1
- package/dist/emitters/copilot.d.ts +3 -1
- package/dist/emitters/copilot.js +17 -8
- package/dist/emitters/copilot.js.map +1 -1
- package/dist/emitters/cursor.js +6 -5
- package/dist/emitters/cursor.js.map +1 -1
- package/dist/emitters/opencode.d.ts +3 -1
- package/dist/emitters/opencode.js +11 -0
- package/dist/emitters/opencode.js.map +1 -1
- package/package.json +4 -3
- package/src/prompts/analyze.md +1 -0
- package/src/prompts/clarify.md +1 -0
- package/src/prompts/converge.md +27 -0
- package/src/prompts/design.md +1 -0
- package/src/prompts/implement.md +1 -0
- package/src/prompts/plan.md +1 -0
- package/src/prompts/review.md +24 -0
- package/src/prompts/revise.md +36 -0
- package/src/prompts/specify.md +6 -2
- package/src/prompts/tasks.md +1 -0
- package/dist/cli/banner.js.map +0 -1
- package/dist/cli/emit.js.map +0 -1
- package/dist/cli/fsops.d.ts +0 -21
- package/dist/cli/fsops.js +0 -65
- package/dist/cli/fsops.js.map +0 -1
- package/dist/cli/tool-options.js.map +0 -1
- package/dist/cli/upgrade.d.ts +0 -7
- package/dist/cli/upgrade.js +0 -27
- package/dist/cli/upgrade.js.map +0 -1
package/dist/emitters/cursor.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { join } from "node:path/posix";
|
|
2
|
+
import { buildPointerRegion } from "../core/rules.js";
|
|
2
3
|
import { BaseEmitter } from "./base-emitter.js";
|
|
3
4
|
/**
|
|
4
5
|
* Cursor emitter. Commands go to `.cursor/commands/*.md` as plain prompt bodies (Cursor documents no
|
|
@@ -15,16 +16,16 @@ export class CursorEmitter extends BaseEmitter {
|
|
|
15
16
|
return [];
|
|
16
17
|
}
|
|
17
18
|
rulesFiles(_ctx) {
|
|
19
|
+
// The `.mdc` frontmatter is the greenfield preamble; the AmbyKit body is a pointer region spliced
|
|
20
|
+
// non-destructively (merge lives in the body — the frontmatter has no headings to confuse it).
|
|
21
|
+
const region = buildPointerRegion("Use the `/amby.*` commands in `.cursor/commands/` to run each phase.");
|
|
18
22
|
const contents = `---
|
|
19
23
|
description: AmbyKit Spec-Driven Development workflow
|
|
20
24
|
alwaysApply: true
|
|
21
25
|
---
|
|
22
|
-
This project uses **AmbyKit** for Spec-Driven Development. Follow the workflow and rules in
|
|
23
|
-
\`AGENTS.md\` (repository root). Use the \`/amby.*\` commands in \`.cursor/commands/\` to run each phase.
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return [{ path: join(".cursor", "rules", "ambykit.mdc"), contents, scope: "project" }];
|
|
27
|
+
${region}`;
|
|
28
|
+
return [{ path: join(".cursor", "rules", "ambykit.mdc"), contents, scope: "project", merge: "region" }];
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=cursor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../src/emitters/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IACnC,MAAM,GAAW,QAAQ,CAAC;IAC1B,WAAW,GAAW,QAAQ,CAAC;IAC/B,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAW,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAE1D,2DAA2D;IACxC,kBAAkB,CAAC,KAAkB;QACtD,OAAO,EAAE,CAAC;IACZ,CAAC;IAEkB,UAAU,CAAC,IAAkB;QAC9C,MAAM,QAAQ,GAAG
|
|
1
|
+
{"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../src/emitters/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IACnC,MAAM,GAAW,QAAQ,CAAC;IAC1B,WAAW,GAAW,QAAQ,CAAC;IAC/B,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAW,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;IAE1D,2DAA2D;IACxC,kBAAkB,CAAC,KAAkB;QACtD,OAAO,EAAE,CAAC;IACZ,CAAC;IAEkB,UAAU,CAAC,IAAkB;QAC9C,kGAAkG;QAClG,+FAA+F;QAC/F,MAAM,MAAM,GAAG,kBAAkB,CAAC,sEAAsE,CAAC,CAAC;QAC1G,MAAM,QAAQ,GAAG;;;;;EAKnB,MAAM,EAAE,CAAC;QACP,OAAO,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CommandSpec, CommandSurface } from "../core/types.js";
|
|
1
|
+
import type { CommandSpec, CommandSurface, EmittedFile, Role, RulesContext } from "../core/types.js";
|
|
2
2
|
import { BaseEmitter } from "./base-emitter.js";
|
|
3
3
|
/**
|
|
4
4
|
* OpenCode emitter. Commands go to `.opencode/commands/*.md` (plural dir; invoked as `/amby.*`).
|
|
@@ -11,4 +11,6 @@ export declare class OpenCodeEmitter extends BaseEmitter {
|
|
|
11
11
|
readonly commandSurface: CommandSurface;
|
|
12
12
|
readonly commandDir: string;
|
|
13
13
|
protected commandFrontmatter(spec: CommandSpec): Array<[string, string]>;
|
|
14
|
+
/** Agents at `.opencode/agents/<id>.md` — filename is the id; `description` required (verified, feature 013). */
|
|
15
|
+
protected roleFiles(roles: Role[], _ctx: RulesContext): EmittedFile[];
|
|
14
16
|
}
|
|
@@ -13,5 +13,16 @@ export class OpenCodeEmitter extends BaseEmitter {
|
|
|
13
13
|
commandFrontmatter(spec) {
|
|
14
14
|
return [["description", this.yamlQuote(spec.description)]];
|
|
15
15
|
}
|
|
16
|
+
/** Agents at `.opencode/agents/<id>.md` — filename is the id; `description` required (verified, feature 013). */
|
|
17
|
+
roleFiles(roles, _ctx) {
|
|
18
|
+
return roles.map((role) => ({
|
|
19
|
+
path: join(".opencode", "agents", `${this.personaName(role)}.md`),
|
|
20
|
+
contents: `${this.renderFrontmatter([
|
|
21
|
+
["description", this.yamlQuote(this.personaDescription(role))],
|
|
22
|
+
["mode", "subagent"],
|
|
23
|
+
])}\n${this.personaBody(role)}\n`,
|
|
24
|
+
scope: "project",
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
//# sourceMappingURL=opencode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../src/emitters/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IACrC,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,UAAU,CAAC;IACzB,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAEjC,kBAAkB,CAAC,IAAiB;QACrD,OAAO,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"opencode.js","sourceRoot":"","sources":["../../src/emitters/opencode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IACrC,MAAM,GAAG,UAAU,CAAC;IACpB,WAAW,GAAG,UAAU,CAAC;IACzB,cAAc,GAAmB,UAAU,CAAC;IAC5C,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAEjC,kBAAkB,CAAC,IAAiB;QACrD,OAAO,CAAC,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAED,iHAAiH;IAC9F,SAAS,CAAC,KAAa,EAAE,IAAkB;QAC5D,OAAO,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAC1B,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC;YACjE,QAAQ,EACN,GAAG,IAAI,CAAC,iBAAiB,CAAC;gBACxB,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC;gBAC9D,CAAC,MAAM,EAAE,UAAU,CAAC;aACrB,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI;YACnC,KAAK,EAAE,SAAS;SACjB,CAAC,CAAC,CAAC;IACN,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambystech/ambykit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Spec-Driven Development framework that helps AI coding assistants build better software — author your specs, user stories, UI design, plans and tasks once, and emit native config for Claude Code, OpenCode, GitHub Copilot, Cursor, Antigravity and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spec-driven-development",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"copilot",
|
|
13
13
|
"cursor",
|
|
14
14
|
"antigravity",
|
|
15
|
-
"agents.md"
|
|
15
|
+
"agents.md",
|
|
16
|
+
"codex"
|
|
16
17
|
],
|
|
17
18
|
"license": "MIT",
|
|
18
19
|
"author": "ambystech",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"type": "git",
|
|
22
23
|
"url": "git+https://github.com/ambystechcom/AmbyKit.git"
|
|
23
24
|
},
|
|
24
|
-
"homepage": "https://ambystech.io
|
|
25
|
+
"homepage": "https://ambykit.ambystech.io",
|
|
25
26
|
"bugs": {
|
|
26
27
|
"url": "https://github.com/ambystechcom/AmbyKit/issues"
|
|
27
28
|
},
|
package/src/prompts/analyze.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.analyze
|
|
|
4
4
|
description: Cross-check spec, plan, and tasks for coverage, consistency, and dependency-graph health.
|
|
5
5
|
argument-hint: "[feature id, defaults to current]"
|
|
6
6
|
phase: analyze
|
|
7
|
+
role: qa
|
|
7
8
|
reads: [specs/NNN-slug/spec.md, specs/NNN-slug/plan.md, specs/NNN-slug/tasks.md]
|
|
8
9
|
writes: []
|
|
9
10
|
allowedTools: [read]
|
package/src/prompts/clarify.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.clarify
|
|
|
4
4
|
description: Resolve the open [NEEDS CLARIFICATION] markers in a feature spec.
|
|
5
5
|
argument-hint: "[feature id, defaults to current]"
|
|
6
6
|
phase: clarify
|
|
7
|
+
role: pm
|
|
7
8
|
reads: [specs/NNN-slug/spec.md]
|
|
8
9
|
writes: [specs/NNN-slug/spec.md]
|
|
9
10
|
allowedTools: [read, edit]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: converge
|
|
3
|
+
name: amby.converge
|
|
4
|
+
description: Check the codebase against spec, plan, and tasks after implementing; append gap tasks, never edit code.
|
|
5
|
+
argument-hint: "[feature id, defaults to current]"
|
|
6
|
+
phase: converge
|
|
7
|
+
role: qa
|
|
8
|
+
reads: [specs/NNN-slug/spec.md, specs/NNN-slug/plan.md, specs/NNN-slug/tasks.md]
|
|
9
|
+
writes: [specs/NNN-slug/tasks.md, specs/NNN-slug/spec.md]
|
|
10
|
+
allowedTools: [read, edit]
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Converge feature `$ARGUMENTS` (default: the current feature): does the code satisfy its artifacts?
|
|
14
|
+
Never edit source code — only that feature's `tasks.md` and `spec.md` are writable.
|
|
15
|
+
|
|
16
|
+
1. No `tasks.md` → stop, say to run `/amby.tasks`. No `plan.md` → converge on spec + tasks and say so.
|
|
17
|
+
2. For every `FR-###`/`SC-###`, plan decision (incl. `data-model.md`/`contracts/`), and checked
|
|
18
|
+
`T###`: look for evidence only in files the plan/tasks name. Classify **covered**, **gap**
|
|
19
|
+
(absent), or **unverified** (inconclusive). Skip items the plan marks deferred/out of scope.
|
|
20
|
+
3. **Append, don't rewrite.** Under `## Convergence` in `tasks.md` (create at the end if absent) add
|
|
21
|
+
`- [ ] [T###] [US#] … (closes FR-…)` per gap and `- [ ] [T###] [US#] [VERIFY] …` per unverified
|
|
22
|
+
item. Continue IDs from the highest `T###` anywhere in the file; skip items already listed
|
|
23
|
+
unchecked there. Nothing to add → leave the file untouched.
|
|
24
|
+
4. In `spec.md`, patch only `status:` lines: a story → `done` when every FR/SC it maps to is
|
|
25
|
+
covered; the feature → `done` when all stories are.
|
|
26
|
+
5. Report: **converged** (no gaps) or **gaps found (N)**, counts per class, and a table of every ID
|
|
27
|
+
with its class and a one-line reason for each gap/unverified item.
|
package/src/prompts/design.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.design
|
|
|
4
4
|
description: Design the UI — wireframes, component specs, and design tokens — with a sign-off gate.
|
|
5
5
|
argument-hint: "[feature id, defaults to current]"
|
|
6
6
|
phase: design
|
|
7
|
+
role: ux
|
|
7
8
|
reads: [specs/NNN-slug/spec.md]
|
|
8
9
|
writes: [specs/NNN-slug/ui.md, specs/NNN-slug/design-tokens.json]
|
|
9
10
|
allowedTools: [read, write, edit]
|
package/src/prompts/implement.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.implement
|
|
|
4
4
|
description: Execute the task list, checking off tasks and updating story status as you go.
|
|
5
5
|
argument-hint: "[task id or story id, defaults to next unblocked]"
|
|
6
6
|
phase: implement
|
|
7
|
+
role: developer
|
|
7
8
|
reads: [specs/NNN-slug/tasks.md, specs/NNN-slug/plan.md]
|
|
8
9
|
writes: [specs/NNN-slug/tasks.md, specs/NNN-slug/spec.md]
|
|
9
10
|
allowedTools: [read, write, edit, bash]
|
package/src/prompts/plan.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.plan
|
|
|
4
4
|
description: Produce the technical implementation plan (the HOW) from an approved spec and UI.
|
|
5
5
|
argument-hint: "[feature id, defaults to current]"
|
|
6
6
|
phase: plan
|
|
7
|
+
role: architect
|
|
7
8
|
reads: [specs/NNN-slug/spec.md, specs/NNN-slug/ui.md, .amby/constitution.md]
|
|
8
9
|
writes: [specs/NNN-slug/plan.md, specs/NNN-slug/data-model.md, specs/NNN-slug/contracts/]
|
|
9
10
|
allowedTools: [read, write, edit]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: review
|
|
3
|
+
name: amby.review
|
|
4
|
+
description: Review an artifact from another role's perspective — findings by stable ID, advisory only.
|
|
5
|
+
argument-hint: "<artifact path> [--as <role id>] [--apply]"
|
|
6
|
+
phase: review
|
|
7
|
+
reads: [.amby/roles/*.md]
|
|
8
|
+
writes: []
|
|
9
|
+
allowedTools: [read, edit]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
Review `$ARGUMENTS` (an artifact path, e.g. `specs/NNN-slug/spec.md`) as a **different** role.
|
|
13
|
+
If the path does not exist, stop and name the phase that produces it.
|
|
14
|
+
|
|
15
|
+
1. Pick the reviewer: `--as <id>` → `@.amby/roles/<id>.md`; otherwise QA for a spec or tasks,
|
|
16
|
+
Architect for a plan, PM for a UI design. If the file is missing, stop and list `.amby/roles/`.
|
|
17
|
+
Say which role you are acting as in your first line.
|
|
18
|
+
2. Read only the artifact (and its spec, if reviewing a plan or tasks). Apply the role's focus
|
|
19
|
+
checklist. Produce findings, one per line: `ID · severity (high/med/low) · finding · fix` —
|
|
20
|
+
every finding names a stable ID (`US-#`, `FR-###`, `SC-###`, `T###`). Modify nothing.
|
|
21
|
+
3. Only with `--apply`: patch the artifact in place for each finding, preserving every existing ID
|
|
22
|
+
(never renumber), then append under a `## Reviews` heading at the end:
|
|
23
|
+
`- <date> · <role> · <n> findings applied` — or `approved` when there were none.
|
|
24
|
+
4. This is advisory: no phase waits on a review. End with the findings count and the next phase to run.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: revise
|
|
3
|
+
name: amby.revise
|
|
4
|
+
description: Continue an existing feature's spec (or design) — add and refine in place, with a done-guard.
|
|
5
|
+
argument-hint: "[feature id, defaults to current] + what to add or refine"
|
|
6
|
+
phase: revise
|
|
7
|
+
role: pm
|
|
8
|
+
reads: [specs/NNN-slug/spec.md, specs/NNN-slug/ui.md]
|
|
9
|
+
writes: [specs/NNN-slug/spec.md, specs/NNN-slug/ui.md]
|
|
10
|
+
allowedTools: [read, edit]
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Continue the spec (and, optionally, the design) for feature `$ARGUMENTS` (default: the current feature).
|
|
14
|
+
|
|
15
|
+
Context: read only that feature's `spec.md` (and its `ui.md` if continuing design) plus the structure
|
|
16
|
+
of `@.amby/templates/spec.md`. This command **extends** an existing feature — it is not `specify`
|
|
17
|
+
(which starts a new feature) nor `clarify` (which only resolves `[NEEDS CLARIFICATION]` markers).
|
|
18
|
+
|
|
19
|
+
1. Resolve the feature dir `specs/NNN-slug/`. If it — or its `spec.md` — cannot be found, report a
|
|
20
|
+
clear error and make **no** changes.
|
|
21
|
+
2. **Done-guard.** If the `spec.md` frontmatter `status:` is `done`, make no edits: tell the author the
|
|
22
|
+
feature is complete and to run `/amby.specify` for a new feature. Stop here.
|
|
23
|
+
3. Otherwise **continue in place** (patch, never regenerate — Principle 3):
|
|
24
|
+
- Add new user stories (`US-#`), requirements (`FR-###`), and success criteria (`SC-###`), each
|
|
25
|
+
taking the **next available number**. Preserve every existing id and its text verbatim.
|
|
26
|
+
- Refine existing items only where the author asked; keep their ids stable.
|
|
27
|
+
- New requirements use EARS (SHALL / WHEN / WHILE / IF-THEN / WHERE); new acceptance criteria use
|
|
28
|
+
Given/When/Then — consistent with `specify`.
|
|
29
|
+
- Leave any story already marked `status: done` untouched; you may still add new stories.
|
|
30
|
+
4. Set the `spec.md` frontmatter `status:` to `in-progress`.
|
|
31
|
+
5. **Design (optional).** If the author is continuing the UI/design and `ui.md` exists, extend it in
|
|
32
|
+
place, preserving existing sections. If `ui.md` does **not** exist, do not create it here — direct
|
|
33
|
+
the author to run `/amby.design`.
|
|
34
|
+
6. Keep edits minimal and token-frugal; cite the constitution by principle number where relevant.
|
|
35
|
+
|
|
36
|
+
Report what you added or changed, by id.
|
package/src/prompts/specify.md
CHANGED
|
@@ -4,9 +4,10 @@ name: amby.specify
|
|
|
4
4
|
description: Turn a feature idea into a spec — user stories, EARS requirements, acceptance criteria.
|
|
5
5
|
argument-hint: "<feature description>"
|
|
6
6
|
phase: specify
|
|
7
|
-
|
|
7
|
+
role: pm
|
|
8
|
+
reads: [.amby/constitution.md, .amby/config.json]
|
|
8
9
|
writes: [specs/NNN-slug/spec.md]
|
|
9
|
-
allowedTools: [read, write, edit]
|
|
10
|
+
allowedTools: [read, write, edit, bash]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
Write a specification for: **$ARGUMENTS**
|
|
@@ -24,5 +25,8 @@ read other specs.
|
|
|
24
25
|
5. Write measurable, tech-agnostic **success criteria** (`SC-###`).
|
|
25
26
|
6. **Capture WHAT/WHY only — no technology choices.** Flag every unknown inline as
|
|
26
27
|
`[NEEDS CLARIFICATION: …]` instead of guessing.
|
|
28
|
+
7. If `.amby/config.json` has `"worktrees": true` and this is a git repo, run
|
|
29
|
+
`ambykit worktree NNN-slug` (the only command to run) and tell the user to continue in
|
|
30
|
+
`.worktrees/NNN-slug/`. Otherwise skip this step (say why if isolation was enabled but git is absent).
|
|
27
31
|
|
|
28
32
|
Keep it tight. Reference the constitution by principle number where relevant; don't restate it.
|
package/src/prompts/tasks.md
CHANGED
|
@@ -4,6 +4,7 @@ name: amby.tasks
|
|
|
4
4
|
description: Break the plan into an ordered, dependency-aware task checklist.
|
|
5
5
|
argument-hint: "[feature id, defaults to current]"
|
|
6
6
|
phase: tasks
|
|
7
|
+
role: tech-lead
|
|
7
8
|
reads: [specs/NNN-slug/plan.md, specs/NNN-slug/spec.md]
|
|
8
9
|
writes: [specs/NNN-slug/tasks.md]
|
|
9
10
|
allowedTools: [read, write, edit]
|
package/dist/cli/banner.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"banner.js","sourceRoot":"","sources":["../../src/cli/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGtC,MAAM,GAAG,GAAG;IACV,+BAA+B;IAC/B,+BAA+B;CAChC,CAAC;AAEF,4FAA4F;AAC5F,MAAM,UAAU,MAAM,CAAC,OAAqB,kBAAkB,EAAE;IAC9D,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChE,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oDAAoD,CAAC,CAAC;IAC3F,OAAO,KAAK,GAAG,KAAK,OAAO,IAAI,CAAC;AAClC,CAAC"}
|
package/dist/cli/emit.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"emit.js","sourceRoot":"","sources":["../../src/cli/emit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,WAAmB,EAAE,MAAkB;IACvE,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,KAAK,KAAK,CAAC;IACjD,MAAM,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC1C,MAAM,GAAG,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;IAEhD,MAAM,KAAK,GAAkB,EAAE,CAAC;IAChC,IAAI,WAAW,EAAE,CAAC;QAChB,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACnG,CAAC;IACD,KAAK,MAAM,OAAO,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;QACvD,KAAK,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/dist/cli/fsops.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { EmittedFile } from "../core/types.js";
|
|
2
|
-
import type { ChangeSummary } from "./ui/types.js";
|
|
3
|
-
export interface WriteResult {
|
|
4
|
-
written: string[];
|
|
5
|
-
created: string[];
|
|
6
|
-
updated: string[];
|
|
7
|
-
unchanged: string[];
|
|
8
|
-
wouldChange: string[];
|
|
9
|
-
skipped: string[];
|
|
10
|
-
}
|
|
11
|
-
export interface ApplyOptions {
|
|
12
|
-
dryRun: boolean;
|
|
13
|
-
/** Include user-scope (out-of-tree) files, e.g. ~/.copilot/mcp-config.json. Off by default. */
|
|
14
|
-
includeUser: boolean;
|
|
15
|
-
}
|
|
16
|
-
/** Write a set of emitted files, reporting what changed. Idempotent: unchanged files are untouched. */
|
|
17
|
-
export declare function applyFiles(projectRoot: string, files: EmittedFile[], opts: ApplyOptions): WriteResult;
|
|
18
|
-
/** Project a write result into the change-summary shape the UI layer renders (US-3). */
|
|
19
|
-
export declare function toChangeSummary(r: WriteResult, dryRun: boolean): ChangeSummary;
|
|
20
|
-
/** Copy a template file into the project if it does not already exist. Returns true if written. */
|
|
21
|
-
export declare function writeIfAbsent(projectRoot: string, relPath: string, contents: string): boolean;
|
package/dist/cli/fsops.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
2
|
-
import { dirname, join } from "node:path";
|
|
3
|
-
import { homedir } from "node:os";
|
|
4
|
-
/**
|
|
5
|
-
* Compare contents ignoring CRLF/LF differences: git `core.autocrlf` may check generated files out
|
|
6
|
-
* with CRLF on Windows, and that alone must not count as drift (it would make `check`/`sync` churn).
|
|
7
|
-
*/
|
|
8
|
-
function sameContents(a, b) {
|
|
9
|
-
return a.replaceAll("\r\n", "\n") === b.replaceAll("\r\n", "\n");
|
|
10
|
-
}
|
|
11
|
-
/** Write a set of emitted files, reporting what changed. Idempotent: unchanged files are untouched. */
|
|
12
|
-
export function applyFiles(projectRoot, files, opts) {
|
|
13
|
-
const result = {
|
|
14
|
-
written: [],
|
|
15
|
-
created: [],
|
|
16
|
-
updated: [],
|
|
17
|
-
unchanged: [],
|
|
18
|
-
wouldChange: [],
|
|
19
|
-
skipped: [],
|
|
20
|
-
};
|
|
21
|
-
for (const file of files) {
|
|
22
|
-
if (file.scope === "user" && !opts.includeUser) {
|
|
23
|
-
result.skipped.push(file.path);
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
const base = file.scope === "user" ? homedir() : projectRoot;
|
|
27
|
-
const abs = join(base, file.path);
|
|
28
|
-
const existed = existsSync(abs);
|
|
29
|
-
const current = existed ? readFileSync(abs, "utf8") : null;
|
|
30
|
-
if (current !== null && sameContents(current, file.contents)) {
|
|
31
|
-
result.unchanged.push(file.path);
|
|
32
|
-
continue;
|
|
33
|
-
}
|
|
34
|
-
if (opts.dryRun) {
|
|
35
|
-
result.wouldChange.push(file.path);
|
|
36
|
-
continue;
|
|
37
|
-
}
|
|
38
|
-
mkdirSync(dirname(abs), { recursive: true });
|
|
39
|
-
writeFileSync(abs, file.contents, "utf8");
|
|
40
|
-
result.written.push(file.path);
|
|
41
|
-
(existed ? result.updated : result.created).push(file.path);
|
|
42
|
-
}
|
|
43
|
-
return result;
|
|
44
|
-
}
|
|
45
|
-
/** Project a write result into the change-summary shape the UI layer renders (US-3). */
|
|
46
|
-
export function toChangeSummary(r, dryRun) {
|
|
47
|
-
return {
|
|
48
|
-
created: r.created,
|
|
49
|
-
updated: r.updated,
|
|
50
|
-
unchanged: r.unchanged,
|
|
51
|
-
skipped: r.skipped,
|
|
52
|
-
wouldChange: r.wouldChange,
|
|
53
|
-
dryRun,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
/** Copy a template file into the project if it does not already exist. Returns true if written. */
|
|
57
|
-
export function writeIfAbsent(projectRoot, relPath, contents) {
|
|
58
|
-
const abs = join(projectRoot, relPath);
|
|
59
|
-
if (existsSync(abs))
|
|
60
|
-
return false;
|
|
61
|
-
mkdirSync(dirname(abs), { recursive: true });
|
|
62
|
-
writeFileSync(abs, contents, "utf8");
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=fsops.js.map
|
package/dist/cli/fsops.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fsops.js","sourceRoot":"","sources":["../../src/cli/fsops.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tool-options.js","sourceRoot":"","sources":["../../src/cli/tool-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG/C,4EAA4E;AAC5E,MAAM,UAAU,WAAW;IACzB,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAC7F,CAAC"}
|
package/dist/cli/upgrade.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseCommand, type CliOptions } from "./base-command.js";
|
|
2
|
-
export declare class UpgradeCommand extends BaseCommand {
|
|
3
|
-
readonly name = "upgrade";
|
|
4
|
-
readonly summary = "Update AmbyKit and re-sync generated files.";
|
|
5
|
-
readonly usage = "ambykit upgrade [--dry-run]";
|
|
6
|
-
protected execute(opts: CliOptions): Promise<number>;
|
|
7
|
-
}
|
package/dist/cli/upgrade.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { BaseCommand } from "./base-command.js";
|
|
2
|
-
import { applyFiles } from "./fsops.js";
|
|
3
|
-
import { buildEmittedFiles } from "./emit.js";
|
|
4
|
-
import { loadConfig } from "../core/config.js";
|
|
5
|
-
export class UpgradeCommand extends BaseCommand {
|
|
6
|
-
name = "upgrade";
|
|
7
|
-
summary = "Update AmbyKit and re-sync generated files.";
|
|
8
|
-
usage = "ambykit upgrade [--dry-run]";
|
|
9
|
-
async execute(opts) {
|
|
10
|
-
// Package-manager self-update is out of scope for M1; upgrade currently re-syncs from the
|
|
11
|
-
// installed version. Update the package with your package manager (e.g. `npm i -g
|
|
12
|
-
// @ambystech/ambykit@latest`) then run this to refresh generated files.
|
|
13
|
-
const root = this.projectRoot(opts.cwd);
|
|
14
|
-
const config = loadConfig(root);
|
|
15
|
-
const spin = this.spinner();
|
|
16
|
-
spin.start(this.dryRun ? "Checking what would change…" : "Re-syncing generated files…");
|
|
17
|
-
const files = buildEmittedFiles(root, config);
|
|
18
|
-
const result = applyFiles(root, files, { dryRun: this.dryRun, includeUser: false });
|
|
19
|
-
spin.stop();
|
|
20
|
-
const changed = this.dryRun ? result.wouldChange : result.written;
|
|
21
|
-
this.success(`${this.dryRun ? "Would refresh" : "Refreshed"} ${changed.length} file(s).`);
|
|
22
|
-
this.printSummary(result);
|
|
23
|
-
this.info("To update the AmbyKit version itself, run `npm i -g @ambystech/ambykit@latest`.");
|
|
24
|
-
return 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=upgrade.js.map
|
package/dist/cli/upgrade.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade.js","sourceRoot":"","sources":["../../src/cli/upgrade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,OAAO,cAAe,SAAQ,WAAW;IACpC,IAAI,GAAG,SAAS,CAAC;IACjB,OAAO,GAAG,6CAA6C,CAAC;IACxD,KAAK,GAAG,6BAA6B,CAAC;IAErC,KAAK,CAAC,OAAO,CAAC,IAAgB;QACtC,0FAA0F;QAC1F,kFAAkF;QAClF,wEAAwE;QACxE,MAAM,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACxC,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC;QACxF,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC9C,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC;QACpF,IAAI,CAAC,IAAI,EAAE,CAAC;QACZ,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;QAClE,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC,MAAM,WAAW,CAAC,CAAC;QAC1F,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;QAC1B,IAAI,CAAC,IAAI,CAAC,iFAAiF,CAAC,CAAC;QAC7F,OAAO,CAAC,CAAC;IACX,CAAC;CACF"}
|