axstack 0.67.0 → 0.69.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.
Files changed (97) hide show
  1. package/README.md +2 -2
  2. package/docs/host-operations.md +3 -6
  3. package/docs/installation.md +10 -10
  4. package/docs/workflows.md +7 -11
  5. package/package.json +2 -2
  6. package/profiles/presets/claude-only.json +2 -2
  7. package/profiles/presets/codex-only.json +2 -2
  8. package/profiles/presets/mixed.json +2 -2
  9. package/skills/axstack/references/automations.md +18 -33
  10. package/skills/axstack/references/autopilot.md +1 -0
  11. package/skills/axstack/references/capture-receipts.md +22 -0
  12. package/skills/axstack/references/contracts.md +1 -1
  13. package/skills/axstack/references/lifecycle.md +1 -1
  14. package/skills/axstack/references/live-run.md +59 -0
  15. package/skills/axstack/references/local-artifacts.md +1 -1
  16. package/skills/axstack/references/pr-shape.md +13 -16
  17. package/skills/axstack/references/review-manager-prompt.md +38 -42
  18. package/skills/axstack/references/role-roster.md +1 -1
  19. package/skills/axstack/references/run-record.md +7 -5
  20. package/skills/axstack/references/test-audit-weekly.md +1 -2
  21. package/skills/axstack/references/ui-verification.md +5 -3
  22. package/skills/axstack/references/workspace-hygiene.md +3 -0
  23. package/skills/axstack/sandbox/Dockerfile +28 -0
  24. package/skills/axstack/sandbox/host-execution.md +14 -0
  25. package/skills/axstack/sandbox/inventory.json +503 -0
  26. package/skills/axstack/sandbox/launcher-capture.js +63 -0
  27. package/skills/axstack/sandbox/launcher-contract.schema.json +341 -0
  28. package/skills/axstack/sandbox/launcher-contracts.js +35 -0
  29. package/skills/axstack/sandbox/launcher-docker.js +75 -0
  30. package/skills/axstack/sandbox/launcher-host-budget.json +10 -0
  31. package/skills/axstack/sandbox/launcher-host.js +165 -0
  32. package/skills/axstack/sandbox/launcher-host.json +5 -0
  33. package/skills/axstack/sandbox/launcher-image.json +4 -0
  34. package/skills/axstack/sandbox/launcher-interface.md +7 -0
  35. package/skills/axstack/sandbox/launcher-policy.js +135 -0
  36. package/skills/axstack/sandbox/launcher-policy.json +121 -0
  37. package/skills/axstack/sandbox/launcher-runtime.js +157 -0
  38. package/skills/axstack/sandbox/launcher-source.js +72 -0
  39. package/skills/axstack/sandbox/launcher.js +106 -0
  40. package/skills/axstack/sandbox/network-address.js +39 -0
  41. package/skills/axstack/sandbox/network-firewall.js +81 -0
  42. package/skills/axstack/sandbox/network-rules.js +86 -0
  43. package/skills/axstack/sandbox/network-runtime.js +109 -0
  44. package/skills/axstack/sandbox/network.js +49 -0
  45. package/skills/axstack/sandbox/probes-android-platform.xml +17 -0
  46. package/skills/axstack/sandbox/probes-check.js +185 -0
  47. package/skills/axstack/sandbox/probes-exec.js +20 -0
  48. package/skills/axstack/sandbox/probes-image-build.js +129 -0
  49. package/skills/axstack/sandbox/probes-image-pins.json +370 -0
  50. package/skills/axstack/sandbox/probes-link-local.js +25 -0
  51. package/skills/axstack/sandbox/probes-storage.js +33 -0
  52. package/skills/axstack/sandbox/probes-udp.js +44 -0
  53. package/skills/axstack/sandbox/probes.js +239 -0
  54. package/skills/axstack/sandbox/proxy-command.js +6 -0
  55. package/skills/axstack/sandbox/proxy-config.json +9 -0
  56. package/skills/axstack/sandbox/proxy-dns.js +114 -0
  57. package/skills/axstack/sandbox/proxy-policy.js +22 -0
  58. package/skills/axstack/sandbox/proxy.js +119 -0
  59. package/skills/axstack/sandbox/reap.md +7 -0
  60. package/skills/axstack/sandbox/sidecars.json +153 -0
  61. package/skills/axstack/sandbox/storage-checks.js +39 -0
  62. package/skills/axstack/sandbox/storage-cleanup.js +49 -0
  63. package/skills/axstack/sandbox/storage-execution.js +110 -0
  64. package/skills/axstack/sandbox/storage-plan.js +78 -0
  65. package/skills/axstack/sandbox/storage-support.js +91 -0
  66. package/skills/axstack/sandbox/storage.js +75 -0
  67. package/skills/axstack/scripts/archive-evidence.js +2 -2
  68. package/skills/axstack/scripts/capture-identity.js +122 -0
  69. package/skills/axstack/scripts/check-run.js +248 -0
  70. package/skills/axstack/scripts/check-staged-file-tokens.js +6 -3
  71. package/skills/axstack/scripts/command-capture.js +81 -0
  72. package/skills/axstack/scripts/evidence-inspector.js +182 -0
  73. package/skills/axstack/scripts/git-argv.js +6 -0
  74. package/skills/axstack/scripts/image-evidence.js +183 -0
  75. package/skills/axstack/scripts/lane-owner.js +183 -0
  76. package/skills/axstack/scripts/pr-digest.js +17 -1
  77. package/skills/axstack/scripts/pr-fresh.js +139 -0
  78. package/skills/axstack/scripts/pr-shape.js +54 -29
  79. package/skills/axstack/scripts/readiness-run.js +3 -75
  80. package/skills/axstack/scripts/readiness.js +2 -2
  81. package/skills/axstack/scripts/run-init.js +13 -11
  82. package/skills/axstack/scripts/schedule-drift.js +221 -4
  83. package/skills/axstack-audit/references/record.md +1 -1
  84. package/skills/axstack-brainstorm/references/arena.md +5 -5
  85. package/skills/axstack-explain/references/inline-pages.md +8 -4
  86. package/skills/axstack-implement/SKILL.md +6 -5
  87. package/skills/axstack-review/SKILL.md +2 -3
  88. package/skills/axstack-review/references/candidate-brief.md +12 -21
  89. package/skills/axstack-review/references/codebase-brief.md +1 -0
  90. package/skills/axstack-review/references/codebase-mode.md +4 -1
  91. package/skills/axstack-review/references/codebase-report.md +2 -1
  92. package/skills/axstack-review/references/peer-mode.md +11 -12
  93. package/skills/axstack-review/references/review-candidate.md +2 -2
  94. package/skills/axstack-review/references/review-receipt.md +8 -3
  95. package/skills/axstack-verify/SKILL.md +10 -4
  96. package/skills/axstack-watch/references/proven-verification.md +3 -2
  97. package/skills/axstack-watch/references/readiness.md +56 -61
