@aviaratech/ai-delivery 0.3.42 → 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 +2 -2
- package/dist/agentReadiness.test.js +27 -0
- package/dist/agentReadiness.test.js.map +2 -2
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +2 -2
- package/dist/contributorChecks.test.js +4 -1
- package/dist/contributorChecks.test.js.map +2 -2
- package/dist/currentConsumer.test.js +3 -2
- package/dist/currentConsumer.test.js.map +2 -2
- package/dist/currentTrackingScenario.test.js +3 -2
- package/dist/currentTrackingScenario.test.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 +84 -0
- package/dist/fixtures/builderReady.js +58 -0
- package/dist/fixtures/builderReady.js.map +7 -0
- package/dist/fixtures/inertTarget.d.ts +82 -0
- package/dist/fixtures/inertTarget.js +25 -15
- package/dist/fixtures/inertTarget.js.map +2 -2
- package/dist/fixtures/issue63.d.ts +99 -0
- package/dist/fixtures/issue63.js +21 -2
- package/dist/fixtures/issue63.js.map +2 -2
- package/dist/issue.d.ts +23 -2
- package/dist/issue.js +154 -28
- package/dist/issue.js.map +2 -2
- package/dist/issue63Routes.test.js +3 -3
- package/dist/issue63Routes.test.js.map +2 -2
- package/dist/issueBlockerGuard.test.js +16 -5
- package/dist/issueBlockerGuard.test.js.map +2 -2
- package/dist/issueContract.d.ts +247 -2
- package/dist/issueContract.js +188 -24
- package/dist/issueContract.js.map +2 -2
- package/dist/issueContract.test.d.ts +21 -0
- package/dist/issueContract.test.js +276 -17
- package/dist/issueContract.test.js.map +2 -2
- package/dist/issueDates.test.js +5 -6
- package/dist/issueDates.test.js.map +2 -2
- package/dist/issueInfoReadback.test.js +64 -0
- package/dist/issueInfoReadback.test.js.map +2 -2
- package/dist/issueIntake.test.js +190 -35
- 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/issueWriteRecovery.test.js +12 -12
- package/dist/issueWriteRecovery.test.js.map +2 -2
- package/dist/mcp/index.js +10 -3
- package/dist/mcp/index.js.map +2 -2
- package/dist/mcp/tools.d.ts +186 -27
- package/dist/mcp/tools.js +25 -7
- package/dist/mcp/tools.js.map +2 -2
- package/dist/pluginPackaging.test.js +6 -3
- package/dist/pluginPackaging.test.js.map +2 -2
- package/dist/readView.d.ts +3 -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/dist/releaseWorkflow.test.js +2 -2
- package/dist/releaseWorkflow.test.js.map +2 -2
- package/dist/review.d.ts +8 -0
- package/dist/review.js +30 -2
- package/dist/review.js.map +2 -2
- package/dist/review.test.js +64 -1
- package/dist/review.test.js.map +2 -2
- package/dist/services/agentReadinessService.d.ts +2 -1
- package/dist/services/agentReadinessService.js +6 -0
- package/dist/services/agentReadinessService.js.map +2 -2
- package/dist/stdoutRegression.test.js +27 -15
- package/dist/stdoutRegression.test.js.map +2 -2
- package/dist/targetRepositoryExecution.test.js +11 -3
- package/dist/targetRepositoryExecution.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 +156 -124
- package/plugins/ai-delivery/runtime/package.json +1 -1
- package/plugins/ai-delivery/skills/intake-create/SKILL.md +1 -11
- package/plugins/ai-delivery/skills/ticket-design/SKILL.md +30 -0
|
@@ -9,7 +9,7 @@ description: Use ai-delivery MCP to read, list, search, create or update GitHub
|
|
|
9
9
|
|
|
10
10
|
2. Reads use requested `issue_info`/`issue_list`/`issue_search` only. Before authorized updates inspect full native issue/metadata/relationships; use configured author, not Git identity. Preserve requirements/history; exclude secrets.
|
|
11
11
|
|
|
12
|
-
3. Typed intake requires problem/outcome, `behavior`/`verifiedBy`, non-goals, resolved questions/portable context, edge behavior and Bug regression/steps/expected/actual/reproducibility/environment. Native Type/Points: configured 1–8; split13. Blocked/tracking parents cannot autonomously start.
|
|
12
|
+
3. For a new Ready issue, follow `ai-delivery:ticket-design`; to capture now, pass `draft: true`. Typed intake requires problem/outcome, `behavior`/`verifiedBy`, non-goals, resolved questions/portable context, edge behavior and Bug regression/steps/expected/actual/reproducibility/environment. Native Type/Points: configured 1–8; split13. Blocked/tracking parents cannot autonomously start.
|
|
13
13
|
|
|
14
14
|
4. Ready defaults; Draft requires explicitly parked incomplete work and secret checks. Inspect warnings; fix blocking `code`/`field`/`fixHint`. Read `issue_info`/`issue_ready_check` before `issue_start`. [Schemas](https://github.com/aviaratech/ai-delivery/blob/main/src/mcp/tools.ts)/[status fields](https://github.com/aviaratech/ai-delivery/blob/main/src/issueContract.ts), drafts/publication prove neither readiness/review/merge/adoption.
|
|
15
15
|
|
|
@@ -23,14 +23,4 @@ Read example:
|
|
|
23
23
|
{"repo":"example/widget","issueNumber":17}
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Ready `/owned/issue.json`:
|
|
27
|
-
|
|
28
|
-
```json
|
|
29
|
-
{"title":"Reject invalid widget identifiers before persistence","issueType":"Task","points":2,"problem":"Malformed identifiers currently reach widget persistence.","outcome":"Reject malformed identifiers before persistence.","acceptanceCriteria":[{"behavior":"Invalid identifiers cause no persistence call.","verifiedBy":"Synthetic invalid-ID fixture asserts zero persistence calls."}],"outOfScope":["Changing storage."],"openQuestions":[],"context":{"components":["widget intake"],"files":["src/widget.ts"],"evidence":["Portable synthetic invalid-identifier fixture."]},"draft":false}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
```sh
|
|
33
|
-
ai-delivery --identity host-author --repo example/widget create --title 'Reject invalid widget identifiers before persistence' --fields-file /owned/issue.json
|
|
34
|
-
```
|
|
35
|
-
|
|
36
26
|
Canonical marker: `<!-- ai-delivery:issue@1 -->`.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'ai-delivery:ticket-design'
|
|
3
|
+
description: Use before a Ready issue_create, or when slicing a design into tickets, so a builder can finish the issue without asking. Mechanics and refusals live in ai-delivery:intake-create.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Design a builder-ready issue
|
|
7
|
+
|
|
8
|
+
A builder who reads only the issue must finish without asking. Work in order.
|
|
9
|
+
|
|
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
|
+
5. **Fences.** Name the tempting neighbors and each shared file's owner.
|
|
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`). 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`.
|
|
21
|
+
|
|
22
|
+
Ready `/owned/issue.json`:
|
|
23
|
+
|
|
24
|
+
```json
|
|
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}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
ai-delivery --identity host-author --repo example/widget create --title 'Reject malformed widget identifiers before persistence' --priority P2 --fields-file /owned/issue.json
|
|
30
|
+
```
|