assertledger 1.1.0 → 1.2.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 (91) hide show
  1. package/README.fr.md +14 -4
  2. package/README.md +14 -4
  3. package/conformance/schema-extensions.json +25 -0
  4. package/dist/build-info.json +1 -1
  5. package/dist/cli.d.ts.map +1 -1
  6. package/dist/cli.js +68 -20
  7. package/dist/cli.js.map +1 -1
  8. package/dist/contracts/index.d.ts +510 -4
  9. package/dist/contracts/index.d.ts.map +1 -1
  10. package/dist/contracts/index.js +230 -16
  11. package/dist/contracts/index.js.map +1 -1
  12. package/dist/contracts/runtime-doctor.d.ts +123 -0
  13. package/dist/contracts/runtime-doctor.d.ts.map +1 -1
  14. package/dist/contracts/runtime-doctor.js +64 -0
  15. package/dist/contracts/runtime-doctor.js.map +1 -1
  16. package/dist/core/index.d.ts.map +1 -1
  17. package/dist/core/index.js +16 -6
  18. package/dist/core/index.js.map +1 -1
  19. package/dist/diagnostics.d.ts.map +1 -1
  20. package/dist/diagnostics.js +26 -2
  21. package/dist/diagnostics.js.map +1 -1
  22. package/dist/engine/adapters/bun-test-profile.d.ts +17 -0
  23. package/dist/engine/adapters/bun-test-profile.d.ts.map +1 -0
  24. package/dist/engine/adapters/bun-test-profile.js +17 -0
  25. package/dist/engine/adapters/bun-test-profile.js.map +1 -0
  26. package/dist/engine/git-regression.d.ts +2 -2
  27. package/dist/engine/git-regression.d.ts.map +1 -1
  28. package/dist/engine/git-regression.js.map +1 -1
  29. package/dist/engine/index.d.ts +11 -5
  30. package/dist/engine/index.d.ts.map +1 -1
  31. package/dist/engine/index.js +454 -49
  32. package/dist/engine/index.js.map +1 -1
  33. package/dist/engine/runtime-doctor.d.ts +13 -4
  34. package/dist/engine/runtime-doctor.d.ts.map +1 -1
  35. package/dist/engine/runtime-doctor.js +80 -2
  36. package/dist/engine/runtime-doctor.js.map +1 -1
  37. package/dist/mcp/index.d.ts.map +1 -1
  38. package/dist/mcp/index.js +36 -6
  39. package/dist/mcp/index.js.map +1 -1
  40. package/dist/proof-planner/carry-over.d.ts +21 -0
  41. package/dist/proof-planner/carry-over.d.ts.map +1 -0
  42. package/dist/proof-planner/carry-over.js +212 -0
  43. package/dist/proof-planner/carry-over.js.map +1 -0
  44. package/dist/proof-planner/index.d.ts +11 -0
  45. package/dist/proof-planner/index.d.ts.map +1 -0
  46. package/dist/proof-planner/index.js +11 -0
  47. package/dist/proof-planner/index.js.map +1 -0
  48. package/dist/proof-planner/model.d.ts +272 -0
  49. package/dist/proof-planner/model.d.ts.map +1 -0
  50. package/dist/proof-planner/model.js +215 -0
  51. package/dist/proof-planner/model.js.map +1 -0
  52. package/dist/proof-planner/plan.d.ts +140 -0
  53. package/dist/proof-planner/plan.d.ts.map +1 -0
  54. package/dist/proof-planner/plan.js +1124 -0
  55. package/dist/proof-planner/plan.js.map +1 -0
  56. package/dist/proof-planner/policy.d.ts +100 -0
  57. package/dist/proof-planner/policy.d.ts.map +1 -0
  58. package/dist/proof-planner/policy.js +407 -0
  59. package/dist/proof-planner/policy.js.map +1 -0
  60. package/dist/proof-planner/render.d.ts +4 -0
  61. package/dist/proof-planner/render.d.ts.map +1 -0
  62. package/dist/proof-planner/render.js +73 -0
  63. package/dist/proof-planner/render.js.map +1 -0
  64. package/dist/sdk/index.d.ts +7 -6
  65. package/dist/sdk/index.d.ts.map +1 -1
  66. package/dist/sdk/index.js +20 -7
  67. package/dist/sdk/index.js.map +1 -1
  68. package/docs/adapter-protocol.md +61 -0
  69. package/docs/architecture.md +11 -1
  70. package/docs/developer-experience.md +7 -5
  71. package/docs/distribution.md +8 -3
  72. package/docs/migration-timeout-discovery-inconclusive.md +126 -0
  73. package/docs/migration-verification-v3.md +33 -0
  74. package/docs/project-intent.md +7 -5
  75. package/docs/proof-model.md +20 -2
  76. package/docs/proof-planner.md +368 -0
  77. package/docs/reference.md +9 -6
  78. package/docs/repository-init.md +38 -7
  79. package/docs/runtime-doctor.md +12 -9
  80. package/integrations/bun/assertions.d.mts +4 -0
  81. package/integrations/bun/assertions.mjs +25 -0
  82. package/integrations/bun/driver.d.mts +27 -0
  83. package/integrations/bun/driver.mjs +383 -0
  84. package/integrations/bun/preload.mjs +165 -0
  85. package/integrations/skill/SKILL.md +4 -1
  86. package/package.json +8 -4
  87. package/schemas/evidence-manifest.v3.json +897 -0
  88. package/schemas/repository-init-config.v2.json +210 -0
  89. package/schemas/repository-init-lock.v2.json +162 -0
  90. package/schemas/repository-init-result.v2.json +212 -0
  91. package/schemas/verification-request.v3.json +484 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy.js","sourceRoot":"","sources":["../../src/proof-planner/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EAEV,oBAAoB,EAEpB,sBAAsB,EACtB,UAAU,EACV,4BAA4B,EAC5B,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,uBAAuB;IACvB,eAAe;IACf,gBAAgB;IAChB,8BAA8B;IAC9B,2BAA2B;IAC3B,oBAAoB;IACpB,kBAAkB;IAClB,yBAAyB;IACzB,4BAA4B;IAC5B,aAAa;IACb,sBAAsB;IACtB,sBAAsB;IACtB,uBAAuB;IACvB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,sBAAsB;IACtB,4BAA4B;IAC5B,uBAAuB;IACvB,mBAAmB;IACnB,2BAA2B;IAC3B,uBAAuB;IACvB,mBAAmB;IACnB,uBAAuB;IACvB,sBAAsB;IACtB,qBAAqB;IACrB,uBAAuB;IACvB,oBAAoB;IACpB,iBAAiB;IACjB,4BAA4B;IAC5B,kBAAkB;IAClB,0BAA0B;IAC1B,iBAAiB;IACjB,2BAA2B;IAC3B,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CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,MAAuB;IAC3D,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { AssurancePlan } from "./plan.js";
