@aviaratech/ai-delivery 0.3.43 → 0.3.44
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 +1 -1
- package/dist/agentReadiness.test.js +12 -0
- package/dist/agentReadiness.test.js.map +2 -2
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +2 -2
- package/dist/directoryIndependent.test.js +22 -3
- package/dist/directoryIndependent.test.js.map +3 -3
- package/dist/dispatch.js.map +2 -2
- package/dist/fixtures/builderReady.d.ts +2 -0
- package/dist/fixtures/builderReady.js +2 -0
- package/dist/fixtures/builderReady.js.map +2 -2
- package/dist/fixtures/inertTarget.d.ts +7 -0
- package/dist/fixtures/inertTarget.js +5 -0
- package/dist/fixtures/inertTarget.js.map +2 -2
- package/dist/fixtures/issue63.d.ts +3 -0
- package/dist/issue.d.ts +21 -1
- package/dist/issue.js +100 -12
- package/dist/issue.js.map +2 -2
- package/dist/issueBlockerGuard.test.js +11 -0
- package/dist/issueBlockerGuard.test.js.map +2 -2
- package/dist/issueContract.d.ts +7 -0
- package/dist/issueContract.js +56 -9
- package/dist/issueContract.js.map +2 -2
- package/dist/issueContract.test.d.ts +1 -0
- package/dist/issueContract.test.js +66 -4
- package/dist/issueContract.test.js.map +2 -2
- package/dist/issueIntake.test.js +17 -0
- package/dist/issueIntake.test.js.map +2 -2
- package/dist/issueJournal.d.ts +13 -9
- package/dist/issueJournal.js +14 -10
- package/dist/issueJournal.js.map +2 -2
- package/dist/issueJournal.test.js +11 -8
- package/dist/issueJournal.test.js.map +2 -2
- package/dist/issueTracking.test.js +135 -2
- package/dist/issueTracking.test.js.map +3 -3
- package/dist/mcp/index.js +10 -3
- package/dist/mcp/index.js.map +2 -2
- package/dist/mcp/tools.d.ts +39 -25
- package/dist/mcp/tools.js +23 -5
- package/dist/mcp/tools.js.map +2 -2
- package/dist/readView.d.ts +2 -0
- package/dist/readView.js +1 -1
- package/dist/readView.js.map +2 -2
- package/dist/releaseReconciliation.test.js +20 -6
- package/dist/releaseReconciliation.test.js.map +2 -2
- package/package.json +1 -1
- package/plugins/ai-delivery/.claude-plugin/plugin.json +2 -2
- package/plugins/ai-delivery/plugin.json +1 -1
- package/plugins/ai-delivery/runtime/dist/cli.js +138 -112
- package/plugins/ai-delivery/runtime/package.json +1 -1
- package/plugins/ai-delivery/skills/ticket-design/SKILL.md +11 -10
|
@@ -5,23 +5,24 @@ description: Use before a Ready issue_create, or when slicing a design into tick
|
|
|
5
5
|
|
|
6
6
|
# Design a builder-ready issue
|
|
7
7
|
|
|
8
|
-
A builder who reads only the issue must finish without asking. Work
|
|
8
|
+
A builder who reads only the issue must finish without asking. Work in order.
|
|
9
9
|
|
|
10
|
-
1. **Start from the design.** Write each rule as an acceptance criterion with `behavior` and `verifiedBy`. Give each
|
|
11
|
-
2. **Extend, don't fork.** Name in `extends` the
|
|
12
|
-
3. **Decide.** Record each choice a builder would
|
|
13
|
-
4. **Surface.** List every path with its change and exact signatures, copied from merged code. The surface is closed: the builder
|
|
10
|
+
1. **Start from the design.** Write each rule as an acceptance criterion with `behavior` and `verifiedBy`. Give each examples (input → expected), including one failure. An open question means a draft, not Ready.
|
|
11
|
+
2. **Extend, don't fork.** Name in `extends` the decision or owner the ticket extends. If it would add a second path beside an owner, fold it into that owner first. List each search for earlier work in `priorWork` with its finding, or "none found".
|
|
12
|
+
3. **Decide.** Record each choice a builder would ask about: shape, names, failure behavior, invariants.
|
|
13
|
+
4. **Surface.** List every path with its change and exact signatures, copied from merged code. The surface is closed: the builder asks before touching more.
|
|
14
14
|
5. **Fences.** Name the tempting neighbors and each shared file's owner.
|
|
15
15
|
6. **Proof.** List commands in run order, focused first.
|
|
16
|
-
7. **Size.** Over 5 points or 6 paths, split into tickets that merge in order (`blockedBy`).
|
|
17
|
-
8. **
|
|
18
|
-
9. **
|
|
19
|
-
10. **
|
|
16
|
+
7. **Size.** Over 5 points or 6 paths, split into tickets that merge in order (`blockedBy`). Keep the contract (outcome, surface, acceptance, proof, prior work) to 400 words.
|
|
17
|
+
8. **Evidence.** Put evidence on the issue as a comment or artifact link, never a local path.
|
|
18
|
+
9. **Tier.** Default to standard; frontier only for a new state machine, concurrency or recovery logic, risk semantics, or a refactor no parity check can prove.
|
|
19
|
+
10. **Type and Priority.** Set both; Priority goes in the `priority` argument. A Bug needs steps, expected, actual, reproducibility, environment and a regression criterion.
|
|
20
|
+
11. **Self-check.** Could a builder finish without asking or adding a second way to do something? Then create it; fix refusals by `code`. To capture an idea, pass `draft: true`.
|
|
20
21
|
|
|
21
22
|
Ready `/owned/issue.json`:
|
|
22
23
|
|
|
23
24
|
```json
|
|
24
|
-
{"title":"Reject malformed widget identifiers before persistence","issueType":"Task","points":2,"problem":"Malformed identifiers reach widget persistence.","outcome":"saveWidget refuses malformed identifiers and writes nothing.","builder":{"tier":"standard"},"extends":["src/widget.ts saveWidget (the one widget write path)"],"decisions":["Valid id: ^w-[0-9a-f]{8}$. Refuse with InvalidWidgetId; never trim or coerce."],"acceptanceCriteria":[{"behavior":"saveWidget rejects a malformed id before any store call","verifiedBy":"src/widget.test.ts","examples":[{"input":"id 'w-0a1b2c3d'","expected":"one store.put"},{"input":"id ' w-0A1B2C3D'","expected":"InvalidWidgetId, zero store calls","failure":true}]}],"surface":[{"path":"src/widget.ts","change":"edit","signatures":["export function saveWidget(store: Store, w: Widget): void"]}],"fences":["src/store.ts (storage owner)"],"proof":["npx vitest run src/widget.test.ts"],"outOfScope":["Migrating stored ids"],"openQuestions":[],"draft":false}
|
|
25
|
+
{"title":"Reject malformed widget identifiers before persistence","issueType":"Task","points":2,"problem":"Malformed identifiers reach widget persistence.","outcome":"saveWidget refuses malformed identifiers and writes nothing.","builder":{"tier":"standard"},"extends":["src/widget.ts saveWidget (the one widget write path)"],"priorWork":["none found: closed issues 'widget id'"],"decisions":["Valid id: ^w-[0-9a-f]{8}$. Refuse with InvalidWidgetId; never trim or coerce."],"acceptanceCriteria":[{"behavior":"saveWidget rejects a malformed id before any store call","verifiedBy":"src/widget.test.ts","examples":[{"input":"id 'w-0a1b2c3d'","expected":"one store.put"},{"input":"id ' w-0A1B2C3D'","expected":"InvalidWidgetId, zero store calls","failure":true}]}],"surface":[{"path":"src/widget.ts","change":"edit","signatures":["export function saveWidget(store: Store, w: Widget): void"]}],"fences":["src/store.ts (storage owner)"],"proof":["npx vitest run src/widget.test.ts"],"outOfScope":["Migrating stored ids"],"openQuestions":[],"draft":false}
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
```sh
|