@aviaratech/ai-delivery 0.3.25 → 0.3.26
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 +104 -9
- package/dist/agent.d.ts +2 -0
- package/dist/agent.js +1 -0
- package/dist/agent.js.map +1 -1
- package/dist/agentReadiness.test.js +61 -123
- package/dist/agentReadiness.test.js.map +1 -1
- package/dist/cli.js +121 -32
- package/dist/cli.js.map +1 -1
- package/dist/config/deliveryConfig.js +5 -1
- package/dist/config/deliveryConfig.js.map +1 -1
- package/dist/deliveryHealth.test.d.ts +1 -0
- package/dist/deliveryHealth.test.js +167 -0
- package/dist/deliveryHealth.test.js.map +1 -0
- package/dist/dispatch.d.ts +1 -0
- package/dist/dispatch.js +47 -4
- package/dist/dispatch.js.map +1 -1
- package/dist/fixtures/inertEntrypointChild.d.ts +1 -0
- package/dist/fixtures/inertEntrypointChild.js +62 -0
- package/dist/fixtures/inertEntrypointChild.js.map +1 -0
- package/dist/fixtures/inertEntrypoints.d.ts +49 -0
- package/dist/fixtures/inertEntrypoints.js +276 -0
- package/dist/fixtures/inertEntrypoints.js.map +1 -0
- package/dist/fixtures/inertTarget.d.ts +643 -0
- package/dist/fixtures/inertTarget.js +713 -0
- package/dist/fixtures/inertTarget.js.map +1 -0
- package/dist/fixtures/issue63.d.ts +68 -0
- package/dist/fixtures/issue63.js +272 -0
- package/dist/fixtures/issue63.js.map +1 -0
- package/dist/github/client.d.ts +2 -0
- package/dist/github/client.js +94 -12
- package/dist/github/client.js.map +1 -1
- package/dist/github/issueHistory.d.ts +40 -0
- package/dist/github/issueHistory.js +144 -0
- package/dist/github/issueHistory.js.map +1 -0
- package/dist/github/machineAuth.d.ts +9 -0
- package/dist/github/machineAuth.js +135 -0
- package/dist/github/machineAuth.js.map +1 -0
- package/dist/github/machineAuth.test.d.ts +1 -0
- package/dist/github/machineAuth.test.js +409 -0
- package/dist/github/machineAuth.test.js.map +1 -0
- package/dist/github/projectDelivery.d.ts +2 -0
- package/dist/github/projectDelivery.js +6 -0
- package/dist/github/projectDelivery.js.map +1 -1
- package/dist/github/relationships.d.ts +9 -2
- package/dist/github/relationships.js +6 -2
- package/dist/github/relationships.js.map +1 -1
- package/dist/investigationCompletion.test.d.ts +1 -0
- package/dist/investigationCompletion.test.js +728 -0
- package/dist/investigationCompletion.test.js.map +1 -0
- package/dist/issue.d.ts +22 -6
- package/dist/issue.js +152 -21
- package/dist/issue.js.map +1 -1
- package/dist/issue63History.test.d.ts +1 -0
- package/dist/issue63History.test.js +45 -0
- package/dist/issue63History.test.js.map +1 -0
- package/dist/issue63Routes.test.d.ts +1 -0
- package/dist/issue63Routes.test.js +153 -0
- package/dist/issue63Routes.test.js.map +1 -0
- package/dist/issueBlockerGuard.test.d.ts +1 -0
- package/dist/issueBlockerGuard.test.js +162 -0
- package/dist/issueBlockerGuard.test.js.map +1 -0
- package/dist/issueContract.d.ts +230 -0
- package/dist/issueContract.js +341 -0
- package/dist/issueContract.js.map +1 -0
- package/dist/issueContract.test.d.ts +27 -0
- package/dist/issueContract.test.js +314 -0
- package/dist/issueContract.test.js.map +1 -0
- package/dist/issueIntake.test.d.ts +1 -0
- package/dist/issueIntake.test.js +649 -0
- package/dist/issueIntake.test.js.map +1 -0
- package/dist/issueJournal.d.ts +1 -1
- package/dist/issueTracking.test.js +16 -8
- package/dist/issueTracking.test.js.map +1 -1
- package/dist/mcp/tools.d.ts +135 -11
- package/dist/mcp/tools.js +85 -33
- package/dist/mcp/tools.js.map +1 -1
- package/dist/pluginAuthProbe.d.ts +6 -0
- package/dist/pluginAuthProbe.js +53 -0
- package/dist/pluginAuthProbe.js.map +1 -0
- package/dist/pluginAuthProbe.test.d.ts +1 -0
- package/dist/pluginAuthProbe.test.js +66 -0
- package/dist/pluginAuthProbe.test.js.map +1 -0
- package/dist/pluginCredentials.test.d.ts +1 -0
- package/dist/pluginCredentials.test.js +277 -0
- package/dist/pluginCredentials.test.js.map +1 -0
- package/dist/pluginDoctor.test.d.ts +1 -0
- package/dist/pluginDoctor.test.js +627 -0
- package/dist/pluginDoctor.test.js.map +1 -0
- package/dist/pluginInstaller.d.ts +36 -0
- package/dist/pluginInstaller.js +231 -10
- package/dist/pluginInstaller.js.map +1 -1
- package/dist/pluginInstaller.test.js +29 -0
- package/dist/pluginInstaller.test.js.map +1 -1
- package/dist/pluginPackaging.test.js +23 -3
- package/dist/pluginPackaging.test.js.map +1 -1
- package/dist/pr.d.ts +70 -0
- package/dist/pr.js +238 -1
- package/dist/pr.js.map +1 -1
- package/dist/services/agentReadinessService.d.ts +9 -8
- package/dist/services/agentReadinessService.js +32 -224
- package/dist/services/agentReadinessService.js.map +1 -1
- package/dist/services/blockerGuardService.d.ts +17 -0
- package/dist/services/blockerGuardService.js +194 -0
- package/dist/services/blockerGuardService.js.map +1 -0
- package/dist/services/deliveryAdmission.js +22 -19
- package/dist/services/deliveryAdmission.js.map +1 -1
- package/dist/services/deliveryHealthService.d.ts +84 -0
- package/dist/services/deliveryHealthService.js +206 -0
- package/dist/services/deliveryHealthService.js.map +1 -0
- package/dist/services/worktreeRegistry.d.ts +84 -0
- package/dist/services/worktreeRegistry.js +265 -1
- package/dist/services/worktreeRegistry.js.map +1 -1
- package/dist/setup.test.js +97 -3
- package/dist/setup.test.js.map +1 -1
- package/dist/start.test.js +30 -3
- package/dist/start.test.js.map +1 -1
- package/dist/stdoutRegression.test.js +36 -6
- package/dist/stdoutRegression.test.js.map +1 -1
- package/dist/targetPolicyEntrypoints.test.d.ts +1 -0
- package/dist/targetPolicyEntrypoints.test.js +275 -0
- package/dist/targetPolicyEntrypoints.test.js.map +1 -0
- package/dist/targetPolicyLocal.test.d.ts +1 -0
- package/dist/targetPolicyLocal.test.js +707 -0
- package/dist/targetPolicyLocal.test.js.map +1 -0
- package/dist/targetPolicyRoutes.test.d.ts +1 -0
- package/dist/targetPolicyRoutes.test.js +298 -0
- package/dist/targetPolicyRoutes.test.js.map +1 -0
- package/dist/verification.js +48 -12
- package/dist/verification.js.map +1 -1
- package/dist/verificationGate.test.d.ts +1 -0
- package/dist/verificationGate.test.js +106 -0
- package/dist/verificationGate.test.js.map +1 -0
- package/dist/worktree.d.ts +6 -1
- package/dist/worktree.js +90 -3
- package/dist/worktree.js.map +1 -1
- package/dist/worktreeTransition.test.js +1 -1
- package/dist/worktreeTransition.test.js.map +1 -1
- package/package.json +1 -1
- package/plugins/ai-delivery/.claude-plugin/plugin.json +2 -2
- package/plugins/ai-delivery/README.md +160 -1
- package/plugins/ai-delivery/plugin.json +1 -1
- package/plugins/ai-delivery/runtime/dist/cli.js +83 -49
- package/plugins/ai-delivery/runtime/package.json +1 -1
- package/plugins/ai-delivery/skills/intake-create/SKILL.md +45 -30
- package/plugins/ai-delivery/skills/pr-handoff/SKILL.md +20 -0
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Create `~/.config/aviaratech-ai/ai-delivery.json`, or set `AI_DELIVERY_CONFIG` t
|
|
|
22
22
|
"author": {
|
|
23
23
|
"identity": "host-author",
|
|
24
24
|
"authSource": "personal",
|
|
25
|
-
"credentialEnv": { "token": "
|
|
25
|
+
"credentialEnv": { "token": "GH_TOKEN" }
|
|
26
26
|
},
|
|
27
27
|
"reviewer": {
|
|
28
28
|
"identity": "delivery-reviewer",
|
|
@@ -38,7 +38,11 @@ Create `~/.config/aviaratech-ai/ai-delivery.json`, or set `AI_DELIVERY_CONFIG` t
|
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
An App author uses the same `credentialEnv` shape as the reviewer. Roles and credential environment names must be distinct. Credential values and private keys remain outside source control. A configured personal author uses
|
|
41
|
+
An App author uses the same `credentialEnv` shape as the reviewer. Roles and credential environment names must be distinct. Credential values and private keys remain outside source control. A configured personal author uses its named token variable. With the conventional `GH_TOKEN` reference **absent**, it instead uses the existing active personal account from GitHub CLI `gh` for `github.com`. A present empty, malformed or expired token fails without switching accounts. A custom reference such as `DELIVERY_AUTHOR_TOKEN` always requires that exact value; its absence does not select a machine session. Unrelated `GITHUB_TOKEN` values do not satisfy either configured reference. The optional `--identity` or `AI_DELIVERY_IDENTITY` override must select the command's configured role; neither is needed for normal operation. The explicit legacy `--identity personal --personal-auth` override is limited to development access diagnosis under an App author configuration; it requires an explicit token and does not use a missing-token machine fallback. Publication requires the configured author.
|
|
42
|
+
|
|
43
|
+
The machine route uses `gh auth status --hostname github.com --active --json hosts`, validates the selected account's state, then privately obtains that exact user's credential through `gh auth token --hostname github.com --user <active-user>`. An actual authenticated user read must match the selection. Repository discovery and command execution retain that account; failed identity/access never selects another account. Inactive accounts with errors do not invalidate a healthy active user. Only required non-secret home/PATH/gh configuration selectors reach `gh`; token overrides, debug flags and unrelated credentials are excluded. No login, switch, refresh, credential-store scraping or persistent configuration change occurs. The reviewer still uses its distinct configured App, with no personal-session fallback.
|
|
44
|
+
|
|
45
|
+
`gh` must be executable on the running process's PATH and able to access its existing session. A terminal login does not prove that a Codex or Claude GUI process can find `gh` or use its keyring. `config:resolve` reports the selected route/executable and authenticated actor, or a safe actionable refusal. Default plugin doctor does not inspect or authenticate the session. This package currently supports `github.com` repositories; enterprise URLs or a conflicting `GH_HOST` refuse rather than silently using another host. No write probe or permission grant is performed, and a successful identity/repository read does not guarantee every later write or counted App approval.
|
|
42
46
|
|
|
43
47
|
The explicit organization Project number selects a compatible writable Project. Optional `pointsField`, `priorityField`, `statusField`, four `statuses` names (`todo`, `inProgress`, `blocked`, `done`), and `issueTypes` customize discovered metadata. Defaults are Points, Priority, Status and Todo/In Progress/Blocked/Done. IDs, option catalogs and issue types come from GitHub. This runtime supports github.com organization repositories and native organization single-select Points/Priority fields bound into the selected Project.
|
|
44
48
|
|
|
@@ -64,6 +68,31 @@ ai-delivery --repo example/widget finish --issue 17 --pr 23 --reviewed-head <rev
|
|
|
64
68
|
|
|
65
69
|
`start` creates or reuses a GitHub-linked branch from the repository's default branch. It can create a tracking issue first, or resume a known partially created issue with `--resume-created`; recovery returns the exact known issue and safe arguments without creating another issue. Hosts own local worktree preparation and cleanup. PR creation accepts any non-empty body, appends the issue closing reference when absent, and reuses the matching remote branch/PR. Merged completion uses GitHub issue association even after branch deletion. Existing repository labels are accepted; an unknown label is refused before issue mutation.
|
|
66
70
|
|
|
71
|
+
For a new read-only investigation, the host first creates the linked `issue/N` worktree at the matching clone's exact `.worktrees/issue-N` path. Before investigating, explicitly register its unchanged current default commit:
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
ai-delivery --repo example/widget --repo-root /clone start --issue 17 \
|
|
75
|
+
--investigation-worktree /clone/.worktrees/issue-17 --expected-head <initial-sha>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
This author operation records prospective commit/tree, physical worktree identity, canonical registry custody and a native preparation acknowledgement. It creates no branch or worktree and refuses existing legacy custody. Historical investigations without this preparation cannot be adopted retrospectively.
|
|
79
|
+
|
|
80
|
+
After independently reviewing the complete result, preserve it in a private regular file outside the worktree. The issue must already be closed with reason `completed`, with no PR associated with its linked branch. Inspection prints the exact operator authority body and, when its comment ID is supplied, the configured-App acceptance body:
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
ai-delivery --repo example/widget --repo-root /clone finish --issue 17 \
|
|
84
|
+
--investigation --result /retained/result.txt --dry-run
|
|
85
|
+
ai-delivery --repo example/widget --repo-root /clone finish --issue 17 \
|
|
86
|
+
--investigation --result /retained/result.txt --authority-comment <operator-comment> --dry-run
|
|
87
|
+
ai-delivery --repo example/widget --repo-root /clone finish --issue 17 \
|
|
88
|
+
--investigation --result /retained/result.txt \
|
|
89
|
+
--authority-comment <operator-comment> --acceptance-comment <app-comment>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Completion consumes existing whole native comments from the configured personal operator and distinct configured reviewer App. These bind the preparation, exact result bytes, unchanged commit/tree and removal scope, including producer quiescence and continued exclusion of writers. This path supplies no non-PR App acceptance writer; unavailable authentic acceptance is a refusal, never a local approval substitute. Keep the result, native acceptance and producer exclusion available through interruption and resume.
|
|
93
|
+
|
|
94
|
+
Run completion from outside the investigation worktree. Dirty, untracked or ignored files, `assume-unchanged` or `skip-worktree` index entries, new commits (including same-tree commits), changed native refs, ambiguous or foreign custody and retained verification writers refuse removal. PR/merge options are incompatible with investigation mode. A durable intent preserves the result, native authority and exact registry beforeimage before non-force Git removal. Resume the same command and evidence after an interruption; unexplained absence or recreated worktrees refuse. Exact disk/Git/registry postconditions seal completion. The branch, private evidence and unrelated registry entries remain retained; ordinary source delivery still requires its full merged-PR proof.
|
|
95
|
+
|
|
67
96
|
Use explicit `--non-closing` on each PR command when delivering a partial fix while its issue remains OPEN. The default closing lifecycle above is unchanged. A non-closing body begins with exactly `References owner/repository#number` on its first line. Creation adds this line to the supplied body; inspection, review, promotion and merge require it to remain unchanged in meaning.
|
|
68
97
|
|
|
69
98
|
```sh
|
|
@@ -115,7 +144,30 @@ the managed version units for recovery and uses Claude Code's `--keep-data`.
|
|
|
115
144
|
Every command supports `--dry-run` and `--json`. Dry-run reports the target
|
|
116
145
|
without fetching an archive, running a native command, or writing configuration.
|
|
117
146
|
Doctor reports managed installation and source integrity, skills, and a direct
|
|
118
|
-
stdio startup check of the selected bundled MCP server.
|
|
147
|
+
credential-free stdio startup check of the selected bundled MCP server. Startup
|
|
148
|
+
means that the server initialized and listed its tools; it does not validate
|
|
149
|
+
user settings, receive GitHub credentials, or authenticate either delivery role.
|
|
150
|
+
For an opt-in authentication check, select a repository explicitly:
|
|
151
|
+
|
|
152
|
+
```sh
|
|
153
|
+
ai-delivery --repo example/widget plugin doctor --host codex --scope user --check-auth --json
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
This checks settings and required process references before running the verified,
|
|
157
|
+
enabled plugin's selected CLI `config:resolve`. It reports authenticated actors,
|
|
158
|
+
repository access and visible review rules separately. Only configured credential
|
|
159
|
+
names and required runtime selectors reach that subprocess; an absent default
|
|
160
|
+
`GH_TOKEN` may use the selected machine session. Unrelated tokens and
|
|
161
|
+
legacy personal overrides do not. Missing or invalid inputs stop before key
|
|
162
|
+
access or network authentication. An eligible machine route is explicitly
|
|
163
|
+
authenticated through `gh` and the selected client after those gates. Dry-run
|
|
164
|
+
performs none of these checks.
|
|
165
|
+
The readback is labelled `selected_runtime_cli`; it does not prove GUI credential
|
|
166
|
+
propagation or counted exact-head approval. `config:resolve` remains available
|
|
167
|
+
for direct CLI readback; check an actual native tool call separately. The
|
|
168
|
+
[credential and readiness guide](plugins/ai-delivery/README.md#credentials-and-readiness)
|
|
169
|
+
explains the environment boundary and the evidence to retain without secrets.
|
|
170
|
+
Restart the native host
|
|
119
171
|
after changing a plugin so it reloads that selection. Installing a plugin does not admit a consumer controller. Ordinary remote GitHub delivery uses user configuration; explicit controller staging and admission remain separate operations.
|
|
120
172
|
|
|
121
173
|
First read `config:resolve` with the configured author, then stage a reviewed
|
|
@@ -194,6 +246,49 @@ Legacy transitions remain explicit preservation operations. Inspection returns e
|
|
|
194
246
|
|
|
195
247
|
The remote contract is `ai-delivery.mcp@2`. CLI and MCP call the same owners. Issue listing/search preserve native filters, pagination, literal search boundaries and repository-qualified relationships. Issue updates preserve typed journals, history-before-rewrite and native reasoned closure. `issue_info.worktree` is null. Offline `migrate:legacy-issues --input-file` remains a read-only plan. Public exports expose remote delivery, metadata, digest utilities and explicit setup; removed executable policy/stage/evidence APIs are not exported.
|
|
196
248
|
|
|
249
|
+
## Blocker overrides and delivery health
|
|
250
|
+
|
|
251
|
+
`create`, `start` and `update` accept `--blocks <issue-numbers>` to add the
|
|
252
|
+
selected issue as a native blocker of named dependents. This preserves those
|
|
253
|
+
dependents' other blockers. `--blocked-by` retains its exact-set replacement
|
|
254
|
+
semantics. The corresponding MCP inputs are `blocks` and `blockedBy`.
|
|
255
|
+
|
|
256
|
+
A genuinely new blocker on configured-Project **In Progress** work requires
|
|
257
|
+
`--override-reason <reason>` / `overrideReason` (1–2,000 trimmed characters).
|
|
258
|
+
The configured author must authenticate, and an author-verified comment must
|
|
259
|
+
precede the native edge. Existing edges and removals require no override.
|
|
260
|
+
Unresolved dependent status refuses additions. Creation preflights existing
|
|
261
|
+
dependents before creating the new issue. A retry reuses the same verified
|
|
262
|
+
comment for the same native removal episode; a later remove/re-add records a
|
|
263
|
+
new episode. Comments record intent, not successful dependency writes.
|
|
264
|
+
|
|
265
|
+
GitHub does not atomically lock status, comments and relationships. Every actual
|
|
266
|
+
addition is rechecked at its write boundary. A later failure can follow earlier
|
|
267
|
+
writes; inspect native state and resume the known issue rather than recreate it.
|
|
268
|
+
If creation partially succeeds, the existing known-created recovery identifies
|
|
269
|
+
that issue. Low-level exported relationship primitives remain available to
|
|
270
|
+
callers that own their own policy; the guard applies to canonical issue writes.
|
|
271
|
+
|
|
272
|
+
```sh
|
|
273
|
+
ai-delivery --repo example/widget update --issue 17 --blocked-by 18 --override-reason 'Await prerequisite validation'
|
|
274
|
+
ai-delivery --repo example/widget health --from 2026-10-01T00:00:00Z --to 2026-10-08T00:00:00Z
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
`delivery_health` / `health` requires an explicit repository and UTC `[from,to)`
|
|
278
|
+
window. It reports distinct issues opened and closed, current open In Progress
|
|
279
|
+
work in that repository lane of the configured Project, oldest active issues by
|
|
280
|
+
creation time, and distinct native blocker additions classified by proven
|
|
281
|
+
historical Project membership and status. Reopen/reclose counts one closed issue
|
|
282
|
+
per window. Unknown history is separate and never a violation verdict. Age is
|
|
283
|
+
since issue creation, not time spent in progress.
|
|
284
|
+
|
|
285
|
+
The window must end at or before collection time. The read-only snapshot is non-atomic and records collection timestamps. Defaults
|
|
286
|
+
are 200 issues, five timeline pages per issue, five Project item pages per
|
|
287
|
+
status read and ten oldest issues; bounds are 500 issues, 20 pages per read
|
|
288
|
+
and 20 oldest issues. `--max-project-pages` bounds Project status collection. Limits and read failures
|
|
289
|
+
produce explicit partial **observed** counts, not complete zeroes. Issues whose
|
|
290
|
+
current Project status cannot be resolved have a separate unknown count.
|
|
291
|
+
|
|
197
292
|
## Typed issue journals
|
|
198
293
|
|
|
199
294
|
`issue_comment` posts a typed journal through the configured author role. The public
|
|
@@ -222,12 +317,12 @@ operator's machine. Validation requires HTTPS with a DNS hostname; it rejects
|
|
|
222
317
|
file paths, credential-bearing URLs, IP literals, localhost and `.local` names.
|
|
223
318
|
It does not probe remote reachability. Each kind also requires these fields:
|
|
224
319
|
|
|
225
|
-
| Kind
|
|
226
|
-
|
|
|
227
|
-
| `start`
|
|
228
|
-
| `progress` | `done` (nonempty list), `decisionNeeded`; at least one evidence link
|
|
229
|
-
| `decision` | `decision`, `rationale`
|
|
230
|
-
| `blocker`
|
|
320
|
+
| Kind | Required fields |
|
|
321
|
+
| ---------- | ----------------------------------------------------------------------------------------- |
|
|
322
|
+
| `start` | `outcome` |
|
|
323
|
+
| `progress` | `done` (nonempty list), `decisionNeeded`; at least one evidence link |
|
|
324
|
+
| `decision` | `decision`, `rationale` |
|
|
325
|
+
| `blocker` | `blocker`, `resolution` |
|
|
231
326
|
| `closeout` | `acceptance` (nonempty `{criterion, evidence}` list), `followUps` (list; empty when none) |
|
|
232
327
|
|
|
233
328
|
Optional `details` adds supporting prose. `lengthCap` (600–10,000 characters,
|
package/dist/agent.d.ts
CHANGED
|
@@ -19,3 +19,5 @@ export type { DeliveryRouting, DiscoveryClients } from './github/discovery.js';
|
|
|
19
19
|
export type { DeliveryOverrides, DeliveryPolicySettings, LoadedDeliverySettings } from './config/deliveryConfig.js';
|
|
20
20
|
export { stageRuntime, admitRuntime, RuntimeAdmissionCommitUnknownError } from './setup.js';
|
|
21
21
|
export type { StageRuntimeInput, AdmitRuntimeInput, RuntimeStageResult } from './setup.js';
|
|
22
|
+
export { deliveryHealth } from './services/deliveryHealthService.js';
|
|
23
|
+
export type { DeliveryHealthRequest } from './services/deliveryHealthService.js';
|
package/dist/agent.js
CHANGED
|
@@ -12,4 +12,5 @@ export { normalizeLegacyIssue, planOfflineLegacyIssueMigration } from './service
|
|
|
12
12
|
export { withVerificationFilesystemFixture } from './verification.js';
|
|
13
13
|
export { discoverDeliveryRouting } from './github/discovery.js';
|
|
14
14
|
export { stageRuntime, admitRuntime, RuntimeAdmissionCommitUnknownError } from './setup.js';
|
|
15
|
+
export { deliveryHealth } from './services/deliveryHealthService.js';
|
|
15
16
|
//# sourceMappingURL=agent.js.map
|
package/dist/agent.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.js","sourceRoot":"","sources":["../src/agent.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,8BAA8B,GAC/B,MAAM,4BAA4B,CAAC;AAQpC,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AACpH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EACL,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACV,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAItD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACzG,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,oBAAoB,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AAC3G,OAAO,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAE,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MAAM,YAAY,CAAC;AAG5F,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -1,139 +1,77 @@
|
|
|
1
1
|
import assert from 'node:assert/strict';
|
|
2
|
-
import {
|
|
2
|
+
import { mkdtempSync, rmSync } from 'node:fs';
|
|
3
3
|
import { tmpdir } from 'node:os';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
|
-
import {
|
|
5
|
+
import { test } from 'vitest';
|
|
6
6
|
import { evaluateAgentReadiness } from './agent.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
'
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'## Acceptance Criteria',
|
|
24
|
-
'- [ ] The intended feature works.',
|
|
25
|
-
'- [ ] Existing behavior is preserved.',
|
|
26
|
-
'## Verification',
|
|
27
|
-
'`npm run checks`',
|
|
28
|
-
'## Current State',
|
|
29
|
-
evidence,
|
|
30
|
-
].join('\n');
|
|
7
|
+
import { IssueFields, renderIssueBody } from './issueContract.js';
|
|
8
|
+
function fixture() {
|
|
9
|
+
return IssueFields.parse({
|
|
10
|
+
title: 'Reject invalid widget identifiers before persistence',
|
|
11
|
+
points: 2,
|
|
12
|
+
problem: 'The Project Todo column tracks work; TODO/TBD are literal documentation.',
|
|
13
|
+
outcome: 'Reject malformed widget identifiers.',
|
|
14
|
+
acceptanceCriteria: [
|
|
15
|
+
{
|
|
16
|
+
behavior: 'An invalid widget identifier returns an error without a write.',
|
|
17
|
+
verifiedBy: 'A synthetic mock asserts no write.',
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
outOfScope: ['Changing storage.'],
|
|
21
|
+
context: { files: ['src/absent.ts'], components: [], evidence: [] },
|
|
22
|
+
});
|
|
31
23
|
}
|
|
32
|
-
function evaluate(
|
|
24
|
+
function evaluate(overrides = {}) {
|
|
25
|
+
const issue = fixture();
|
|
33
26
|
return evaluateAgentReadiness({
|
|
34
|
-
|
|
27
|
+
title: issue.title,
|
|
28
|
+
body: renderIssueBody(issue),
|
|
35
29
|
points: 2,
|
|
36
|
-
repoRoot,
|
|
37
|
-
title: 'Improve the synthetic feature',
|
|
30
|
+
repoRoot: undefined,
|
|
38
31
|
...overrides,
|
|
39
32
|
});
|
|
40
33
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
34
|
+
test('readiness from a non-git directory accepts Todo prose, absent paths and portable non-command verification', () => {
|
|
35
|
+
const prior = process.cwd();
|
|
36
|
+
const root = mkdtempSync(join(tmpdir(), 'typed-readiness-'));
|
|
37
|
+
try {
|
|
38
|
+
process.chdir(root);
|
|
39
|
+
const result = evaluate();
|
|
40
|
+
assert.equal(result.ready, true);
|
|
41
|
+
assert.deepEqual(result.failures, []);
|
|
42
|
+
}
|
|
43
|
+
finally {
|
|
44
|
+
process.chdir(prior);
|
|
45
|
+
rmSync(root, { recursive: true, force: true });
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
test('one or eight observable criteria are valid; count warns above seven', () => {
|
|
49
|
+
for (const count of [1, 8]) {
|
|
50
|
+
const issue = fixture();
|
|
51
|
+
issue.acceptanceCriteria = Array.from({ length: count }, () => ({ ...issue.acceptanceCriteria[0] }));
|
|
52
|
+
const result = evaluate({ body: renderIssueBody(issue) });
|
|
53
|
+
assert.equal(result.ready, true);
|
|
54
|
+
assert.equal(result.warnings.some((w) => w.code === 'many-criteria'), count === 8);
|
|
55
|
+
}
|
|
61
56
|
});
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'src/../../outside.ts',
|
|
70
|
-
'/absolute.ts',
|
|
71
|
-
'..\\outside.ts',
|
|
72
|
-
'src/$2.ts',
|
|
73
|
-
'$2/config.ts',
|
|
74
|
-
'$1/$2.ts',
|
|
75
|
-
'$HOME',
|
|
76
|
-
'1/2',
|
|
77
|
-
'USD 1/2',
|
|
78
|
-
'$1/$2suffix',
|
|
79
|
-
'$1,00',
|
|
80
|
-
'arbitrary inline prose',
|
|
81
|
-
'npm run checks',
|
|
82
|
-
])('still rejects missing, invalid or non-currency inline scope %s', (path) => {
|
|
83
|
-
const result = evaluate(`- \`src/feature.ts\`\n- \`${path}\`\nPrices are \`$1/$2\`.`);
|
|
57
|
+
for (const [name, override, code] of [
|
|
58
|
+
['missing live Points', { points: undefined }, 'points'],
|
|
59
|
+
['open native blocker', { blockedBy: [17] }, 'blocked'],
|
|
60
|
+
['tracking parent', { trackingParent: true }, 'tracking-parent'],
|
|
61
|
+
])
|
|
62
|
+
test(name + ' blocks independently of a valid body', () => {
|
|
63
|
+
const result = evaluate(override);
|
|
84
64
|
assert.equal(result.ready, false);
|
|
85
|
-
assert.ok(result.failures.some((
|
|
86
|
-
});
|
|
87
|
-
test('does not let currency hide a missing declared path', () => {
|
|
88
|
-
assert.ok(evaluate('- `src/missing.ts`\nPrices are `$1/$2`.').failures.some((failure) => failure.code === 'scope'));
|
|
89
|
-
});
|
|
90
|
-
test('keeps repository-backed evidence mandatory for contract-sensitive scope', () => {
|
|
91
|
-
const scope = '- `src/feature.ts`\nPrices are `$1/$2`.';
|
|
92
|
-
const input = body(scope).replace('bounded change', 'contract-sensitive change');
|
|
93
|
-
assert.deepEqual(evaluate(scope, { body: input }).failures.map((failure) => failure.code), ['evidence']);
|
|
94
|
-
assert.equal(evaluate(scope, { body: `${input}\nObserved implementation: \`src/feature.ts\`.` }).ready, true);
|
|
95
|
-
});
|
|
96
|
-
test('keeps evidence mandatory for multiple real ownership roots', () => {
|
|
97
|
-
const scope = '- `src/feature.ts`\n- `docs/guide.md`\nPrices are `$1/$2`.';
|
|
98
|
-
assert.deepEqual(evaluate(scope).failures.map((failure) => failure.code), ['evidence']);
|
|
99
|
-
assert.equal(evaluate(scope, { body: body(scope, 'Observed implementation: `src/feature.ts`.') }).ready, true);
|
|
100
|
-
});
|
|
101
|
-
test('keeps evidence mandatory for aggregate scope', () => {
|
|
102
|
-
const scope = '- `.`\nPrices are `$1/$2`.';
|
|
103
|
-
assert.deepEqual(evaluate(scope).failures.map((failure) => failure.code), ['evidence']);
|
|
104
|
-
assert.equal(evaluate(scope, { body: body(scope, 'Observed implementation: `src/feature.ts`.') }).ready, true);
|
|
105
|
-
});
|
|
106
|
-
test('does not treat currency or a missing path outside Scope as repository-backed evidence', () => {
|
|
107
|
-
const scope = '- `src/feature.ts`';
|
|
108
|
-
const input = body(scope, 'Observed prices: `$1/$2`; absent implementation: `src/missing.ts`.').replace('bounded change', 'contract-sensitive change');
|
|
109
|
-
assert.deepEqual(evaluate(scope, { body: input }).failures.map((failure) => failure.code), ['evidence']);
|
|
65
|
+
assert.ok(result.failures.some((f) => f.code === code));
|
|
110
66
|
});
|
|
67
|
+
test('draft and structured open questions block even without TODO markers', () => {
|
|
68
|
+
for (const changed of [{ draft: true }, { openQuestions: ['Select the persistence contract.'] }]) {
|
|
69
|
+
const issue = { ...fixture(), ...changed };
|
|
70
|
+
assert.equal(evaluate({ body: renderIssueBody(issue) }).ready, false);
|
|
71
|
+
}
|
|
111
72
|
});
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
assert.deepEqual(evaluateAgentReadiness({ body: body(scope), repoRoot, title: 'Improve the synthetic feature' }).failures.map((failure) => failure.code), ['points']);
|
|
116
|
-
});
|
|
117
|
-
test('requires two to five acceptance criteria', () => {
|
|
118
|
-
const input = body(scope).replace('- [ ] Existing behavior is preserved.\n', '');
|
|
119
|
-
assert.deepEqual(evaluate(scope, { body: input }).failures.map((failure) => failure.code), ['acceptance-criteria']);
|
|
120
|
-
});
|
|
121
|
-
test('requires executable verification', () => {
|
|
122
|
-
const input = body(scope).replace('`npm run checks`', 'Inspect the change.');
|
|
123
|
-
assert.deepEqual(evaluate(scope, { body: input }).failures.map((failure) => failure.code), ['verification']);
|
|
124
|
-
});
|
|
125
|
-
test('requires a substantive outcome or problem', () => {
|
|
126
|
-
const input = body(scope).replace('Keep feature behavior correct while evaluating a bounded change.', 'Brief.');
|
|
127
|
-
assert.deepEqual(evaluate(scope, { body: input }).failures.map((failure) => failure.code), ['outcome']);
|
|
128
|
-
});
|
|
129
|
-
test('refuses native blockers', () => {
|
|
130
|
-
assert.deepEqual(evaluate(scope, { blockedBy: [17] }).failures.map((failure) => failure.code), ['blocked']);
|
|
131
|
-
});
|
|
132
|
-
test('refuses tracking parents', () => {
|
|
133
|
-
assert.deepEqual(evaluate(scope, { trackingParent: true }).failures.map((failure) => failure.code), ['tracking-parent']);
|
|
134
|
-
});
|
|
135
|
-
test('refuses unresolved decisions', () => {
|
|
136
|
-
assert.deepEqual(evaluate(scope, { body: `${body(scope)}\nTBD` }).failures.map((failure) => failure.code), ['unresolved']);
|
|
137
|
-
});
|
|
73
|
+
test('native Points drift and visible/payload divergence cannot pass canonical readiness', () => {
|
|
74
|
+
assert.ok(evaluate({ points: 3 }).failures.some((f) => f.code === 'points.sync'));
|
|
75
|
+
assert.ok(evaluate({ body: renderIssueBody(fixture()).replace('## Status', '## Changed status') }).failures.some((f) => f.code === 'body.canonical'));
|
|
138
76
|
});
|
|
139
77
|
//# sourceMappingURL=agentReadiness.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentReadiness.test.js","sourceRoot":"","sources":["../src/agentReadiness.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"agentReadi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