2
+ /** Human-readable view of a plan. The JSON plan stays the authoritative, machine-readable form. */
3
+ export declare function renderAssurancePlan(plan: AssurancePlan): string;
4
+ //# sourceMappingURL=render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/proof-planner/render.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,WAAW,CAAC;AAUpE,mGAAmG;AACnG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAoE/D"}
@@ -0,0 +1,73 @@
1
+ function scope(requirement) {
2
+ return requirement.surfaces.length > 0 ? ` [${requirement.surfaces.join(", ")}]` : "";
3
+ }
4
+ function requirementLine(requirement) {
5
+ return ` - ${requirement.kind} (${requirement.binding})${scope(requirement)} <- ${requirement.because.join(", ")}`;
6
+ }
7
+ /** Human-readable view of a plan. The JSON plan stays the authoritative, machine-readable form. */
8
+ export function renderAssurancePlan(plan) {
9
+ const lines = [];
10
+ lines.push(`AssurancePlan ${plan.level} ${plan.status} - revision ${plan.subject.revision} (baseline ${plan.subject.baseline})`);
11
+ lines.push(`policy ${plan.policy.id}@${plan.policy.version}; impact ${plan.impactBound}; ${plan.levelBySubject.map((entry) => `${entry.subject} ${entry.level}`).join(", ")}`);
12
+ lines.push("");
13
+ lines.push("WHY");
14
+ for (const decision of plan.rationale) {
15
+ if (decision.step === "floor" && decision.fact && decision.level) {
16
+ lines.push(` - floor ${decision.level} ${decision.fact}: ${decision.detail}`);
17
+ }
18
+ else if (decision.step === "raise" && decision.fact) {
19
+ lines.push(` - raise ${decision.fact}: ${decision.detail}`);
20
+ }
21
+ else if (decision.step !== "floor" && decision.step !== "raise") {
22
+ lines.push(` - ${decision.step}: ${decision.detail}`);
23
+ }
24
+ }
25
+ lines.push("");
26
+ lines.push("REQUIRED");
27
+ for (const requirement of plan.requiredEvidence)
28
+ lines.push(requirementLine(requirement));
29
+ if (plan.recommendedEvidence.length > 0) {
30
+ lines.push("");
31
+ lines.push("RECOMMENDED");
32
+ for (const requirement of plan.recommendedEvidence)
33
+ lines.push(requirementLine(requirement));
34
+ }
35
+ const heavy = plan.explicitlyNotRequired.filter((entry) => entry.requirement.weight !== "targeted");
36
+ const light = plan.explicitlyNotRequired.filter((entry) => entry.requirement.weight === "targeted");
37
+ if (plan.explicitlyNotRequired.length > 0) {
38
+ lines.push("");
39
+ lines.push("NOT REQUIRED");
40
+ for (const entry of heavy)
41
+ lines.push(` - ${entry.requirement.kind}: ${entry.rationale}`);
42
+ if (light.length > 0) {
43
+ lines.push(` - targeted, not triggered: ${light.map((entry) => entry.requirement.kind).join(", ")}`);
44
+ }
45
+ }
46
+ if (plan.undeterminedEvidence.length > 0) {
47
+ lines.push("");
48
+ lines.push("UNDETERMINED");
49
+ for (const entry of plan.undeterminedEvidence) {
50
+ lines.push(` - ${entry.requirement.kind}: ${entry.rationale}`);
51
+ }
52
+ }
53
+ lines.push("");
54
+ lines.push("ESCALATE IF");
55
+ for (const escalation of plan.escalations) {
56
+ lines.push(` - ${escalation.signal} (${escalation.variant}): ${escalation.rationale}`);
57
+ }
58
+ if (plan.signals.length > 0) {
59
+ lines.push("");
60
+ lines.push("SIGNALS");
61
+ for (const signal of plan.signals) {
62
+ lines.push(` - ${signal.id} ${signal.signal} -> ${signal.classification}: ${signal.reason}`);
63
+ }
64
+ }
65
+ if (plan.residualUncertainty.length > 0) {
66
+ lines.push("");
67
+ lines.push("RESIDUAL UNCERTAINTY");
68
+ for (const entry of plan.residualUncertainty)
69
+ lines.push(` - ${entry.statement}`);
70
+ }
71
+ return `${lines.join("\n")}\n`;
72
+ }
73
+ //# sourceMappingURL=render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"render.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AAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,MAAM,KAAK,UAAU,CAAC,OAAO,MAAM,UAAU,CAAC,SAAS,EAAE,CAAC,CAAC;IAC1F,CAAC;IACD,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACtB,KAAK,MAAM,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,CAAC,OAAO,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,cAAc,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;QAChG,CAAC;IACH,CAAC;IACD,IAAI,IAAI,CAAC,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACf,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACnC,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,mBAAmB;YAAE,KAAK,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC;IACrF,CAAC;IACD,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACjC,CAAC"}
@@ -1,9 +1,9 @@
1
- import { type AgenticBenchmarkAcquisitionReplayResult, type AgenticBenchmarkAcquisitionResult, type AgenticBenchmarkArtifact, type AgenticBenchmarkReplayResult, type AgenticCorpusAllocation, type AgenticCorpusAllocationCommitmentReplayResult, type AgenticCorpusAllocationReplayResult, type AgenticCorpusExperimentArtifact, type AgenticCorpusExperimentReplayResult, type AgenticProfileReplayResult, type AgenticProfileReplayResultV2, type AgenticProfileReport, type AgenticProfileReportV2, type EvidenceExport, type EvidenceExportReplayResult, type EvidenceManifestContract, type EvidenceManifestV2Contract, type EvidenceProviderManifest, type ReplayResult, type RepositoryAnalysis, type RepositoryAudit, type RepositoryInitResult } from "../contracts/index.js";
2
- import { type RuntimeDoctorResult } from "../contracts/runtime-doctor.js";
1
+ import { type AgenticBenchmarkAcquisitionReplayResult, type AgenticBenchmarkAcquisitionResult, type AgenticBenchmarkArtifact, type AgenticBenchmarkReplayResult, type AgenticCorpusAllocation, type AgenticCorpusAllocationCommitmentReplayResult, type AgenticCorpusAllocationReplayResult, type AgenticCorpusExperimentArtifact, type AgenticCorpusExperimentReplayResult, type AgenticProfileReplayResult, type AgenticProfileReplayResultV2, type AgenticProfileReport, type AgenticProfileReportV2, type EvidenceExport, type EvidenceExportReplayResult, type EvidenceManifestContract, type EvidenceManifestV2Contract, type EvidenceManifestV3Contract, type EvidenceProviderManifest, type ReplayResult, type RepositoryAnalysis, type RepositoryAudit, type RepositoryInitResult, type RepositoryInitResultV2 } from "../contracts/index.js";
2
+ import { type RuntimeDoctorResult, type RuntimeDoctorResultV2 } from "../contracts/runtime-doctor.js";
3
3
  import { type AgenticCorpusExperimentReplayDependencies, replayAgenticCorpusAllocationCommitment } from "../core/index.js";