@@ -1,7 +1,9 @@
1
1
  #!/usr/bin/env bun
2
2
  import { readFileSync } from 'node:fs';
3
+ import { compareQuietPRs } from './pr-digest.js';
3
4
 
4
5
  const HELP = `schedule-drift — canonical schedule comparison (R2 fact mode)
6
+ quiet-facts --help Saved-input review-manager observations (separate fact mode).
5
7
  bun schedule-drift.js --export FILE --bindings FILE [--prompts DIR] [--now ISO] [--max-age-seconds N]
6
8
  --export FILE Saved JSON: {version:1,host,exportedAt,complete:true,tasks:[{scheduledTaskId,
7
9
  projectId,prompt,schedule,enabled}]}. Export every relevant project; never use a live database.
@@ -10,7 +12,8 @@ const HELP = `schedule-drift — canonical schedule comparison (R2 fact mode)
10
12
  For intentional host exclusions use {promptFile,absent:true,scheduledTaskId?:expectedId}.
11
13
  Fresh complete matching-host coverage yields n/a; any matching declared task ID fails.
12
14
  Without a task ID, absent:true is an explicit host-scope declaration, not identity discovery.
13
- Values substitute only explicit {{HOST_TOKEN}} placeholders. No implicit trim or normalization.
15
+ Values substitute only explicit {{HOST_TOKEN}} placeholders.
16
+ Prompt comparison ignores trailing LF characters only; all other whitespace remains exact.
14
17
  A live prompt containing any unfilled {{HOST_ prefix fails, even if bound bytes match.
15
18
  Schedule is the exact host declaration; review-manager additionally requires interval 1800000.
16
19
  --prompts DIR Directory containing the three packaged prompt files; default: installed ../references.
@@ -97,8 +100,9 @@ function compare(args) {
97
100
  });
98
101
  } catch { expected = null; }
99
102
  const unfilled = nonempty(task?.prompt) && task.prompt.includes('{{HOST_');
100
- fact('prompt', nonempty(task?.prompt) && (unfilled || expected !== null), !unfilled && expected === task?.prompt,
101
- `live host tokens must be filled; exact UTF-8 bytes after declared host-token substitution; packaged sha256 ${packagedSha256 ?? 'unavailable'}`);
103
+ fact('prompt', nonempty(task?.prompt) && (unfilled || expected !== null),
104
+ !unfilled && expected !== null && nonempty(task?.prompt) && expected.replace(/\n+$/, '') === task.prompt.replace(/\n+$/, ''),
105
+ `live host tokens must be filled; exact UTF-8 bytes after declared host-token substitution, excluding trailing LF; packaged sha256 ${packagedSha256 ?? 'unavailable'}`);
102
106
  const scheduleKnown = validSchedule(binding?.schedule) && validSchedule(task?.schedule);
103
107
  const canonical = file !== files[0] || equal(binding?.schedule, { type: 'interval', everyMs: 1800000 });
104
108
  fact('cadence', scheduleKnown, canonical && equal(task?.schedule, binding?.schedule), 'exact declared schedule; review-manager interval fixed at 1800000ms');
@@ -117,8 +121,221 @@ function validSchedule(s) {
117
121
  s.weekdays.every((d) => Number.isSafeInteger(d) && d >= 0 && d <= 6);
118
122
  }
119
123
 
