@sabaiway/agent-workflow-kit 14.7.0 → 14.8.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/CHANGELOG.md CHANGED
@@ -4,6 +4,34 @@ Semantically versioned ([semver](https://semver.org)), newest first. The `versio
4
4
  is the current release. `upgrade` mode reads a project's `docs/ai/.workflow-version` and applies
5
5
  every `migrations/<version>-<slug>.md` newer than it, in semver order.
6
6
 
7
+ ## 14.8.0 — the kit ships an epic template and a task-brief template, each accepted by its checker once filled in (AD-154)
8
+
9
+ **A first epic and a first task brief can start from a file instead of from a checker's refusal.** Until 14.8.0 the
10
+ two shapes lived only in the planning reference and in what `epic-shape-cli` and `task-brief` refuse. The kit now
11
+ ships `references/authoring/EPIC_TEMPLATE.md` and `references/authoring/TASK_TEMPLATE.md` in its skill home. Copy one
12
+ from there into your project, replace every `{{KEY}}` placeholder with a value its checker admits and change no
13
+ other byte: the epic, placed at `docs/ai/epics/<EPIC_ID>.md`, passes `epic-shape-cli --check`; the brief, placed at
14
+ `docs/plans/TASK-<stem>-T<n>.md` beside a plan that carries the same Story line and the named row, with a checkpoint
15
+ minted, is stamped by `task-brief stamp` and passes `task-brief check`. A template copied and left unedited is
16
+ refused: the epic by the check, the brief by the stamp.
17
+ Story S2 of the epic `KIT-USERS-LEARN-THE-TIER-AND-WALK-IT`; contract `docs/ai/specs/kit/tier/tier-templates.md`
18
+ (new), with `docs/ai/specs/kit/tier/tier-walk.md` at revision 2.
19
+
20
+ - **Two templates, one placeholder form, a closed key list each.** The epic template carries eleven keys (`DATE`,
21
+ `EPIC_TITLE`, `INTENT`, `VALUE`, `NON_GOALS`, `ACCEPTANCE`, `SPECS`, `STORY_NAME`, `OWNED_PATHS`, `EPIC_ID`,
22
+ `QUEUE_BUCKET`) and one story row; the brief template carries thirteen keys and one task with one test file and one
23
+ module. Neither carries guidance prose: a template is the shape and its placeholders only. Where a grammar leaves a
24
+ choice, the template makes it: the epic opens `state: open` with `S1` planned, `depends-on: none` and
25
+ `shared: none`; the brief groups `test, impl` and reads the plan alone. For more stories, files or cases, repeat
26
+ the line in the form its checker takes: the next story id, and a `## Budget` line for each added file.
27
+ - **Not deployed into a project.** The directory sits outside `references/templates/`, so neither `bootstrap` nor
28
+ `upgrade` copies anything from it into `docs/ai/`; `init` places it in the kit's skill home only. Nothing in the
29
+ kit points at the templates yet; the guide that explains each key comes with a later story of the same epic.
30
+ - **Internals.** The repository walk fixture `test/tier-walk-e2e.test.mjs` now renders its epic and brief from the
31
+ installed templates, pins each template's bytes to a literal text, and checks that an unedited copy is refused; its
32
+ ground helpers move to `test/tier-walk-harness.test.mjs`. The package-content pin names both files, and the tarball
33
+ holds 333 files. Neither test file ships.
34
+
7
35
  ## 14.7.0 — an epic closes in a project with no queue file, every task-brief refusal says what failed, and the missing-section offer is a command you can run (AD-153)
8
36
 
9
37
  **A project outside this repo can now walk one epic, one story and one task to the end, solo.** A walk through the
package/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: agent-workflow-kit
3
3
  description: Deploy or upgrade a portable AI-agent memory-and-workflow system in any project. Use when the user wants to bootstrap `docs/ai/` + an entry-point `AGENTS.md` (+ `CLAUDE.md` alias) + cap/archive/index enforcement in a new or existing repo, set up the Memory Map and session protocols, install the docs-rotation pre-commit hook, or run `/agent-workflow-kit` / `/agent-workflow-kit upgrade`. Triggers on phrases like "set up the memory system", "deploy the AI workflow here", "bootstrap docs/ai", "upgrade the workflow".
4
4
  disable-model-invocation: true
5
5
  metadata:
6
- version: '14.7.0'
6
+ version: '14.8.0'
7
7
  ---
8
8
 
9
9
  # agent-workflow-kit
package/capability.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "schema": 1,
4
4
  "name": "agent-workflow-kit",
5
5
  "kind": "composition-root",
6
- "version": "14.7.0",
6
+ "version": "14.8.0",
7
7
  "provides": [],
8
8
  "roles": {},
9
9
  "detect": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sabaiway/agent-workflow-kit",
3
- "version": "14.7.0",
3
+ "version": "14.8.0",
4
4
  "description": "Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One command deploys an AGENTS.md entry point + docs/ai context with cap/archive/index enforcement into any repo.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -0,0 +1,32 @@
1
+ ---
2
+ type: epic
3
+ lastUpdated: {{DATE}}
4
+ scope: permanent
5
+ staleAfter: 90d
6
+ owner: none
7
+ maxLines: 60
8
+ state: open
9
+ ---
10
+
11
+ # Epic: {{EPIC_TITLE}}
12
+
13
+ ## Intent
14
+ {{INTENT}}
15
+
16
+ ## Value
17
+ {{VALUE}}
18
+
19
+ ## Non-goals
20
+ {{NON_GOALS}}
21
+
22
+ ## Acceptance
23
+ {{ACCEPTANCE}}
24
+
25
+ ## Specs
26
+ {{SPECS}}
27
+
28
+ ## Stories ledger
29
+ - S1 | {{STORY_NAME}} | depends-on: none | owns: {{OWNED_PATHS}} | shared: none | state: planned
30
+
31
+ ## Queue
32
+ Row {{EPIC_ID}} in {{QUEUE_BUCKET}}
@@ -0,0 +1,23 @@
1
+ # Task: {{TASK_NAME}}
2
+ Story: {{STORY_ID}} of {{EPIC_ID}}
3
+
4
+ ## Slice
5
+ Plan: {{PLAN_PATH}}
6
+ Row: {{ROW_ID}}
7
+ Grouping: test, impl
8
+ Files:
9
+ - {{TEST_PATH}} :: test
10
+ - {{MODULE_PATH}} :: impl
11
+
12
+ ## Reads
13
+ - {{PLAN_PATH}}
14
+
15
+ ## Acceptance
16
+ - {{ACCEPTANCE_COMMAND}} :: {{EXPECTED_OUTCOME}}
17
+
18
+ ## Negative cases
19
+ - {{NEGATIVE_CASE}} :: {{NEGATIVE_OUTCOME}}
20
+
21
+ ## Budget
22
+ - {{TEST_PATH}} :: {{TEST_MAX_LINES}}
23
+ - {{MODULE_PATH}} :: {{MODULE_MAX_LINES}}