4
4
  import { type GitRegressionOptions, type GitRegressionV2Options } from "../engine/git-regression.js";
5
5
  import { type RepositoryAuditOptions, type RepositoryInitOptions, type RuntimeDoctorOptions, type VerifyCampaignOptions } from "../engine/index.js";
6
- export type SchemaName = "agentic-corpus-allocation-request" | "agentic-corpus-allocation" | "agentic-corpus-allocation-replay-result" | "agentic-corpus-allocation-commitment" | "agentic-corpus-allocation-reveal" | "agentic-corpus-allocation-commitment-replay-result" | "agentic-corpus-experiment-plan" | "agentic-corpus-experiment-plan-replay-result" | "agentic-corpus-experiment-request" | "agentic-corpus-experiment-artifact" | "agentic-corpus-experiment-replay-request" | "agentic-corpus-experiment-replay-result" | "agentic-benchmark-request" | "agentic-benchmark-artifact" | "agentic-benchmark-replay-result" | "agentic-benchmark-acquisition-request" | "agentic-benchmark-acquisition-result" | "agentic-benchmark-acquisition-replay-result" | "agentic-profile-request" | "agentic-profile-report" | "agentic-profile-replay-result" | "agentic-profile-request-v2" | "agentic-profile-report-v2" | "agentic-profile-replay-result-v2" | "verification-request" | "verification-request-v2" | "repository-analysis" | "repository-audit" | "repository-init-config" | "repository-init-lock" | "repository-init-result" | "evidence-manifest" | "evidence-manifest-v2" | "replay-result" | "evidence-provider-manifest" | "evidence-export-request" | "evidence-export" | "evidence-export-replay-result";
6
+ export type SchemaName = "agentic-corpus-allocation-request" | "agentic-corpus-allocation" | "agentic-corpus-allocation-replay-result" | "agentic-corpus-allocation-commitment" | "agentic-corpus-allocation-reveal" | "agentic-corpus-allocation-commitment-replay-result" | "agentic-corpus-experiment-plan" | "agentic-corpus-experiment-plan-replay-result" | "agentic-corpus-experiment-request" | "agentic-corpus-experiment-artifact" | "agentic-corpus-experiment-replay-request" | "agentic-corpus-experiment-replay-result" | "agentic-benchmark-request" | "agentic-benchmark-artifact" | "agentic-benchmark-replay-result" | "agentic-benchmark-acquisition-request" | "agentic-benchmark-acquisition-result" | "agentic-benchmark-acquisition-replay-result" | "agentic-profile-request" | "agentic-profile-report" | "agentic-profile-replay-result" | "agentic-profile-request-v2" | "agentic-profile-report-v2" | "agentic-profile-replay-result-v2" | "verification-request" | "verification-request-v2" | "verification-request-v3" | "repository-analysis" | "repository-audit" | "repository-init-config" | "repository-init-config-v2" | "repository-init-lock" | "repository-init-lock-v2" | "repository-init-result" | "repository-init-result-v2" | "evidence-manifest" | "evidence-manifest-v2" | "evidence-manifest-v3" | "replay-result" | "evidence-provider-manifest" | "evidence-export-request" | "evidence-export" | "evidence-export-replay-result";
7
7
  export type AgenticCorpusExperimentReplayOptions = Omit<AgenticCorpusExperimentReplayDependencies, "replayProvenance" | "verifyCommitmentSignatures">;
8
8
  /** Provider-neutral programmatic facade over AssertLedger's deterministic components. */