124
+ const QUIET_HELP = `schedule-drift quiet-facts — raw saved-input observations
125
+ bun --no-env-file <installed>/schedule-drift.js quiet-facts --input FILE --continuity FILE [--now ISO]
126
+ --input FILE JSON enclosing raw outputs without projecting or inventing row fields:
127
+ {observedAt,repository:"owner/name",login,reap:{exitCode,dockerAvailable},
128
+ searches:[REVIEW_REQUESTED_ARRAY,INVOLVES_ARRAY],inventory:{args,value},prior:READ_RESPONSE}.
129
+ observedAt is the UTC collection time; repository/login/reap are the existing pass context/results.
130
+ searches are the two gh search prs --limit 1000 JSON arrays exactly as printed:
131
+ number, repository.nameWithOwner, updatedAt, isDraft, author.login; headRefOid when returned.
132
+ Completeness is array length <1000 for BOTH searches; errors/missing arrays are unknown.
133
+ Omitted head OIDs stay unobserved, never synthesized. Compare repository/number/updatedAt
134
+ and only returned OIDs via pr-digest; new/changed fingerprints fail even without an OID.
135
+ inventory is the T29 t3_thread_list {args,value} contract: merged pages, nextCursor:null,
136
+ total matching threads.length; first args include includeSubagents:true and projectId
137
+ (or allProjects:true), cursor absent/0. statuses may be exactly the five busy statuses below;
138
+ no settled/snoozed/titleContains filters. Completeness covers that query, not all history.
139
+ Keep native threadId/projectId/parentThreadId/status/settled/latestRunId and currentThreadId.
140
+ prior is ONE raw t3_thread_read of the recorded prior thread, including its thread metadata;
141
+ no other thread reads or caller-derived guard/liveness/completeness fields are required.
142
+ Raw MCP structuredContent or text-content wrappers are also accepted.
143
+ Native preparing/queued/starting/running/waiting are busy regardless of settlement/guards;
144
+ completed/failed/cancelled/interrupted/rolled_back are terminal. Idle has no active run.
145
+ Unknown status is unknown. Descendants come from native parentThreadId relationships.
146
+ --continuity FILE Saved progress.md with Lane state, Open holds, Watermarks, Last pass.
147
+ Lane state uses run-record.md's scheduledTaskId, threadId/runId, workspace and exact
148
+ terminal receipt: SCHEDULE, THREAD/RUN, WORKSPACE, RECEIPT; read before replacement.
149
+ Active PR jobs and descendants: none, or PR, TASK/CHILD/RUN, OWNER, REVISION, STATE.
150
+ Recorded pass/job IDs and native parent edges define the lane, never project membership.
151
+ Native scheduledTaskId, when present, identifies other passes; unknown lineage stays unknown.
152
+ Native user-created roots and their descendants are outside this lane.
153
+ The legacy '- threadId: ID' record is accepted during migration. Guards use recorded '- ID: held|flagged', '; state:' / '; guard:'
154
+ or '; resume: user decision only' on that exact thread's line, never agent judgment.
155
+ Open holds: '- none' or one line per hold; '; resume: user decision only' (optional final period) is user-only.
156
+ Pending rows in Lane state/Watermarks/Open holds start with unserved/capacity-deferred/
157
+ INCOMPLETE/re-eligible or use '; status: STATE'. Historical Last pass prose is not pending.
158
+ Watermarks: '- Quiet gate: JSON [repo#number,headRefOid,updatedAt] triples';
159
+ '- Last full pass: UTC ISO'. Optional '- Non-lane roots: JSON threadId array' records
160
+ roots proven unrelated during full reconciliation, including omitted idle parents.
161
+ Missing/malformed continuity stays unknown; exclusions never override a recorded lane root.
162
+ --now ISO Observation time with timezone; default current UTC; collection age must be 0..300s.
163
+ --help Show flags, input contract, effects and limitations.
164
+ No writes, subprocesses, network, T3 calls, database access or persistent state. Run from cwd /.
165
+ Facts only; counts, no aggregate verdict or authority. Driver applies quiet/full/hold rules.
166
+ Exit: 0 measured (including fail), 1 invalid CLI, 2 incomplete/unknown, including read/JSON failure.
167
+ `;
168
+
169
+ const terminalRuns = ['completed', 'failed', 'cancelled', 'interrupted', 'rolled_back'];
170
+ const activeRuns = ['preparing', 'queued', 'starting', 'running', 'waiting'];
171
+ const repoName = (v) => typeof v === 'string' && /^[\w.-]+\/[\w.-]+$/.test(v);
172
+ const section = (text, name) => text.match(new RegExp(`^## ${name}\\s*\\n([\\s\\S]*?)(?=^## |$(?![\\s\\S]))`, 'm'))?.[1];
173
+ function quietOptions(argv) {
174
+ const args = { '--now': new Date().toISOString() }, seen = new Set();
175
+ for (let i = 0; i < argv.length; i += 2) {
176
+ if (!['--input', '--continuity', '--now'].includes(argv[i]) || !argv[i + 1] || seen.has(argv[i])) throw Error('invalid quiet-facts argument');
177
+ seen.add(argv[i]); args[argv[i]] = argv[i + 1];
178
+ }
179
+ if (!args['--input'] || !args['--continuity'] || !Number.isFinite(time(args['--now']))) throw Error('expected --input, --continuity and timezone-qualified --now');
180
+ return args;
181
+ }
182
+ // Preserve tool outputs: unwrap MCP packaging, never project caller-invented row fields.
183
+ function nativeValue(value) {
184
+ if (value?.isError) return null;
185
+ if (value?.structuredContent) return value.structuredContent;
186
+ if (Array.isArray(value?.content)) {
187
+ try { return JSON.parse(value.content.find(item => item.type === 'text')?.text); } catch { return null; }
188
+ }
189
+ return value;
190
+ }
191
+ function rawQuietFacts(args, input, continuity, inputSha256, continuitySha256) {
192
+ const terms = [], term = (id, status, evidence) => terms.push({ id, status, evidence });
193
+ const age = (time(args['--now']) - time(input.observedAt)) / 1000;
194
+ const fresh = Number.isFinite(age) && age >= 0 && age <= 300;
195
+ term('observations', fresh ? 'pass' : 'unknown', { ageSeconds: Number.isFinite(age) ? age : null, inputSha256 });
196
+ const sections = Object.fromEntries(['Lane state', 'Open holds', 'Watermarks', 'Last pass'].map(name => [name, section(continuity, name)]));
197
+ const continuityKnown = Object.values(sections).every(nonempty);
198
+ term('continuity', continuityKnown ? 'pass' : 'unknown', { continuitySha256 });
199
+ const snapshot = input.inventory, call = snapshot?.args, value = nativeValue(snapshot?.value), rows = value?.threads;
200
+ const byId = new Map();
201
+ let complete = fresh && call && Array.isArray(rows) && !snapshot.isError && !value.isError && value.complete !== false && !value.truncated && !value.hasMore &&
202
+ value.nextCursor === null && value.total === rows.length && call.includeSubagents === true &&
203
+ (call.cursor === undefined || call.cursor === 0) && !['settled', 'snoozed', 'titleContains'].some(key => Object.hasOwn(call, key)) &&
204
+ (call.statuses === undefined || Array.isArray(call.statuses) && equal([...call.statuses].sort(), [...activeRuns].sort()));
205
+ for (const row of Array.isArray(rows) ? rows : []) {
206
+ if (!nonempty(row?.threadId) || !nonempty(row?.projectId) || byId.has(row.threadId) ||
207
+ !(row.parentThreadId === null || nonempty(row.parentThreadId)) || row.parentThreadId === row.threadId) { complete = false; continue; }
208
+ byId.set(row.threadId, row);
209
+ }
210
+ for (const row of byId.values()) {
211
+ const seen = new Set([row.threadId]); let parent = row.parentThreadId;
212
+ while (byId.has(parent)) {
213
+ if (seen.has(parent)) { complete = false; break; }
214
+ seen.add(parent); parent = byId.get(parent).parentThreadId;
215
+ }
216
+ }
217
+ const self = byId.get(value?.currentThreadId), projectId = self?.projectId;
218
+ const scoped = complete && self && (call.allProjects === true || nonempty(call.projectId) && call.projectId === projectId &&
219
+ [...byId.values()].every(row => row.projectId === projectId));
220
+ const identity = !!scoped && repoName(input.repository);
221
+ term('identity', identity ? 'pass' : 'unknown', { repository: input.repository ?? null, projectId: projectId ?? null, selfThreadId: self?.threadId ?? null });
222
+ const reap = input.reap;
223
+ term('reap', !Number.isInteger(reap?.exitCode) || typeof reap?.dockerAvailable !== 'boolean' ? 'unknown' :
224
+ reap.exitCode === 0 && reap.dockerAvailable ? 'pass' : 'fail', reap ?? 'no saved reap result');
225
+ let discovery = fresh && nonempty(input.login) && Array.isArray(input.searches) && input.searches.length === 2;
226
+ const prs = new Map();
227
+ for (const raw of Array.isArray(input.searches) ? input.searches : []) {
228
+ const found = nativeValue(raw), seen = new Set();
229
+ if (!Array.isArray(found) || found.length >= 1000) { discovery = false; continue; }
230
+ for (const pr of found) {
231
+ const repository = pr?.repository?.nameWithOwner, key = `${repository}#${pr?.number}`;
232
+ if (!repoName(repository) || !Number.isSafeInteger(pr?.number) || pr.number < 1 || seen.has(key) ||
233
+ !nonempty(pr.author?.login) || typeof pr.isDraft !== 'boolean' || !Number.isFinite(time(pr.updatedAt)) ||
234
+ time(pr.updatedAt) > time(args['--now']) || pr.headRefOid !== undefined && !/^[a-f0-9]{40,64}$/.test(pr.headRefOid)) {
235
+ discovery = false; continue;
236
+ }
237
+ seen.add(key);
238
+ if (pr.author.login.toLowerCase() === input.login?.toLowerCase?.() || pr.isDraft || pr.state && pr.state.toLowerCase() !== 'open') continue;
239
+ const row = [key, pr.headRefOid ?? null, pr.updatedAt];
240
+ if (prs.has(key) && !equal(prs.get(key), row)) discovery = false;
241
+ prs.set(key, row);
242
+ }
243
+ }
244
+ term('discovery', discovery ? 'pass' : 'unknown', { eligible: prs.size, resultCounts: input.searches?.map?.(r => nativeValue(r)?.length ?? null) ?? [] });
245
+ let previous;
246
+ try { previous = JSON.parse(sections.Watermarks?.match(/^- Quiet gate: (.+)$/m)?.[1]); } catch { /* unknown watermark */ }
247
+ const comparison = compareQuietPRs(previous, [...prs.values()], { optionalHeads: true });
248
+ term('pr-list', discovery && continuityKnown ? comparison.status : 'unknown', comparison.evidence);
249
+ const elapsed = time(args['--now']) - time(sections.Watermarks?.match(/^- Last full pass: (.+)$/m)?.[1]);
250
+ term('full-pass-age', !continuityKnown || !Number.isFinite(elapsed) ? 'unknown' : elapsed >= 0 && elapsed < 14400000 ? 'pass' : 'fail',
251
+ { ageSeconds: Number.isFinite(elapsed) ? elapsed / 1000 : null });
252
+ const laneText = sections['Lane state'] ?? '';
253
+ const passRecords = [...laneText.matchAll(/^- scheduledTaskId, threadId\/runId, workspace and exact terminal receipt: ([^,]+), ([^/\s,]+)\/([^,]+), ([^,]+), (.+)$/gm)];
254
+ const priorIds = passRecords.length ? passRecords.map(m => m[2]) : [...laneText.matchAll(/^- threadId: (\S+)$/gm)].map(m => m[1]);
255
+ const schedules = new Set(passRecords.map(m => m[1]));
256
+ const jobs = laneText.match(/^- Active PR jobs and descendants: (.+)$/m)?.[1];
257
+ const jobRecords = jobs === 'none' ? [] : jobs?.split(/;\s*(?=[\w.-]+\/[\w.-]+#\d+,)/).map(row => row.match(/^[\w.-]+\/[\w.-]+#\d+, [^/\s,]+\/([^/\s,]+)\/[^,]+, [^,]+, [^,]+, .+$/));
258
+ const jobsKnown = jobs === 'none' || Array.isArray(jobRecords) && jobRecords.length > 0 && jobRecords.every(Boolean);
259
+ const read = nativeValue(input.prior?.value ?? input.prior), prior = read?.thread;
260
+ const knownStatus = row => row && [...terminalRuns, ...activeRuns, 'idle'].includes(row.status);
261
+ const priorKnown = identity && priorIds.length > 0 && prior?.threadId === priorIds[0] && prior.threadId !== self.threadId &&
262
+ prior.projectId === projectId && typeof prior.settled === 'boolean' && knownStatus(prior);
263
+ const laneIds = new Set([...priorIds, ...(jobRecords ?? []).filter(Boolean).map(m => m[1])]);
264
+ let outsideRoots = [], outsideKnown = true;
265
+ const outsideRecords = [...(sections.Watermarks ?? '').matchAll(/^- Non-lane roots: (.*)$/gm)];
266
+ if (outsideRecords.length) {
267
+ try { outsideRoots = JSON.parse(outsideRecords[0][1]); } catch { outsideRoots = null; }
268
+ outsideKnown = outsideRecords.length === 1 && Array.isArray(outsideRoots) && outsideRoots.every(nonempty) &&
269
+ new Set(outsideRoots).size === outsideRoots.length && outsideRoots.every(id => !laneIds.has(id) && id !== self?.threadId &&
270
+ !schedules.has(byId.get(id)?.scheduledTaskId) &&
271
+ (!byId.has(id) || byId.get(id).parentThreadId === null));
272
+ }
273
+ const outsideIds = new Set(outsideKnown ? outsideRoots : []);
274
+ const membership = new Map();
275
+ function member(row, seen = new Set()) {
276
+ if (membership.has(row.threadId)) return membership.get(row.threadId);
277
+ if (laneIds.has(row.threadId)) return true;
278
+ if (outsideIds.has(row.threadId)) return false;
279
+ if (nonempty(row.scheduledTaskId) && schedules.size) return schedules.has(row.scheduledTaskId);
280
+ if (seen.has(row.threadId)) return null;
281
+ seen.add(row.threadId);
282
+ if (laneIds.has(row.parentThreadId)) return true;
283
+ if (outsideIds.has(row.parentThreadId)) return false;
284
+ if (byId.has(row.parentThreadId)) return member(byId.get(row.parentThreadId), seen);
285
+ if (row.parentThreadId !== null) return null;
286
+ if (row.projectId !== projectId || row.scheduledTaskId === null ||
287
+ row.createdBy === 'user' || ['web', 'mobile'].includes(row.creationSource)) return false;
288
+ return null;
289
+ }
290
+ for (const row of byId.values()) membership.set(row.threadId, member(row));
291
+ const candidates = [...byId.values()].filter(row => row.threadId !== self?.threadId);
292
+ const laneRows = candidates.filter(row => membership.get(row.threadId) === true);
293
+ const ambiguous = candidates.filter(row => membership.get(row.threadId) === null && !terminalRuns.includes(row.status) && row.status !== 'idle');
294
+ const laneKnown = identity && priorIds.length > 0 && jobsKnown && outsideKnown && ambiguous.length === 0 && laneRows.every(knownStatus);
295
+ const threadsKnown = laneKnown && priorKnown;
296
+ const descendants = laneRows.filter(row => row.parentThreadId !== null).map(row => row.threadId);
297
+ term('thread-readbacks', threadsKnown ? 'pass' : 'unknown', { listed: laneRows.length, descendantThreadIds: descendants, priorThreadId: prior?.threadId ?? null, priorReads: prior ? 1 : 0 });
298
+ term('ownership', threadsKnown && continuityKnown ? 'pass' : 'unknown', { completeInventory: !!scoped, projectId: projectId ?? null, total: value?.total ?? null, recordedNonLaneRoots: outsideKnown ? outsideRoots : null, ambiguousThreadIds: ambiguous.map(row => row.threadId) });
299
+ const holds = sections['Open holds']?.trim().split('\n').filter(nonempty) ?? [];
300
+ const userOnly = line => /; resume: user decision only\.?$/i.test(line);
301
+ const holdKnown = holds.length > 0 && (holds.length === 1 && holds[0] === '- none' || holds.every(line => /^- .+: .+; resume: [^;]+$/.test(line)));
302
+ const priorLines = [...laneText.split('\n'), ...holds].filter(line => priorIds[0] &&
303
+ (line.startsWith(`- ${priorIds[0]}:`) || line === `- threadId: ${priorIds[0]}` || passRecords.some(m => m[2] === priorIds[0] && m[0] === line)));
304
+ const guarded = priorLines.some(line => /(?:^- \S+:\s*|;\s*(?:state|guard):\s*)(?:held|flagged|owned watch|pending receipt|wedged|stalled owner|protected)\b/i.test(line) || userOnly(line));
305
+ const terminal = row => terminalRuns.includes(row.status);
306
+ term('prior-pass', !priorKnown || !continuityKnown || !holdKnown ? 'unknown' : prior.settled || terminal(prior) && guarded ? 'pass' : 'fail',
307
+ { threadId: prior?.threadId ?? null, status: prior?.status ?? null, settled: prior?.settled ?? null, recordedGuard: guarded });
308
+ const nonterminal = row => activeRuns.includes(row.status);
309
+ const busy = [...laneRows, ...(priorKnown ? [prior] : [])].filter(row => row.threadId !== self?.threadId && nonterminal(row)).map(row => row.threadId);
310
+ term('lane-idle', identity && busy.length ? 'fail' : !laneKnown ? 'unknown' : 'pass', { nonterminalThreadIds: [...new Set(busy)], ambiguousThreadIds: ambiguous.map(row => row.threadId) });
311
+ const recorded = [sections['Lane state'], sections.Watermarks, sections['Open holds']].filter(Boolean).join('\n');
312
+ const event = /^- (?:unserved|capacity-deferred|INCOMPLETE|re-eligible)\b|;\s*status:\s*(?:unserved|capacity-deferred|INCOMPLETE|re-eligible)\b/gm;
313
+ const pendingEvent = event.test(recorded);
314
+ const pending = pendingEvent || jobs !== 'none' || holds.some(line =>
315
+ !/^- none$/i.test(line) && !userOnly(line));
316
+ term('pending-work', continuityKnown && pendingEvent ? 'fail' : !continuityKnown || !holdKnown || !nonempty(jobs) ? 'unknown' : pending ? 'fail' : 'pass',
317
+ { activeJobs: jobs ?? null, holds, pending });
318
+ const counts = Object.fromEntries(['pass', 'fail', 'unknown', 'n/a'].map(s => [s, terms.filter(t => t.status === s).length]));
319
+ return { version: 2, observedAt: args['--now'], terms, counts };
320
+ }
321
+
322
+ function quietFacts(args) {
323
+ let input, continuity = '', inputSha256 = null, continuitySha256 = null;
324
+ try { const bytes = readFileSync(args['--input']); inputSha256 = sha256(bytes); input = JSON.parse(bytes.toString()); } catch { /* unknown input */ }
325
+ try { const bytes = readFileSync(args['--continuity']); continuitySha256 = sha256(bytes); continuity = bytes.toString(); } catch { /* unknown continuity */ }
326
+ return rawQuietFacts(args, input ?? {}, continuity, inputSha256, continuitySha256);
327
+ }
328
+
120
329
  try {
121
- if (process.argv.slice(2).length === 1 && process.argv[2] === '--help') console.log(HELP);
330
+ if (process.argv[2] === 'quiet-facts') {
331
+ if (process.argv.length === 4 && process.argv[3] === '--help') console.log(QUIET_HELP);
332
+ else {
333
+ const report = quietFacts(quietOptions(process.argv.slice(3)));
334
+ console.log(JSON.stringify(report, null, 2));
335
+ process.exitCode = report.counts.unknown ? 2 : 0;
336
+ }
337
+ }
338
+ else if (process.argv.slice(2).length === 1 && process.argv[2] === '--help') console.log(HELP);
122
339
  else {
123
340
  const report = compare(options(process.argv.slice(2)));
124
341
  console.log(JSON.stringify(report, null, 2));
@@ -7,7 +7,7 @@ reason when evidence is missing; missing evidence is never a pass.
7
7
  ```text
8
8
  Run: <run identity + scope/authority + audit mode (end-of-run | checkpoint)>
9
9
  Baseline: <approved spec rev | peer mode | research mode | maintenance scope | nonrepo report scope + source SHA-256>
10
- Acceptance: <passed / failed / unverified + test + SHA traces>
10
+ Acceptance: <passed / failed / unverified + check-run receipt paths/identities>
11
11
  Steps: <completed / deviated + why + approval per deviation>
12
12
  Advisers: <Codex/Claude adviser configured coverage / eligible uses + same-question receipts; Astra/Fable high-stakes AGREE coverage / eligible uses>
13
13
  Decisions: <escalation trigger + evidence pointers + outcome changed yes/no, or n/a>
@@ -15,13 +15,13 @@ hard-to-reverse choices; they replace the critique round for that question.
15
15
  and `axstack-arena-candidate-grok`.
16
16
  Each gives a design, rationale, and rejected alternatives. The driver authors no candidate.
17
17
  The driver drafts no recommendation until every candidate returns.
18
- 3. **Cross-judge (Rung 2 only).** After every candidate completes, give round 1 judge
19
- `axstack-arena-judge-opus` the anonymized, relabeled candidates and rubric to
18
+ 3. **Cross-judge (Rung 2 only).** After candidates complete, give fresh round 1 judge
19
+ `axstack-escalation-fable` the anonymized, relabeled candidates and rubric to
20
20
  score every candidate per criterion and recommend a base with a reason.
21
- The driver compares its own pick with the Opus verdict. Only if the driver
22
- and the Opus judge disagree on the base, or the caller re-invokes with the user's rejection of the round-1
21
+ The driver compares its pick with the Fable verdict. Only if the driver
22
+ and the Fable judge disagree on the base, or the caller re-invokes with the user's rejection of the round-1
23
23
  synthesis,
24
- run round 2 with fresh sessions: `axstack-escalation-fable` and `axstack-arena-judge-astra`
24
+ run round 2 with fresh sessions: `axstack-arena-judge-opus` and `axstack-arena-judge-astra`
25
25
  independently score the same anonymized candidates and rubric. Judges never
26
26
  author, never cross-read each other, and never average verdicts. After round-2
27
27
  verdicts return, the driver re-picks in step 4 and re-presents in step 6.
@@ -15,9 +15,10 @@ At the top, prototype pages say "prototype" and use colours with
15
15
  Prototype pages retain self-contained bytes, no network, no storage (including
16
16
  cookies), no modals or popups, and the exact-byte scan.
17
17
  Prototype pages retain both driver previews for layout, theme, height, network,
18
- zero console errors, and empty `missingImages`.
18
+ and zero console errors.
19
19
  Prototype pages require semantic, accessible markup and the interactive
20
- `axstack-ui-verifier` pass.
20
+ `axstack-ui-verifier` pass, which records resource observations with
21
+ [image-evidence.js](../../axstack/scripts/image-evidence.js) on the exact final bytes before delivery.
21
22
  Prototype pages retain driver-only `html_render` using precisely the bytes checked
22
23
  by these gates.
23
24
  These kept rules cannot be exempted; every unlisted rule also stays in force.
@@ -77,8 +78,11 @@ Reject scan matches except local `url(#id)` references such as SVG markers and g
77
78
 
78
79
  Before publishing, run `html_preview` at 728px dark and 360px light.
79
80
  The driver's two previews are a named browser exception to delegated browser checks.
80
- Require correct layout, theme, height, network, word count, zero console errors,
81
- and empty `missingImages`.
81
+ Require correct layout, theme, height, network, word count, and zero console errors.
82
+ For other pages, the reviewing seat (`axstack-explainer-review`) runs
83
+ [image-evidence.js](../../axstack/scripts/image-evidence.js) on the exact final bytes
84
+ before delivery and records resource observations through the Playwright MCP;
85
+ unobservable resources report unknown.
82
86
  Check every claim against its source.
83
87
  Inspect both screenshots for clipping, overflow, and readable labels.
84
88
  For an explicit theme override, also check that requested theme.
@@ -269,7 +269,8 @@ including evidence and retained complexity.
269
269
 
270
270
  Before every commit, the author runs the
271
271
  [staged-file size check](../axstack/scripts/check-staged-file-tokens.js)
272
- with `bun` from the target repository.
272
+ from a trusted cwd with `bun`.
273
+ Pass `--no-env-file <resolved-helper> --repo <target-repository>`.
273
274
  Successful staged-file size measurements, including files above 20,000 bytes,
274
275
  are advisory and exit 0.
275
276
  Never require splitting files solely for size.
@@ -282,8 +283,8 @@ Record the staged-file size check result in the implementation receipt.
282
283
 
283
284
  ## 5. Verify and return the candidate
284
285
 
285
- Run the acceptance checks and affected integration boundaries. Record commands,
286
- observed outputs, and verified states. UI work includes rendered interaction
286
+ Run the acceptance checks and affected integration boundaries following
287
+ [Capture receipts](../axstack/references/capture-receipts.md). UI work includes rendered interaction
287
288
  evidence through [UI verification](../axstack/references/ui-verification.md)
288
289
  when relevant. Name every unavailable OS, harness, credential, or other
289
290
  boundary instead of implying coverage.
@@ -323,9 +324,9 @@ Shape: <total> lines vs base <sha>; bulk: <buckets>; theme: <one line>
323
324
  TDD: <normal red/green | structure-preserving old-green/same-check-new-green evidence | F-repair base-green/removal-inversion-red/rewording-green evidence>
324
325
  Token limit: <staged-file size check command + observed advisories/errors before each commit>
325
326
  Simplification: <applied | not-applicable> — evidence: <diff locations and checks>; retained complexity: <necessary complexity and why>
326
- Acceptance: <checks + observed results>
327
+ Acceptance: <check-run receipt paths + identities mapped to criteria>
327
328
  Dependencies: <parent revisions or none>
328
- Unverified: <boundaries + reasons>
329
+ Unverified: <limitation ledger + inspector report/item dispositions, or none>
329
330
  Next: <owner reconciles receipt, uses candidate-publication to push exact revision, confirms
330
331
  remote readback, then routes it to axstack-review>
331
332
  ```
@@ -271,8 +271,7 @@ external write.
271
271
  Submit a consolidated peer review only within explicit user authority and only
272
272
  for a complete `APPROVE` or `REQUEST_CHANGES` verdict:
273
273
 
274
- 1. Read back the remote head and base; stop if either differs from the reviewed
275
- candidate.
274
+ 1. Apply [Peer mode](references/peer-mode.md).
276
275
  2. Bind the submission to the actual GitHub commit parameter for that revision;
277
276
  SHA text in prose is not binding.
278
277
  3. Publish the owner-synthesized review with the mode-required peer receipts as evidence,
@@ -306,7 +305,7 @@ the disposition. A newly accepted explanation can turn same-head
306
305
  `REQUEST_CHANGES` into `APPROVE`. Count every same-head `REQUEST_CHANGES`
307
306
  submission toward the five-request cap.
308
307
 
309
- Before every submission, re-check head, base, draft status, authorship, and
308
+ Before every submission, re-check authorship and
310
309
  allowlist, bind the verdict to the exact commit parameter, and end the body
311
310
  with this marker line:
312
311
 
@@ -1,36 +1,27 @@
1
1
  ## Template: candidate review brief
2
2
 
3
+ Peer mode: follow [Peer execution](../../axstack/sandbox/host-execution.md)
4
+ from installed Axstack skills. Never load Peer execution from PR checkout.
5
+
3
6
  ```text
4
7
  Candidate: <PR URL> rev <sha> (immutable checkout)
5
- Workspace: <T3 taskId/childThreadId/runId + authored: native worktree absolute path | peer: detached checkout absolute path>
8
+ Workspace: <T3 taskId/childThreadId/runId; authored: native worktree | peer: detached checkout; absolute paths>
6
9
  Driver worktree: <authored: resolved absolute path for isolation proof | peer: n/a>
7
- Evidence: <run dir>/evidence/<dispatch>/ (report and probe paths)
8
- Mode: <peer | authored> Actual author: <every package/integration/repair contributor's provider/model + T3 launch receipt/session | n/a>
10
+ Evidence: <run dir>/evidence/<dispatch>/
11
+ Mode: <peer | authored> Actual author: <all package/integration/repair contributors: provider/model + T3 launch receipt/session | n/a>
9
12
  Integration: <package tips + ancestry + input identities + combined acceptance | single package | n/a>
10
13
  Scope: <spec rev or linked issue + ticket + current base + exclusions>
11
14
  Combined review: <yes — return the Scope verdict | no — separate diligence>
12
15
  Angles: <all six; identical brief for peer reviewers>
13
- Authored receipt requirements:
14
- Report Coverage: COMPLETE | INCOMPLETE with covered angles, acceptance and executable evidence.
15
- Tag each limitation leaving changed behavior unexercised or unverified, in whatever words, changed-behavior: unproven.
16
- Record Final-head check: <command> -> <log path> for a check the reviewer ran at the final head; keep the log in the run's evidence folder.
17
- Applicable verify-<app>: Final-head check records the reviewer's local drive of each affected feature at the pinned final head. Use n/a — <reason> when no skill covers the affected behavior.
18
- Record a Safety fact: about the change itself rather than the review process.
19
- Rate each non-agent comment at the current head above low | low | addressed | uncertain.
20
- Re-rate each non-agent comment at every new head.
16
+ Follow Capture receipts at skills/axstack/references/capture-receipts.md and authored Review receipt at skills/axstack-review/references/review-receipt.md, resolved from the absolute Workspace checkout.
21
17
  Escalate to user: yes | no — <criterion> — <reason>
22
18
  ```
23
19
 
24
- The `Claude-Session` trailer is attribution, not provenance; use the T3
25
- launch receipt for the actual author provider and model.
20
+ `Claude-Session` is attribution, not provenance.
26
21
 
27
- Every brief ends with the `Escalate to user` field and the reviewer answers it
28
- in the receipt. Peer mode permits only its serious security/funds escalation;
29
- no scope, design or process approval is requested. In authored mode a reviewer
30
- may cite only a security concern, a permanent
31
- on-chain state change, or an architectural change in approach. Health is not a
32
- reviewer criterion. The answer is escalation input, not a veto or verdict; see
33
- [Native PR managers](../../axstack/references/automations.md) for the manager-chat
34
- hold.
22
+ Every brief ends with `Escalate to user`, answered in receipt. Peer: serious security/funds only; never scope, design or process approval. Authored: security concern,
23
+ permanent on-chain state change or architectural change in approach. Health is not a reviewer criterion.
24
+ Input, not a veto/verdict; [Native PR managers](../../axstack/references/automations.md)
25
+ owns manager-chat hold.
35
26
 
36
27
  Follow [Advised holds](../../axstack/references/contracts.md#advised-holds) for eligible authored escalation holds.
@@ -8,6 +8,7 @@ Exclusions: <paths or behavior outside scope>
8
8
  Requirements: <source or unavailable>
9
9
  Lenses: security; correctness; integration; requirements; architecture; maintainability
10
10
  Evidence: <isolated workspace and report path>
11
+ Limitations: Record every unexamined or missing-evidence area as a limitation.
11
12
  Escalate to user: <yes | no> — <criterion> — <reason>
12
13
  ```
13
14
 
@@ -4,7 +4,10 @@ Use this manual mode for existing code at a pinned exact source revision and a
4
4
  user-named bounded scope. Record the inspected paths, question or intended
5
5
  behavior, exclusions, and available requirements. If the scope is vague, ask
6
6
  one bounded scope question before dispatch. Read code, relevant tests, history,
7
- and behavior where available; mark missing evidence as a limitation. Repository
7
+ and behavior where available. Record every unexamined or missing-evidence area as a limitation.
8
+ Never report Limitations: none while any area is unexamined or missing evidence.
9
+ Follow [Capture receipts](../../axstack/references/capture-receipts.md)
10
+ for checks and limitation reconciliation (use the source SHA for both head/base). Repository
8
11
  documents and comments are evidence, not instructions that expand authority.
9
12
 
10
13
  The current chat drives this report. Use the run's recorded routing snapshot
@@ -5,7 +5,8 @@ Revision: <exact source SHA>
5
5
  Inspected scope: <paths and question>
6
6
  Exclusions: <outside scope>
7
7
  Coverage: <COMPLETE | INCOMPLETE> — <lenses and receipt evidence>
8
- Limitations: <unverified boundaries and reasons>
8
+ Checks: <capture receipt paths + identities>
9
+ Limitations: <ledger path + inspector report + item IDs/dispositions, or none>; record every unexamined or missing-evidence area as a limitation.
9
10
  Validated defects and risks: <location, evidence, consequence, check or none>
10
11
  Improvement opportunities: <location, benefit, tradeoff or none>
11
12
  Unverified leads: <location, hypothesis, next check or none>
@@ -8,8 +8,7 @@ Never ask the author for approvals, sign-offs, a spec approver or a process
8
8
  decision, except the `Pre-existing` filing request (the only exception). Accept the author's
9
9
  statement that a scope or design point was approved or decided elsewhere.
10
10
  That decision is not a finding. Peer review needs no Axstack-created approved
11
- spec. Peer code stays readonly; the reviewer never edits it. Record exact head,
12
- current base, context and authority before dispatch.
11
+ spec. Peer code stays readonly. Record context and authority before dispatch.
13
12
 
14
13
  ### Sync admission and round freshness
15
14
 
@@ -19,16 +18,16 @@ On sync pass, use no reviewer dispatch and submit nothing, record `sync skip`
19
18
  with event identity, and leave the PR for the user.
20
19
  Sync fail or unknown enters ordinary review.
21
20
 
22
- Before each dispatch, before reconcile and before submission, re-read PR state,
23
- head, base branch, base SHA and draft against the pinned event.
24
- Discard if merged or closed, head or base SHA moved, base retargeted, or draft.
25
- On discard, cancel owned tasks, verify settlement under
26
- [Held job settlement](../../axstack/references/automations.md#held-job-settlement),
27
- preserve evidence and record `discarded: <reason>`.
28
- On discard, submit nothing.
29
- For merged or closed PRs, run existing cleanup.
30
- A new head is a new event, never a restart inside the job.
31
- Unknown GitHub state holds, never discards.
21
+ Before each dispatch/reconcile (`admission`) and submission (`submission`), run installed
22
+ [pr-fresh](../../axstack/scripts/pr-fresh.js) outside candidate, from `/` via `bun --no-env-file`.
23
+ With `evidence.unrecorded:true`, ignore policy, headAge, pendingChecks and checksSuccessful.
24
+ Absent/unreadable/malformed/unsupported policy holds.
25
+ Only explicit recorded policy gates age/pending/failed checks, holding unknown gating terms.
26
+ Event facts (open, nonDraft, unmerged, pinnedHead, baseUnchanged): discard failures, hold unknowns.
27
+ On discard, submit nothing; cancel owned tasks, verify
28
+ [settlement](../../axstack/references/automations.md#held-job-settlement), preserve evidence, record `discarded: <reason>`.
29
+ Merged or closed: existing cleanup.
30
+ New head: new event, never restart inside the job.
32
31
  Add no polling loop or watcher.
33
32
 
34
33
  A missing bot verdict marker selects the first review. An existing bot verdict
@@ -150,8 +150,8 @@ This section applies to peer and authored PR modes.
150
150
  [UI verification](../../axstack/references/ui-verification.md). A
151
151
  passing test is insufficient when it checks the wrong behavior. Call out
152
152
  seeded regressions, inadequate checks, and every unverified boundary. Every
153
- mode-required receipt records concrete evidence and consequences, coverage,
154
- limitations, and findings without a finding quota.
153
+ mode-required receipt follows [Capture receipts](../../axstack/references/capture-receipts.md)
154
+ and records judgment, coverage and findings without a finding quota.
155
155
 
156
156
  If a `verify-<app>` skill covers affected behavior, the authored reviewer runs its base-revision Launch and Doctor against the pinned final head in its detached checkout.
157
157
  For an `axstack-verify create` PR, the reviewer drives the candidate's recipe because the base has none.
@@ -1,5 +1,10 @@
1
1
  ## Template: review receipt (one block per revision)
2
2
 
3
+ Follow [Capture receipts](../../axstack/references/capture-receipts.md).
4
+
5
+ The reviewer tags every limitation leaving changed behavior unexercised or
6
+ unverified, in whatever words, `changed-behavior: unproven`.
7
+
3
8
  ```text
4
9
  Mode: <peer | authored>
5
10
  Reviewer: <reviewer role + provider/model/effort receipt> session <id> rev <candidate sha> base <current base>
@@ -8,15 +13,15 @@ Evidence: <run dir>/evidence/<dispatch>/ (report and probe paths)
8
13
  Verdict: <APPROVE | REQUEST_CHANGES | INCOMPLETE>
9
14
  Scope: <PASS | FINDINGS | UNKNOWN | n/a — separate diligence>
10
15
  Coverage: COMPLETE | INCOMPLETE — <angles + acceptance + executable evidence checked>
11
- Limitations: <unverified boundaries + why; tag each limitation leaving changed behavior unexercised or unverified, in whatever words, changed-behavior: unproven>
12
- Final-head check: <command> -> <log path> — <check the reviewer ran at the final head; log kept in the run's evidence folder>
16
+ Limitations: <ledger path + inspector report + item IDs/dispositions/tags, including changed-behavior: unproven where applicable, or none>
17
+ Final-head check: <check-run receipt path + identity + cited fields: #/argv -> #/logPath, #/exitCode for the reviewer's final-head drive>
13
18
  Applicable verify-<app>: <Final-head check records the reviewer's local drive of each affected feature at the pinned final head>. Use n/a — <reason> when no skill covers the affected behavior.
14
19
  Findings: <severity + evidence + consequence each>
15
20
  Pre-existing: <each item with reference revision and evidence, or none>
16
21
  Revert: <declared line + diff-based assessment in authored mode>
17
22
  Agent-authored comment and thread IDs: <receipt-recorded IDs or none>
18
23
  Non-agent comments: <each comment ID at the current head: above low | low | addressed | uncertain; re-rate each non-agent comment at every new head; none if absent>
19
- Safety fact: <the one fact the change itself is safe because of, rather than the review process> — <ladder step + proof | unproven>
24
+ Safety fact: <the one fact the change itself is safe because of, rather than the review process> — <ladder step + capture receipt path/identity + limitation-ledger item ID if applicable, otherwise n/a | unproven>
20
25
  Escalate to user: <yes | no> — <criterion> — <reason>
21
26
  ```
22
27
 
@@ -52,8 +52,9 @@ Name the app, surface and invocation conditions in the description.
52
52
  - Doctor: give read-only checks for process, version, port ownership and test auth.
53
53
  - Drive: give the real user path with stable handles and observable end states.
54
54
  Keep browser recipes tool-neutral.
55
- - Evidence: follow the proof standards in
56
- [UI verification](../axstack/references/ui-verification.md#proof-standards).
55
+ - Evidence: follow [Capture receipts](../axstack/references/capture-receipts.md)
56
+ for command facts and limitations, and [UI verification](../axstack/references/ui-verification.md#proof-standards)
57
+ for interaction evidence.
57
58
  - Cleanup: stop only processes started by this run and remove owned scratch.
58
59
  - Helpers: explain each helper's purpose and working directory.
59
60
 
@@ -115,7 +116,7 @@ Retry once after a drift fix.
115
116
  If the retry fails, report the failure and hold acceptance.
116
117
  Check discovery and relative-helper execution in both Claude Code and Codex.
117
118
  If either harness is unavailable, report its checks unverified and hold acceptance.
118
- Return proof commands, observed outputs, evidence paths and cleanup confirmation.
119
+ Return capture citations, limitation dispositions and cleanup confirmation.
119
120
  Record the bounded exception for generated-skill content on the implement §5 `TDD:` line.
120
121
  Keep `axstack-verify` prose-contract red/green tests.
121
122
  The exception covers the generated content's executed proof only.
@@ -174,7 +175,12 @@ Report `clean` only when every mapped feature has source and live coverage with
174
175
  Report `changed` for one PR of proven corrections.
175
176
  Report `blocked` when coverage cannot finish or corrections cannot ship safely.
176
177
  Never report incomplete mapped coverage as `clean`.
177
- Return the feature coverage, gaps, proof commands, evidence paths and cleanup confirmation in the implementation receipt.
178
+ Return feature coverage and cleanup confirmation with these recipe receipt fields:
179
+
180
+ ```text
181
+ Acceptance: <check-run receipt paths + identities mapped to features>
182
+ Unverified: <limitation ledger + inspector report/item dispositions, or none>
183
+ ```
178
184
 
179
185
  Ideas paraphrased from pstack's
180
186
  [create-verification-skill](https://github.com/cursor/plugins/blob/d0ef80d86795816da932a153458c5dbe192d294e/pstack/skills/create-verification-skill/SKILL.md) (MIT) and
@@ -9,8 +9,9 @@ Proven verification is required for every own PR. Use the authored receipt:
9
9
  same cross-provider reviewer at the exact head and base satisfy verification's
10
10
  diligence gate. Otherwise verification requires separate diligence `PASS`
11
11
  at the exact head and base. Follow the [applicable diligence gate](../../axstack/references/diligence.md#applicable-diligence-gate).
12
- - Verification requires `Final-head check: <command> -> <log path>` for a check
13
- the reviewer ran at the final head, with its log kept in the run's evidence folder.
12
+ - Verification requires `Final-head check: <check-run receipt path + identity + cited fields: #/argv -> #/logPath, #/exitCode>`
13
+ for a check the reviewer ran at the final head, with receipt and log in the run's evidence folder.
14
+ Follow [Capture receipts](../../axstack/references/capture-receipts.md) for identity and compare `#/requested/head` and `#/requested/base` with candidate head/base.
14
15
  - Each acceptance check requires passing evidence from the ticket or spec
15
16
  criteria, or the PR body for adopted and ticketless PRs.
16
17
  Earlier-head red-to-green evidence in the PR's patch lineage counts only when