@aviaratech/ai-delivery 0.3.45 → 0.3.46

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.
Files changed (42) hide show
  1. package/CONTRIBUTING.md +8 -8
  2. package/README.md +1 -1
  3. package/dist/agentReadiness.test.js +7 -0
  4. package/dist/agentReadiness.test.js.map +2 -2
  5. package/dist/config/deliveryConfig.d.ts +0 -30
  6. package/dist/config/deliveryConfig.js +0 -2
  7. package/dist/config/deliveryConfig.js.map +2 -2
  8. package/dist/delivery/common.d.ts +0 -2
  9. package/dist/delivery/common.js +0 -14
  10. package/dist/delivery/common.js.map +2 -2
  11. package/dist/errors.d.ts +1 -0
  12. package/dist/errors.js +5 -8
  13. package/dist/errors.js.map +2 -2
  14. package/dist/github/client.js +1 -5
  15. package/dist/github/client.js.map +2 -2
  16. package/dist/github/nativeIssueMetadata.d.ts +0 -1
  17. package/dist/github/nativeIssueMetadata.js.map +2 -2
  18. package/dist/issue.js +2 -2
  19. package/dist/issue.js.map +2 -2
  20. package/dist/issueContract.d.ts +2 -1
  21. package/dist/issueContract.js +15 -7
  22. package/dist/issueContract.js.map +2 -2
  23. package/dist/issueContract.test.js +10 -7
  24. package/dist/issueContract.test.js.map +2 -2
  25. package/dist/pluginDoctor.test.js +1 -1
  26. package/dist/pluginDoctor.test.js.map +2 -2
  27. package/dist/pluginInstaller.js +7 -4
  28. package/dist/pluginInstaller.js.map +2 -2
  29. package/dist/pluginInstaller.test.js +38 -13
  30. package/dist/pluginInstaller.test.js.map +2 -2
  31. package/dist/pluginPackaging.test.js +1 -1
  32. package/dist/pluginPackaging.test.js.map +2 -2
  33. package/dist/pr.js +5 -1
  34. package/dist/pr.js.map +2 -2
  35. package/dist/pr.test.js +55 -0
  36. package/dist/pr.test.js.map +2 -2
  37. package/package.json +1 -1
  38. package/plugins/ai-delivery/.claude-plugin/plugin.json +2 -2
  39. package/plugins/ai-delivery/plugin.json +1 -1
  40. package/plugins/ai-delivery/runtime/dist/cli.js +112 -112
  41. package/plugins/ai-delivery/runtime/package.json +1 -1
  42. package/plugins/ai-delivery/skills/ticket-design/SKILL.md +9 -9
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aviaratech/ai-delivery",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "ai-delivery": "./dist/cli.js"
@@ -7,17 +7,17 @@ description: Use before a Ready issue_create, or when slicing a design into tick
7
7
 
8
8
  A builder who reads only the issue must finish without asking.
9
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. If the repo's review policy gates a path it touches, set `moneyPath: true` and link the owner's OK of its live-effect line in `ownerOk`.
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.
10
+ 1. **Design first.** Each rule becomes an acceptance criterion with `behavior`, `verifiedBy` and examples (input → expected), one a failure. An open question means a draft, not Ready.
11
+ 2. **Extend, don't fork.** Name in `extends` the decision or owner it extends; fold any second path into that owner first. List each prior-work search in `priorWork` with its finding, or "none found".
12
+ 3. **Decide.** Record each choice a builder would ask about: shape, names, failure behavior, invariants. If the repo's review policy gates a touched path, set `moneyPath: true` and link the owner's OK of its live-effect line in `ownerOk` when given; the PR can't go ready without it.
13
+ 4. **Surface.** List every path with its change and exact signatures copied from merged code. 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`). 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`.
16
+ 7. **Size.** Over 5 points or 6 paths, split into tickets merged in order (`blockedBy`). Keep the contract (outcome, surface, acceptance, proof, prior work) to 400 words.
17
+ 8. **Evidence.** On the issue as a comment or artifact link, never a local path.
18
+ 9. **Tier.** Standard, or 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 via the `priority` argument. A Bug needs steps, expected, actual, reproducibility, environment and a regression criterion.
20
+ 11. **Create** only once a builder could finish without asking or adding a second path; fix refusals by `code`. Capture an idea with `draft: true`.
21
21
 
22
22
  Ready `/owned/issue.json`:
23
23