9
9
  export declare class AssertLedger {
@@ -19,15 +19,16 @@ export declare class AssertLedger {
19
19
  };
20
20
  analyze(root: string): Promise<RepositoryAnalysis>;
21
21
  audit(root: string, options?: RepositoryAuditOptions): Promise<RepositoryAudit>;
22
- init(root: string, options?: RepositoryInitOptions): Promise<RepositoryInitResult>;
23
- doctor(root: string): Promise<RepositoryInitResult>;
24
- doctorRuntime(root: string, options: RuntimeDoctorOptions): Promise<RuntimeDoctorResult>;
22
+ init(root: string, options?: RepositoryInitOptions): Promise<RepositoryInitResult | RepositoryInitResultV2>;
23
+ doctor(root: string, options?: Pick<RepositoryInitOptions, "exclude" | "framework">): Promise<RepositoryInitResult | RepositoryInitResultV2>;
24
+ doctorRuntime(root: string, options: RuntimeDoctorOptions): Promise<RuntimeDoctorResult | RuntimeDoctorResultV2>;
25
25
  verify(request: unknown): Promise<EvidenceManifestContract>;
26
26
  /**
27
27
  * Executes a v2 campaign. A container request runs through the operator-owned runtime command in
28
28
  * `options`; the request itself can never select a host executable.
29
29
  */
30
30
  verifyV2(request: unknown, options?: VerifyCampaignOptions): Promise<EvidenceManifestV2Contract>;
31
+ verifyV3(request: unknown, options?: VerifyCampaignOptions): Promise<EvidenceManifestV3Contract>;
31
32
  checkGitRegression(options: GitRegressionOptions): Promise<EvidenceManifestContract>;
32
33
  /** Qualifies a committed regression inside digest-pinned containers and returns v2 evidence. */
33
34
  checkGitRegressionV2(options: GitRegressionV2Options): Promise<EvidenceManifestV2Contract>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uCAAuC,EAC5C,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,6CAA6C,EAClD,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAyB3B,KAA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,EACL,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,GACf,MAAM,oBAAoB,CAAC"}
package/dist/sdk/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { agenticBenchmarkAcquisitionReplayResultJsonSchema, agenticBenchmarkAcquisitionRequestJsonSchema, agenticBenchmarkAcquisitionResultJsonSchema, agenticBenchmarkArtifactJsonSchema, agenticBenchmarkReplayResultJsonSchema, agenticBenchmarkRequestJsonSchema, agenticCorpusAllocationCommitmentJsonSchema, agenticCorpusAllocationCommitmentReplayResultJsonSchema, agenticCorpusAllocationJsonSchema, agenticCorpusAllocationReplayResultJsonSchema, agenticCorpusAllocationRequestJsonSchema, agenticCorpusAllocationRevealJsonSchema, agenticCorpusExperimentArtifactJsonSchema, agenticCorpusExperimentPlanJsonSchema, agenticCorpusExperimentPlanReplayResultJsonSchema, agenticCorpusExperimentReplayRequestJsonSchema, agenticCorpusExperimentReplayResultJsonSchema, agenticCorpusExperimentRequestJsonSchema, agenticProfileReplayResultJsonSchema, agenticProfileReplayResultV2JsonSchema, agenticProfileReportJsonSchema, agenticProfileReportV2JsonSchema, agenticProfileRequestJsonSchema, agenticProfileRequestV2JsonSchema, evidenceExportJsonSchema, evidenceExportReplayResultJsonSchema, evidenceExportRequestJsonSchema, evidenceManifestJsonSchema, evidenceManifestV2JsonSchema, evidenceProviderManifestJsonSchema, parseAgenticBenchmarkAcquisitionReplayResult, parseAgenticBenchmarkAcquisitionRequest, parseAgenticBenchmarkAcquisitionResult, parseAgenticBenchmarkArtifact, parseAgenticBenchmarkReplayResult, parseAgenticBenchmarkRequest, parseAgenticCorpusAllocation, parseAgenticCorpusAllocationCommitmentReplayResult, parseAgenticCorpusAllocationReplayResult, parseAgenticCorpusAllocationRequest, parseAgenticCorpusExperimentArtifact, parseAgenticCorpusExperimentPlan, parseAgenticCorpusExperimentReplayResult, parseAgenticCorpusExperimentRequest, parseAgenticProfileReplayResult, parseAgenticProfileReplayResultV2, parseAgenticProfileReport, parseAgenticProfileReportV2, parseAgenticProfileRequest, parseAgenticProfileRequestV2, parseEvidenceExport, parseEvidenceExportReplayResult, parseEvidenceExportRequest, parseEvidenceProviderManifest, parseReplayResult, parseRepositoryAnalysis, parseRepositoryAudit, parseRepositoryInitResult, parseEvidenceManifest, parseEvidenceManifestV2, parseVerificationRequest, parseVerificationRequestV2, parseVersionedEvidenceManifest, replayResultJsonSchema, repositoryAnalysisJsonSchema, repositoryAuditJsonSchema, repositoryInitConfigJsonSchema, repositoryInitLockJsonSchema, repositoryInitResultJsonSchema, verificationRequestJsonSchema, verificationRequestV2JsonSchema, } from "../contracts/index.js";
2
- import { parseRuntimeDoctorResult } from "../contracts/runtime-doctor.js";
1
+ import { agenticBenchmarkAcquisitionReplayResultJsonSchema, agenticBenchmarkAcquisitionRequestJsonSchema, agenticBenchmarkAcquisitionResultJsonSchema, agenticBenchmarkArtifactJsonSchema, agenticBenchmarkReplayResultJsonSchema, agenticBenchmarkRequestJsonSchema, agenticCorpusAllocationCommitmentJsonSchema, agenticCorpusAllocationCommitmentReplayResultJsonSchema, agenticCorpusAllocationJsonSchema, agenticCorpusAllocationReplayResultJsonSchema, agenticCorpusAllocationRequestJsonSchema, agenticCorpusAllocationRevealJsonSchema, agenticCorpusExperimentArtifactJsonSchema, agenticCorpusExperimentPlanJsonSchema, agenticCorpusExperimentPlanReplayResultJsonSchema, agenticCorpusExperimentReplayRequestJsonSchema, agenticCorpusExperimentReplayResultJsonSchema, agenticCorpusExperimentRequestJsonSchema, agenticProfileReplayResultJsonSchema, agenticProfileReplayResultV2JsonSchema, agenticProfileReportJsonSchema, agenticProfileReportV2JsonSchema, agenticProfileRequestJsonSchema, agenticProfileRequestV2JsonSchema, evidenceExportJsonSchema, evidenceExportReplayResultJsonSchema, evidenceExportRequestJsonSchema, evidenceManifestJsonSchema, evidenceManifestV2JsonSchema, evidenceManifestV3JsonSchema, evidenceProviderManifestJsonSchema, parseAgenticBenchmarkAcquisitionReplayResult, parseAgenticBenchmarkAcquisitionRequest, parseAgenticBenchmarkAcquisitionResult, parseAgenticBenchmarkArtifact, parseAgenticBenchmarkReplayResult, parseAgenticBenchmarkRequest, parseAgenticCorpusAllocation, parseAgenticCorpusAllocationCommitmentReplayResult, parseAgenticCorpusAllocationReplayResult, parseAgenticCorpusAllocationRequest, parseAgenticCorpusExperimentArtifact, parseAgenticCorpusExperimentPlan, parseAgenticCorpusExperimentReplayResult, parseAgenticCorpusExperimentRequest, parseAgenticProfileReplayResult, parseAgenticProfileReplayResultV2, parseAgenticProfileReport, parseAgenticProfileReportV2, parseAgenticProfileRequest, parseAgenticProfileRequestV2, parseEvidenceExport, parseEvidenceExportReplayResult, parseEvidenceExportRequest, parseEvidenceProviderManifest, parseReplayResult, parseRepositoryAnalysis, parseRepositoryAudit, parseVersionedRepositoryInitResult, parseEvidenceManifest, parseEvidenceManifestV2, parseEvidenceManifestV3, parseVerificationRequest, parseVerificationRequestV2, parseVerificationRequestV3, parseVersionedEvidenceManifest, replayResultJsonSchema, repositoryAnalysisJsonSchema, repositoryAuditJsonSchema, repositoryInitConfigJsonSchema, repositoryInitConfigV2JsonSchema, repositoryInitLockJsonSchema, repositoryInitLockV2JsonSchema, repositoryInitResultJsonSchema, repositoryInitResultV2JsonSchema, verificationRequestJsonSchema, verificationRequestV2JsonSchema, verificationRequestV3JsonSchema, } from "../contracts/index.js";
2
+ import { parseVersionedRuntimeDoctorResult, } from "../contracts/runtime-doctor.js";
3
3
  import { ASSERTLEDGER_SOURCE_REVISION } from "../build-info.js";
4
4
  import { createAgenticBenchmark, createAgenticCorpusAllocation, createAgenticCorpusExperimentArtifact, createAgenticProfile, createAgenticProfileV2, createEvidenceExport, createEvidenceProviderManifest, replayAgenticBenchmark, replayAgenticBenchmarkAcquisition, replayAgenticCorpusAllocation, replayAgenticCorpusAllocationCommitment, replayAgenticCorpusExperimentArtifact, replayAgenticProfile, replayAgenticProfileV2, replayEvidenceExport, replayEvidenceManifest, } from "../core/index.js";
5
5
  import { explainReasonCodes } from "../diagnostics.js";
@@ -14,19 +14,19 @@ export class AssertLedger {
14
14
  return explainReasonCodes(codes);
15
15
  }
16
16
  async analyze(root) {
17
- return parseRepositoryAnalysis(await analyzeRepository(root));
17
+ return parseRepositoryAnalysis(await analyzeRepository(root, { configuredExcludes: true }));
18
18
  }
19
19
  async audit(root, options = {}) {
20
20
  return parseRepositoryAudit(await auditRepository(root, options));
21
21
  }
22
22
  async init(root, options = {}) {
23
- return parseRepositoryInitResult(await initializeRepository(root, options));
23
+ return parseVersionedRepositoryInitResult(await initializeRepository(root, options));
24
24
  }
25
- async doctor(root) {
26
- return this.init(root, { dryRun: true });
25
+ async doctor(root, options = {}) {
26
+ return this.init(root, { ...options, dryRun: true });
27
27
  }
28
28
  async doctorRuntime(root, options) {
29
- return parseRuntimeDoctorResult(await doctorRepositoryRuntime(root, options));
29
+ return parseVersionedRuntimeDoctorResult(await doctorRepositoryRuntime(root, options));
30
30
  }
31
31
  async verify(request) {
32
32
  return parseEvidenceManifest(await verifyCampaign(parseVerificationRequest(request)));
@@ -38,6 +38,9 @@ export class AssertLedger {
38
38
  async verifyV2(request, options = {}) {
39
39
  return parseEvidenceManifestV2(await verifyCampaign(parseVerificationRequestV2(request), options));
40
40
  }
41
+ async verifyV3(request, options = {}) {
42
+ return parseEvidenceManifestV3(await verifyCampaign(parseVerificationRequestV3(request), options));
43
+ }
41
44
  async checkGitRegression(options) {
42
45
  return qualifyGitRegression(options);
43
46
  }
@@ -245,20 +248,30 @@ export class AssertLedger {
245
248
  return verificationRequestJsonSchema();
246
249
  case "verification-request-v2":
247
250
  return verificationRequestV2JsonSchema();
251
+ case "verification-request-v3":
252
+ return verificationRequestV3JsonSchema();
248
253
  case "repository-analysis":
249
254
  return repositoryAnalysisJsonSchema();
250
255
  case "repository-audit":
251
256
  return repositoryAuditJsonSchema();
252
257
  case "repository-init-config":
253
258
  return repositoryInitConfigJsonSchema();
259
+ case "repository-init-config-v2":
260
+ return repositoryInitConfigV2JsonSchema();
254
261
  case "repository-init-lock":
255
262
  return repositoryInitLockJsonSchema();
263
+ case "repository-init-lock-v2":
264
+ return repositoryInitLockV2JsonSchema();
256
265
  case "repository-init-result":
257
266
  return repositoryInitResultJsonSchema();
267
+ case "repository-init-result-v2":
268
+ return repositoryInitResultV2JsonSchema();
258
269
  case "evidence-manifest":
259
270
  return evidenceManifestJsonSchema();
260
271
  case "evidence-manifest-v2":
261
272
  return evidenceManifestV2JsonSchema();
273
+ case "evidence-manifest-v3":
274
+ return evidenceManifestV3JsonSchema();
262
275
  case "replay-result":
263
276
  return replayResultJsonSchema();
264
277
  case "evidence-provider-manifest":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAcL,iDAAiD,EACjD,4CAA4C,EAC5C,2CAA2C,EAC3C,kCAAkC,EAClC,sCAAsC,EACtC,iCAAiC,EACjC,2CAA2C,EAC3C,uDAAuD,EACvD,iCAAiC,EACjC,6CAA6C,EAC7C,wCAAwC,EACxC,uCAAuC,EACvC,yCAAyC,EACzC,qCAAqC,EACrC,iDAAiD,EACjD,8CAA8C,EAC9C,6CAA6C,EAC7C,wCAAwC,EACxC,oCAAoC,EACpC,sCAAsC,EACtC,8BAA8B,EAC9B,gCAAgC,EAChC,+BAA+B,EAC/B,iCAAiC,EAMjC,wBAAwB,EACxB,oCAAoC,EACpC,+BAA+B,EAC/B,0BAA0B,EAC1B,4BAA4B,EAC5B,kCAAkC,EAClC,4CAA4C,EAC5C,uCAAuC,EACvC,sCAAsC,EACtC,6BAA6B,EAC7B,iCAAiC,EACjC,4BAA4B,EAC5B,4BAA4B,EAC5B,kDAAkD,EAClD,wCAAwC,EACxC,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,wCAAwC,EACxC,mCAAmC,EACnC,+BAA+B,EAC/B,iCAAiC,EACjC,yBAAyB,EACzB,2BAA2B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A4B,EAAE,CAAC;YACxC,KAAK,sBAAsB;gBACzB,OAAO,4BAA4B,EAAE,CAAC;YACxC,KAAK,eAAe;gBAClB,OAAO,sBAAsB,EAAE,CAAC;YAClC,KAAK,4BAA4B;gBAC/B,OAAO,kCAAkC,EAAE,CAAC;YAC9C,KAAK,yBAAyB;gBAC5B,OAAO,+BAA+B,EAAE,CAAC;YAC3C,KAAK,iBAAiB;gBACpB,OAAO,wBAAwB,EAAE,CAAC;YACpC,KAAK,+BAA+B;gBAClC,OAAO,oCAAoC,EAAE,CAAC;QAClD,CAAC;IACH,CAAC;CACF;AAED,2EAA2E;AAC3E,MAAM,OAAO,SAAU,SAAQ,YAAY;CAAG;AAE9C,OAAO,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qCAAqC,EACrC,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,iCAAiC,EACjC,6BAA6B,EAC7B,qCAAqC,EACrC,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,GACf,MAAM,oBAAoB,CAAC"}
@@ -78,6 +78,67 @@ these deterministic facts without a timestamp under
78
78
  File-based runtime attribution is stronger than source scanning, but it is not authenticated. The
79
79
  Node.js runner, reporter events, candidate code, dependencies, and host remain trusted inputs.
80
80
 
81
+ ## Built-in `bun:test` adapter (verification v3)
82
+
83
+ The official Bun profile accepts a verification request with:
84
+
85
+ ```json
86
+ {
87
+ "kind": "bun-test",
88
+ "executable": "bun",
89
+ "baseTestFiles": ["tests/base.test.ts"]
90
+ }
91
+ ```
92
+
93
+ It is qualified for Bun `1.4.2` revision `744846f844374847c902b5e7fd59b4342a51ef99`
94
+ using a controlled `bun:test` preload on explicitly unsandboxed `trusted-local` execution.
95
+ The container backend is refused. The engine resolves and hashes the Bun executable, checks its
96
+ version and revision twice, hashes its bundled driver, preload and assertion helper, and records all of
97
+ these identities with a fresh ten-case runtime preflight in the v3 manifest. The preflight
98
+ separates an owned assertion from a generic throw, a caught assertion followed by a generic
99
+ throw, a saved assertion error thrown in a later test or another parameterized row, an error from
100
+ an earlier asynchronous continuation, two genuine failing assertion rows, an operand error, a native Bun `expect`
101
+ failure, and a failing `afterEach` hook. Every Bun process uses argv with
102
+ `shell: false` and `--max-concurrency=1`.
103
+
104
+ Candidate tests that need assertion evidence import the packaged helper:
105
+
106
+ ```ts
107
+ import { test } from "bun:test";
108
+ import { assertSame } from "assertledger/bun";
109
+
110
+ test("result", () => assertSame(compute(), expected));
111
+ ```
112
+
113
+ `assertSame` evaluates its arguments before entering the helper, compares them with `Object.is`,
114
+ and throws a fixed, AssertLedger-owned error when they differ. The engine installs the exact
115
+ bundled helper into each disposable workspace because repository snapshots omit `node_modules`.
116
+ The engine installs a preload before test files execute. It wraps `test` and `it` registrations,
117
+ records their source file and completion, and checks that the thrown object belongs to a private
118
+ set of errors actually issued by `assertSame` in the active test callback. A saved helper error
119
+ thrown in another test or parameterized row does not acquire assertion ownership. AsyncLocalStorage
120
+ keeps ownership with the originating test when its asynchronous work overlaps a later test.
121
+ The driver requires every configured base file to run and checks
122
+ that callback totals and failures agree with Bun's JUnit totals and process exit. JUnit never
123
+ classifies an assertion or supplies candidate attribution. A generic throw, failed control,
124
+ skipped test, missing callback or inconsistent count cannot kill a target.
125
+ Multiple failing candidate rows count as an assertion failure only when every failure is owned
126
+ by a helper call in its own execution.
127
+ The preload sends signed events to the driver over a dedicated process pipe. A one-run key is
128
+ delivered before candidate modules load and is not placed in the candidate environment or a
129
+ workspace file. The driver emits the final bounded JSON report on its own stdout; candidate code
130
+ cannot pre-create that result file. The generic `testforge-command` adapter retains its existing
131
+ result-file protocol.
132
+ Bun's separate unhandled-error summary blocks attribution when collection fails outside a
133
+ callback. The preload records failing lifecycle hooks separately, so they cannot be hidden by an
134
+ owned assertion failure in the same test.
135
+
136
+ Native `bun:test` `expect` failures are deliberately non-attributed because they do not throw the
137
+ AssertLedger-owned error class. A candidate that catches an `assertSame` failure and throws a
138
+ different error is also non-attributed. The preload instrumentation is part of the qualified
139
+ adapter and may reject Bun test registration forms that it cannot observe consistently.
140
+ The adapter does not authenticate candidate code or provide hostile-code containment.
141
+
81
142
  ## Structured command adapter protocol v1
82
143
 
83
144
  The legacy wire identifier `testforge-command` lets any framework participate without moving gate logic into the
@@ -129,7 +129,10 @@ environment and limits; `node:test` probes then run inside the image.
129
129
 
130
130
  The repository digest covers regular files visited by the analyzer. The analyzer omits `.git`,
131
131
  `.testforge`, `node_modules`, and operator-excluded path segments. It rejects any encountered
132
- symbolic link instead of silently excluding it. Candidate contents and world overlays have separate
132
+ symbolic link instead of silently excluding it. Campaign manifests and benchmark snapshots apply the
133
+ verification request's exclusions when the snapshot is copied; `audit` applies only the defaults.
134
+ Only the public `analyze` entry point also omits the names configured in `assertledger.config.json`,
135
+ so its digest can differ from an audit or manifest digest of the same tree. Candidate contents and world overlays have separate
133
136
  digests. Preserve the snapshot and resolved dependency identities for stronger provenance.
134
137
 
135
138
  `detectedTestFrameworks` remains a sorted string array in repository-analysis v1 so this correction
@@ -151,6 +154,13 @@ The emitted manifest contains normalized observations and stdout/stderr digests,
151
154
  output, candidate or world file bodies, or a repository archive. A self-contained audit bundle must
152
155
  preserve those inputs and logs beside the manifest.
153
156
 
157
+ ## Internal proof planner
158
+
159
+ `src/proof-planner` decides which evidence is proportionate for a change, from a provider-neutral
160
+ change impact, the affected claims and a versioned assurance policy. It follows the core's purity
161
+ rules, is not exported from the package entry points, and never grants or verifies evidence: the
162
+ gates above keep that authority. See [proof-planner.md](proof-planner.md).
163
+
154
164
  ## Extension points
155
165
 
156
166
  - Built-in adapters translate framework behavior into normalized observations.
@@ -37,11 +37,13 @@ execution remains unavailable unless an operator separately starts it with
37
37
  `--allow-unsafe-execution`; that mode is explicitly UNSANDBOXED trusted-local.
38
38
 
39
39
  On a connected read-only server, agents may call `assertledger_doctor` (or the legacy
40
- `testforge_doctor` alias) with `{ "root": "..." }`. It returns the same static repository
41
- initialization result as `assertledger doctor . --json`, after enforcing the server's allowed-root
42
- boundary. The tool writes no configuration and does not execute repository code. It reports
43
- configuration readiness only; dynamic dependency, reporter, permission and liveness diagnostics
44
- remain outside this static check.
40
+ `testforge_doctor` alias) with `{ "root": "..." }`, plus optional `"exclude"` entry names that follow
41
+ the `--exclude` rules; an empty array replaces the configured list (see
42
+ [repository initialization](repository-init.md)). It returns the
43
+ same static repository initialization result as `assertledger doctor . --json`, after enforcing the
44
+ server's allowed-root boundary. The tool writes no configuration and does not execute repository
45
+ code. It reports configuration readiness only; dynamic dependency, reporter, permission and liveness
46
+ diagnostics remain outside this static check.
45
47
 
46
48
  Use the separate [runtime doctor](runtime-doctor.md) after initialization to run controlled probes
47
49
  with explicit authorization. [Reason-code explanations](diagnostics.md) remain available without
@@ -10,8 +10,8 @@ The smoke exercises both installed command aliases (`assertledger`, `testforge`)
10
10
  both SDK class aliases, the public root and core exports, static init and audit,
11
11
  and the bundled trusted `node:test` example. The strong test must be selected,
12
12
  the weak test must be rejected as `WEAK_ORACLE`, and every replay rail must pass.
13
- It also checks the advertised schemas, conformance bundle, integration skill and
14
- runtime files in the tarball and installed package.
13
+ It also checks the advertised schemas, conformance bundle, integration skill, Bun assertion
14
+ helper, callback preload and driver, and runtime files in the tarball and installed package.
15
15
  It also compiles a TypeScript consumer against the installed root/core exports
16
16
  using the checkout's pinned compiler and Node type definitions. Consumer imports
17
17
  resolve from the temporary project; no source-package alias is configured.
@@ -26,7 +26,12 @@ the tarball and its SHA-256 are retained under `.testforge/package-smoke/<run-id
26
26
  Temporary consumers are removed after the run. The retained manifest is replayable;
27
27
  its original execution paths refer to the removed consumer.
28
28
 
29
- CI runs this smoke on Windows and Linux with Node 22.15.0 and 24 alongside `pnpm check`.
29
+ CI runs this smoke on Windows, Linux and macOS with Node 22.15.0 and 24 plus pinned Bun 1.4.2,
30
+ alongside `pnpm check`.
31
+ The verification matrix installs Bun 1.4.2 on Windows, Linux, and macOS and executes the
32
+ real Bun campaign and its negative witnesses. The package smoke also runs a Bun v3 campaign
33
+ and replay through the freshly installed CLI and checks the installed `assertledger/bun` export
34
+ and types.
30
35
  A successful local smoke proves that local tarball on the reported Node version
31
36
  and operating system. It does not establish npm publication, cross-platform CI
32
37
  success, hostile-code isolation, or adoption by external users. The example uses
@@ -0,0 +1,126 @@
1
+ # Timeouts and infrastructure errors no longer fail discovery
2
+
3
+ A candidate run that ends in `TIMEOUT` or `INFRA_ERROR` never reached a verdict. It can neither
4
+ prove nor disprove that the candidate test was discovered and attributed. The core now classifies
5
+ such a candidate as `INCONCLUSIVE` instead of `INVALID`. This resolves an ambiguity of the
6
+ [proof model](proof-model.md), which listed the case both under `INVALID` (discovery failed) and
7
+ under `INCONCLUSIVE` (`TIMEOUT` or `INFRA_ERROR`); the core applied the first.
8
+
9
+ ## What changed
10
+
11
+ The engine reports every `TIMEOUT` and `INFRA_ERROR` observation with `attributed: false` and,
12
+ normally, `candidateTestsDiscovered: 0`. The `DISCOVERY` gate requires every candidate run to report
13
+ an attributed candidate test, so those runs made it fail, and the candidate became `INVALID` before
14
+ the core looked at execution outcomes. A candidate that hangs on the faulty code was reported as a
15
+ broken test, and the campaign as `REJECTED`.
16
+
17
+ Once completeness and stability hold, `DISCOVERY` now distinguishes the runs that fail it:
18
+
19
+ | Runs that fail discovery | Before | After |
20
+ | --- | --- | --- |
21
+ | None | `DISCOVERY` passed | unchanged |
22
+ | At least one completed run (`PASS`, `ASSERTION_FAILURE`, compile, collection, crash or no-test outcome) | `INVALID`, `CANDIDATE_DISCOVERY_INVALID` | unchanged |
23
+ | Only `TIMEOUT` or `INFRA_ERROR` runs | `INVALID`, `CANDIDATE_DISCOVERY_INVALID` | `INCONCLUSIVE`, `CANDIDATE_EXECUTION_INCONCLUSIVE` |
24
+
25
+ In the last case the `DISCOVERY` gate is `FAILED` with reason `CANDIDATE_EXECUTION_INCONCLUSIVE`,
26
+ and `REFERENCE`, `NEUTRAL` and `TARGET_STRENGTH` stay `NOT_RUN` with `PREREQUISITE_GATE_FAILED`, as
27
+ after any failed prerequisite. The candidate kills nothing: a red reference or neutral world, or a
28
+ target its other runs killed, is not recorded as a failed gate or a kill, whereas a timeout reported
29
+ with an attributed candidate test, a core input the engine does not produce, still lets those gates
30
+ run. Once its attempts are complete and agree, a completed run that disproves discovery still makes
31
+ the candidate `INVALID`, whatever else timed out; missing attempts still make it `INCONCLUSIVE` and
32
+ attempts that disagree `UNSTABLE` first. Inconclusive execution still takes precedence over a red
33
+ reference or neutral world, as it already did for timeouts that passed discovery.
34
+
35
+ ## Observable effects
36
+
37
+ For a campaign where a candidate falls in the last row:
38
+
39
+ - candidate status `INVALID` becomes `INCONCLUSIVE`, with the reason codes above, whatever the
40
+ campaign decision, including in the candidate list of evidence exports built from the manifest
41
+ and in the evidence status profile v1 reports for that candidate;
42
+ - when no other candidate is selected, the campaign decision `REJECTED` / `NO_ELIGIBLE_CANDIDATE`
43
+ becomes `INCONCLUSIVE` / `CANDIDATE_EVIDENCE_INCONCLUSIVE`, and the CLI exit code of `verify` and
44
+ `check` becomes `3` instead of `2`; in that case the evidence export reason code becomes
45
+ `CANDIDATE_EVIDENCE_INCONCLUSIVE` instead of `CANDIDATE_EVIDENCE_INVALID`. A campaign with a
46
+ selected candidate stays `VERIFIED`,
47
+ invalid controls keep their precedence (`CONTROL_EVIDENCE_INVALID`), and a campaign that another
48
+ unstable or inconclusive candidate already made `INCONCLUSIVE` keeps its decision;
49
+ - the `decisionDigest` and `artifactDigest` values of the manifest change. The digest projections
50
+ do not.
51
+
52
+ The core does not look at where those outcomes come from. They include a candidate that hangs on a
53
+ target world and a structured-command adapter that dies without a report, writes a malformed report
54
+ or reports `INFRA_ERROR` itself (each witnessed below), as well as other engine paths such as a run
55
+ that ends without an exit code and without a valid report (for the structured-command adapter, with
56
+ any report but `PASS`), a `node:test` run without a valid report, a contradictory report, a process
57
+ that fails to start or a container execution failure. A candidate that makes its own run end in
58
+ `INFRA_ERROR`, for example by forcing a zero exit code despite failing tests, is therefore
59
+ inconclusive rather than invalid. None of them can be selected: only an `ELIGIBLE` candidate is, so
60
+ no `VERIFIED` decision changes.
61
+
62
+ ## Replay of existing manifests
63
+
64
+ Replay recomputes the decision from the recorded observations, and no field distinguishes the
65
+ decision semantics before and after this change (`policyVersion` stays `1.0.0`). Therefore:
66
+
67
+ - a manifest sealed before this change, with at least one candidate in the last row above, no
68
+ longer replays: `decisionDigestValid` and `artifactDigestValid` stay `true`,
69
+ `decisionSemanticsValid` and `valid` become `false`. This holds per candidate, not per decision:
70
+ a `VERIFIED` manifest with such a neighbouring candidate is affected too, and so are the evidence
71
+ exports, profiles and benchmarks built from it;
72
+ - a manifest sealed after this change with such a candidate fails replay the same way under a
73
+ verifier that predates it (1.1.0 and earlier).
74
+
75
+ Re-decide affected manifests from their observations with the release that includes this change,
76
+ and replay them with a verifier of that release or a later one. Manifests without a candidate in
77
+ the last row replay as before.
78
+
79
+ ## Compatibility decision
80
+
81
+ `CONTRIBUTING.md` asks for a schema-version discussion before a contract-breaking change. This
82
+ change keeps `schemaVersion` and `policyVersion` unchanged:
83
+
84
+ - the previous decision contradicted the proof model's own rule that `TIMEOUT` and `INFRA_ERROR`
85
+ are inconclusive. Campaign requests declare `policyVersion`, and the core accepts only `1.0.0`;
86
+ versioning would make the core accept a second version that requests opt into, while every
87
+ request that does not opt in would keep the misclassification;
88
+ - replay fails closed: an affected manifest never replays as valid under the other semantics, so no
89
+ verdict is silently reinterpreted, and every other manifest replays unchanged.
90
+
91
+ The cost of this choice: `policyVersion` `1.0.0` no longer names a single decision function, so
92
+ archived manifests of the affected case, including `VERIFIED` ones with an affected neighbour, stop
93
+ replaying; and a candidate can turn its own `INVALID` status into `INCONCLUSIVE` by ending its run
94
+ in `INFRA_ERROR`, which can turn the campaign decision from `REJECTED` into `INCONCLUSIVE` (exit
95
+ code 3 instead of 2), never into a selection.
96
+
97
+ The alternative is a `policyVersion` bump under which `1.0.0` manifests keep replaying with the old
98
+ rule. Choosing it would replace this section and the replay section above.
99
+
100
+ ## What does not change
101
+
102
+ No schema version, manifest field, gate order, digest projection, adapter protocol, diagnostic
103
+ catalogue entry or unsafe-execution permission changes, and no reason code is added or removed;
104
+ `CANDIDATE_EXECUTION_INCONCLUSIVE` can now appear on the `DISCOVERY` gate. Its explanation already
105
+ asks to fix the timeout or infrastructure failure and rerun; the campaign explanation of
106
+ `CANDIDATE_EVIDENCE_INCONCLUSIVE` still speaks of unstable or incomplete evidence, as it did for
107
+ timeouts after discovery. The conformance v1 bundle and its lock are unchanged: every candidate run
108
+ in its fixtures reports an attributed candidate test, so none reaches the new case. The self-hosted
109
+ core campaign keeps its mutation anchors and its existing-test snapshot.
110
+
111
+ ## Compatibility witnesses
112
+
113
+ - `tests/core-inconclusive-discovery.test.ts` fails against the previous core for `TIMEOUT` and
114
+ `INFRA_ERROR` runs as the engine reports them, a candidate that hangs everywhere, a hung neighbour
115
+ of an eligible candidate, and a red reference with a timed-out target. It also pins, to the values
116
+ the previous core produced for the same host-independent fixtures, the decision digests of the
117
+ inputs whose verdict must not change (a completed run that disproves discovery beside a `TIMEOUT`
118
+ or an `INFRA_ERROR`, unattributed assertion, compile, collection and crash outcomes, a completed
119
+ crash reported without an exit code, no test discovered, diverging timeouts, a timed-out control,
120
+ an attributed timeout), and shows that a manifest sealed before this change, rebuilt with both of
121
+ its digests, fails replay only on decision semantics. The reverse direction was observed by
122
+ replaying a manifest of this change with the previous core, which the repository tests cannot
123
+ import.
124
+ - `tests/engine.test.ts` runs a real `node:test` candidate that hangs on the target world for every
125
+ attempt, and a structured-command adapter that dies without a report, writes a malformed report
126
+ or reports `INFRA_ERROR` on the target. All four fail against the previous core and pass now.