@gate-forge/core 0.1.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.
- package/LICENSE +202 -0
- package/dist/baselines/adoption.d.ts +76 -0
- package/dist/baselines/adoption.d.ts.map +1 -0
- package/dist/baselines/adoption.js +163 -0
- package/dist/baselines/adoption.js.map +1 -0
- package/dist/baselines/index.d.ts +102 -0
- package/dist/baselines/index.d.ts.map +1 -0
- package/dist/baselines/index.js +186 -0
- package/dist/baselines/index.js.map +1 -0
- package/dist/canonical-json.d.ts +51 -0
- package/dist/canonical-json.d.ts.map +1 -0
- package/dist/canonical-json.js +112 -0
- package/dist/canonical-json.js.map +1 -0
- package/dist/classifier/bind.d.ts +64 -0
- package/dist/classifier/bind.d.ts.map +1 -0
- package/dist/classifier/bind.js +188 -0
- package/dist/classifier/bind.js.map +1 -0
- package/dist/classifier/classify.d.ts +154 -0
- package/dist/classifier/classify.d.ts.map +1 -0
- package/dist/classifier/classify.js +1207 -0
- package/dist/classifier/classify.js.map +1 -0
- package/dist/classifier/glob.d.ts +48 -0
- package/dist/classifier/glob.d.ts.map +1 -0
- package/dist/classifier/glob.js +104 -0
- package/dist/classifier/glob.js.map +1 -0
- package/dist/classifier/index.d.ts +10 -0
- package/dist/classifier/index.d.ts.map +1 -0
- package/dist/classifier/index.js +21 -0
- package/dist/classifier/index.js.map +1 -0
- package/dist/classifier/schema.d.ts +150 -0
- package/dist/classifier/schema.d.ts.map +1 -0
- package/dist/classifier/schema.js +139 -0
- package/dist/classifier/schema.js.map +1 -0
- package/dist/config/index.d.ts +259 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +523 -0
- package/dist/config/index.js.map +1 -0
- package/dist/fingerprints.d.ts +56 -0
- package/dist/fingerprints.d.ts.map +1 -0
- package/dist/fingerprints.js +59 -0
- package/dist/fingerprints.js.map +1 -0
- package/dist/graph/build.d.ts +16 -0
- package/dist/graph/build.d.ts.map +1 -0
- package/dist/graph/build.js +423 -0
- package/dist/graph/build.js.map +1 -0
- package/dist/graph/index.d.ts +12 -0
- package/dist/graph/index.d.ts.map +1 -0
- package/dist/graph/index.js +10 -0
- package/dist/graph/index.js.map +1 -0
- package/dist/graph/schema.d.ts +448 -0
- package/dist/graph/schema.d.ts.map +1 -0
- package/dist/graph/schema.js +237 -0
- package/dist/graph/schema.js.map +1 -0
- package/dist/graph/symbols.d.ts +129 -0
- package/dist/graph/symbols.d.ts.map +1 -0
- package/dist/graph/symbols.js +177 -0
- package/dist/graph/symbols.js.map +1 -0
- package/dist/graph/util.d.ts +40 -0
- package/dist/graph/util.d.ts.map +1 -0
- package/dist/graph/util.js +41 -0
- package/dist/graph/util.js.map +1 -0
- package/dist/index.d.ts +683 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +563 -0
- package/dist/index.js.map +1 -0
- package/dist/mapping/resolve.d.ts +177 -0
- package/dist/mapping/resolve.d.ts.map +1 -0
- package/dist/mapping/resolve.js +523 -0
- package/dist/mapping/resolve.js.map +1 -0
- package/dist/policy/coverage.d.ts +79 -0
- package/dist/policy/coverage.d.ts.map +1 -0
- package/dist/policy/coverage.js +119 -0
- package/dist/policy/coverage.js.map +1 -0
- package/dist/policy/evaluate.d.ts +275 -0
- package/dist/policy/evaluate.d.ts.map +1 -0
- package/dist/policy/evaluate.js +382 -0
- package/dist/policy/evaluate.js.map +1 -0
- package/dist/policy/index.d.ts +15 -0
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +14 -0
- package/dist/policy/index.js.map +1 -0
- package/dist/policy/trusted.d.ts +59 -0
- package/dist/policy/trusted.d.ts.map +1 -0
- package/dist/policy/trusted.js +96 -0
- package/dist/policy/trusted.js.map +1 -0
- package/dist/provenance.d.ts +170 -0
- package/dist/provenance.d.ts.map +1 -0
- package/dist/provenance.js +306 -0
- package/dist/provenance.js.map +1 -0
- package/dist/receipt/index.d.ts +74 -0
- package/dist/receipt/index.d.ts.map +1 -0
- package/dist/receipt/index.js +154 -0
- package/dist/receipt/index.js.map +1 -0
- package/dist/report/index.d.ts +100 -0
- package/dist/report/index.d.ts.map +1 -0
- package/dist/report/index.js +355 -0
- package/dist/report/index.js.map +1 -0
- package/dist/schemas/adoption.d.ts +40 -0
- package/dist/schemas/adoption.d.ts.map +1 -0
- package/dist/schemas/adoption.js +87 -0
- package/dist/schemas/adoption.js.map +1 -0
- package/dist/schemas/baseline.d.ts +19 -0
- package/dist/schemas/baseline.d.ts.map +1 -0
- package/dist/schemas/baseline.js +45 -0
- package/dist/schemas/baseline.js.map +1 -0
- package/dist/schemas/claim.d.ts +32 -0
- package/dist/schemas/claim.d.ts.map +1 -0
- package/dist/schemas/claim.js +34 -0
- package/dist/schemas/claim.js.map +1 -0
- package/dist/schemas/classification-policy.d.ts +84 -0
- package/dist/schemas/classification-policy.d.ts.map +1 -0
- package/dist/schemas/classification-policy.js +130 -0
- package/dist/schemas/classification-policy.js.map +1 -0
- package/dist/schemas/classification-signal.d.ts +125 -0
- package/dist/schemas/classification-signal.d.ts.map +1 -0
- package/dist/schemas/classification-signal.js +126 -0
- package/dist/schemas/classification-signal.js.map +1 -0
- package/dist/schemas/classification.d.ts +120 -0
- package/dist/schemas/classification.d.ts.map +1 -0
- package/dist/schemas/classification.js +154 -0
- package/dist/schemas/classification.js.map +1 -0
- package/dist/schemas/common.d.ts +73 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +60 -0
- package/dist/schemas/common.js.map +1 -0
- package/dist/schemas/coverage-policy.d.ts +89 -0
- package/dist/schemas/coverage-policy.d.ts.map +1 -0
- package/dist/schemas/coverage-policy.js +81 -0
- package/dist/schemas/coverage-policy.js.map +1 -0
- package/dist/schemas/evidence.d.ts +65 -0
- package/dist/schemas/evidence.d.ts.map +1 -0
- package/dist/schemas/evidence.js +64 -0
- package/dist/schemas/evidence.js.map +1 -0
- package/dist/schemas/execution-result.d.ts +214 -0
- package/dist/schemas/execution-result.d.ts.map +1 -0
- package/dist/schemas/execution-result.js +240 -0
- package/dist/schemas/execution-result.js.map +1 -0
- package/dist/schemas/gate-receipt.d.ts +86 -0
- package/dist/schemas/gate-receipt.d.ts.map +1 -0
- package/dist/schemas/gate-receipt.js +193 -0
- package/dist/schemas/gate-receipt.js.map +1 -0
- package/dist/schemas/index.d.ts +22 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +22 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/obligation.d.ts +37 -0
- package/dist/schemas/obligation.d.ts.map +1 -0
- package/dist/schemas/obligation.js +46 -0
- package/dist/schemas/obligation.js.map +1 -0
- package/dist/schemas/plugin.d.ts +19 -0
- package/dist/schemas/plugin.d.ts.map +1 -0
- package/dist/schemas/plugin.js +20 -0
- package/dist/schemas/plugin.js.map +1 -0
- package/dist/schemas/policy.d.ts +73 -0
- package/dist/schemas/policy.d.ts.map +1 -0
- package/dist/schemas/policy.js +46 -0
- package/dist/schemas/policy.js.map +1 -0
- package/dist/schemas/resource.d.ts +26 -0
- package/dist/schemas/resource.d.ts.map +1 -0
- package/dist/schemas/resource.js +29 -0
- package/dist/schemas/resource.js.map +1 -0
- package/dist/schemas/run-manifest.d.ts +72 -0
- package/dist/schemas/run-manifest.d.ts.map +1 -0
- package/dist/schemas/run-manifest.js +125 -0
- package/dist/schemas/run-manifest.js.map +1 -0
- package/dist/schemas/runner-adapter.d.ts +169 -0
- package/dist/schemas/runner-adapter.d.ts.map +1 -0
- package/dist/schemas/runner-adapter.js +2 -0
- package/dist/schemas/runner-adapter.js.map +1 -0
- package/dist/schemas/test-catalog.d.ts +472 -0
- package/dist/schemas/test-catalog.d.ts.map +1 -0
- package/dist/schemas/test-catalog.js +311 -0
- package/dist/schemas/test-catalog.js.map +1 -0
- package/dist/schemas/test-map.d.ts +99 -0
- package/dist/schemas/test-map.d.ts.map +1 -0
- package/dist/schemas/test-map.js +103 -0
- package/dist/schemas/test-map.js.map +1 -0
- package/dist/schemas/verdict.d.ts +73 -0
- package/dist/schemas/verdict.d.ts.map +1 -0
- package/dist/schemas/verdict.js +92 -0
- package/dist/schemas/verdict.js.map +1 -0
- package/dist/schemas/waiver.d.ts +36 -0
- package/dist/schemas/waiver.d.ts.map +1 -0
- package/dist/schemas/waiver.js +42 -0
- package/dist/schemas/waiver.js.map +1 -0
- package/dist/supervision/index.d.ts +170 -0
- package/dist/supervision/index.d.ts.map +1 -0
- package/dist/supervision/index.js +354 -0
- package/dist/supervision/index.js.map +1 -0
- package/dist/testing/clock.d.ts +50 -0
- package/dist/testing/clock.d.ts.map +1 -0
- package/dist/testing/clock.js +75 -0
- package/dist/testing/clock.js.map +1 -0
- package/dist/testing/env.d.ts +66 -0
- package/dist/testing/env.d.ts.map +1 -0
- package/dist/testing/env.js +106 -0
- package/dist/testing/env.js.map +1 -0
- package/dist/testing/gate-runner.d.ts +141 -0
- package/dist/testing/gate-runner.d.ts.map +1 -0
- package/dist/testing/gate-runner.js +173 -0
- package/dist/testing/gate-runner.js.map +1 -0
- package/dist/testing/gf19.d.ts +106 -0
- package/dist/testing/gf19.d.ts.map +1 -0
- package/dist/testing/gf19.js +282 -0
- package/dist/testing/gf19.js.map +1 -0
- package/dist/testing/index.d.ts +20 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +14 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/red-probe.d.ts +138 -0
- package/dist/testing/red-probe.d.ts.map +1 -0
- package/dist/testing/red-probe.js +251 -0
- package/dist/testing/red-probe.js.map +1 -0
- package/dist/testing/temp-repo.d.ts +126 -0
- package/dist/testing/temp-repo.d.ts.map +1 -0
- package/dist/testing/temp-repo.js +214 -0
- package/dist/testing/temp-repo.js.map +1 -0
- package/dist/verdict/cause.d.ts +99 -0
- package/dist/verdict/cause.d.ts.map +1 -0
- package/dist/verdict/cause.js +206 -0
- package/dist/verdict/cause.js.map +1 -0
- package/dist/verdict/evaluate.d.ts +135 -0
- package/dist/verdict/evaluate.d.ts.map +1 -0
- package/dist/verdict/evaluate.js +1513 -0
- package/dist/verdict/evaluate.js.map +1 -0
- package/dist/verdict/index.d.ts +21 -0
- package/dist/verdict/index.d.ts.map +1 -0
- package/dist/verdict/index.js +20 -0
- package/dist/verdict/index.js.map +1 -0
- package/dist/verdict/pack-verifiers.d.ts +97 -0
- package/dist/verdict/pack-verifiers.d.ts.map +1 -0
- package/dist/verdict/pack-verifiers.js +763 -0
- package/dist/verdict/pack-verifiers.js.map +1 -0
- package/dist/verdict/registry.d.ts +180 -0
- package/dist/verdict/registry.d.ts.map +1 -0
- package/dist/verdict/registry.js +67 -0
- package/dist/verdict/registry.js.map +1 -0
- package/dist/waivers/index.d.ts +103 -0
- package/dist/waivers/index.d.ts.map +1 -0
- package/dist/waivers/index.js +192 -0
- package/dist/waivers/index.js.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH;;GAEG;AACH,YAAY,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;GAIG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD;;;GAGG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAMtD;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAElE;;;;GAIG;AACH,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzE;;;;;;GAMG;AACH,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE7D;;;;;;;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AChB,MAAM,oBAAoB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @gate-forge/core — the frozen public surface of the gateforge engine.
|
|
3
|
+
*
|
|
4
|
+
* STABILITY CONTRACT: every export here is a stable name. Later waves
|
|
5
|
+
* (graph, policy, verdict, baselines, waivers, reports, harness) add to
|
|
6
|
+
* this file; existing exports are never renamed or reshaped. Each export
|
|
7
|
+
* below is documented; if you need a new primitive, add it — do not
|
|
8
|
+
* repurpose an existing one.
|
|
9
|
+
*
|
|
10
|
+
* Layers:
|
|
11
|
+
* - canonical JSON + hashing (pin #1) — the substrate for ALL hashes
|
|
12
|
+
* - artifact schemas (zod) + inferred types — the frozen data ontology
|
|
13
|
+
* (ADR 0001; pins #2-#6, #9, #11)
|
|
14
|
+
* - fingerprints (pin #2) — baseline identity
|
|
15
|
+
* - config loading (pin #6) — fail-closed `.gateforge.yml` handling
|
|
16
|
+
*
|
|
17
|
+
* @module @gate-forge/core
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Type predicate narrowing an unknown value to {@link JsonValue}.
|
|
21
|
+
*/
|
|
22
|
+
export { isJsonValue } from './canonical-json.js';
|
|
23
|
+
/**
|
|
24
|
+
* Serializes a value to GF-canonical-JSON (pin #1): UTF-8, recursively
|
|
25
|
+
* key-sorted, no whitespace, integers plain. Array order is preserved.
|
|
26
|
+
* Throws on NaN/Infinity (no canonical representation).
|
|
27
|
+
*/
|
|
28
|
+
export { canonicalJson } from './canonical-json.js';
|
|
29
|
+
/**
|
|
30
|
+
* Lowercase hex sha256 of a string or byte buffer.
|
|
31
|
+
*/
|
|
32
|
+
export { sha256Hex } from './canonical-json.js';
|
|
33
|
+
/**
|
|
34
|
+
* `sha256(canonicalJson(value))` — the single primitive behind
|
|
35
|
+
* fingerprints, GPP/3 digests, and witness record ids (pin #1).
|
|
36
|
+
*/
|
|
37
|
+
export { sha256Canonical } from './canonical-json.js';
|
|
38
|
+
// ---------------------------------------------------------------------------
|
|
39
|
+
// Witness provenance (pin #7, GF-23)
|
|
40
|
+
// ---------------------------------------------------------------------------
|
|
41
|
+
/**
|
|
42
|
+
* Derives the service-issued witness record id: sha256 over the
|
|
43
|
+
* GF-canonical JSON of `{runId, obligationId, kind, testId, origin,
|
|
44
|
+
* payload}`. The single source of truth shared by the witness
|
|
45
|
+
* (issuance) and every verifier (checking).
|
|
46
|
+
*/
|
|
47
|
+
export { recordIdOf } from './provenance.js';
|
|
48
|
+
/**
|
|
49
|
+
* Lenient provenance check (never throws): a record is provenanced only
|
|
50
|
+
* when its 64-hex recordId recomputes from its own contents. Records
|
|
51
|
+
* failing it demote to claimed tier (GF-23).
|
|
52
|
+
*/
|
|
53
|
+
export { isProvenancedRecord, isWitnessedRecord } from './provenance.js';
|
|
54
|
+
/**
|
|
55
|
+
* Witness-ledger attestation (pin #7): HMAC-SHA256 over the canonical
|
|
56
|
+
* `{runId, recordIds}` set, keyed by the verifier key the tested suite
|
|
57
|
+
* never receives. Makes the suite-writable manifest append tamper-
|
|
58
|
+
* evident; `GET /ledger-attestation` serves the same authenticated set
|
|
59
|
+
* live.
|
|
60
|
+
*/
|
|
61
|
+
export { ledgerMac, verifyLedgerMac } from './provenance.js';
|
|
62
|
+
/**
|
|
63
|
+
* V2 evidence attestation (plan §11.3): HMAC-SHA256 over the canonical
|
|
64
|
+
* `{domain: 'gateforge.ledger.v2', attestationVersion: 2, runId,
|
|
65
|
+
* invocationId, inputDigest, recordIds}` set, keyed by the verifier key
|
|
66
|
+
* the tested suite never receives. Binds issued evidence to the tested
|
|
67
|
+
* source/policy inputs and the fresh invocation identity. A legacy v1
|
|
68
|
+
* `{runId, recordIds}` MAC can never verify here (different signed
|
|
69
|
+
* bytes) and never authorizes evidence.
|
|
70
|
+
*/
|
|
71
|
+
export { ATTESTATION_DOMAIN, ATTESTATION_VERSION, attestationMac, verifyAttestationMac, } from './provenance.js';
|
|
72
|
+
// ---------------------------------------------------------------------------
|
|
73
|
+
// Schema version (ADR 0001)
|
|
74
|
+
// ---------------------------------------------------------------------------
|
|
75
|
+
/**
|
|
76
|
+
* The only accepted `schemaVersion` on any artifact (currently `1`).
|
|
77
|
+
* Unknown versions are rejected everywhere; gateforge never migrates.
|
|
78
|
+
*/
|
|
79
|
+
export { GATEFORGE_SCHEMA_VERSION } from './schemas/common.js';
|
|
80
|
+
// ---------------------------------------------------------------------------
|
|
81
|
+
// Shared artifact vocabulary
|
|
82
|
+
// ---------------------------------------------------------------------------
|
|
83
|
+
/**
|
|
84
|
+
* Source location shape (file, 1-based line, 0-based col) used by
|
|
85
|
+
* unresolved reasons and detector provenance.
|
|
86
|
+
*/
|
|
87
|
+
export { LocationSchema } from './schemas/common.js';
|
|
88
|
+
/** Contract-name grammar: interior colons legal (`crud:update`), no leading colon. */
|
|
89
|
+
export { ContractNameSchema } from './schemas/common.js';
|
|
90
|
+
/** Exposure enum schema: `user-facing | internal`. */
|
|
91
|
+
export { ExposureSchema } from './schemas/common.js';
|
|
92
|
+
/** Plane enum schema: `tenant | master | global`. */
|
|
93
|
+
export { PlaneSchema } from './schemas/common.js';
|
|
94
|
+
/** Transport enum schema: `subprocess | in-process` (ADR 0002). */
|
|
95
|
+
export { TransportSchema } from './schemas/common.js';
|
|
96
|
+
/** Trust-tier enum schema: `claimed | witnessed` (ADR 0001). */
|
|
97
|
+
export { TrustTierSchema } from './schemas/common.js';
|
|
98
|
+
// ---------------------------------------------------------------------------
|
|
99
|
+
// Artifact schemas (zod) + inferred types — the frozen ontology
|
|
100
|
+
// ---------------------------------------------------------------------------
|
|
101
|
+
/**
|
|
102
|
+
* Resource (plan §4.2): stable code-derived object discovered by a
|
|
103
|
+
* detector — id, kind, source, location, detector version, attributes.
|
|
104
|
+
*/
|
|
105
|
+
export { ResourceSchema } from './schemas/resource.js';
|
|
106
|
+
/**
|
|
107
|
+
* Classification (plan §4.3): exposure, plane, lifecycle, ordered
|
|
108
|
+
* `primaryKey`, evidence adapter. User-facing entries require an
|
|
109
|
+
* adapter; internal entries default to no CRUD obligations.
|
|
110
|
+
*/
|
|
111
|
+
export { ClassificationSchema, ClassificationFileSchema, LifecycleSchema } from './schemas/classification.js';
|
|
112
|
+
/**
|
|
113
|
+
* Policy (plan §4.4): declarative when/require mapping from resource
|
|
114
|
+
* attributes to required contracts. Pure data, no code escape hatch.
|
|
115
|
+
*/
|
|
116
|
+
export { PolicySchema, PolicyFileSchema, PolicyWhenSchema } from './schemas/policy.js';
|
|
117
|
+
/**
|
|
118
|
+
* Obligation (plan §4.5): `<resourceId>:<contract>` requirement with
|
|
119
|
+
* policyId and relevant lifecycle (fingerprint identity inputs).
|
|
120
|
+
*/
|
|
121
|
+
export { ObligationSchema } from './schemas/obligation.js';
|
|
122
|
+
/**
|
|
123
|
+
* Claim (plan §4.6): a test's declared coverage of one obligation via
|
|
124
|
+
* native framework metadata. Claims are not proof.
|
|
125
|
+
*/
|
|
126
|
+
export { ClaimSchema, ObligationIdSchema } from './schemas/claim.js';
|
|
127
|
+
/**
|
|
128
|
+
* EvidenceRecord (plan §4.7, pins #7/#11): witness-issued trusted
|
|
129
|
+
* record — recordId, runId, trust tier, obligation, kind, optional
|
|
130
|
+
* bulk scope. Only `witnessed` can satisfy (GF-23).
|
|
131
|
+
*/
|
|
132
|
+
export { EvidenceRecordSchema, BulkScopeSchema, RecordOriginSchema, } from './schemas/evidence.js';
|
|
133
|
+
/**
|
|
134
|
+
* Waiver (ADR 0001): ALL FIVE mandatory fields — owner,
|
|
135
|
+
* justificationUrl, approver, exact scope (resourceId + fingerprint),
|
|
136
|
+
* expiresAt. Missing any = config error. Expiry ⇒ `invalid`, not
|
|
137
|
+
* `waived`.
|
|
138
|
+
*/
|
|
139
|
+
export { WaiverSchema, WaiverScopeSchema } from './schemas/waiver.js';
|
|
140
|
+
/**
|
|
141
|
+
* Baseline (pin #3): `.gateforge/baselines/obligations.json` —
|
|
142
|
+
* `{schemaVersion, fingerprints}` with a sorted, duplicate-free list.
|
|
143
|
+
*/
|
|
144
|
+
export { BaselineSchema, FingerprintHexSchema } from './schemas/baseline.js';
|
|
145
|
+
/**
|
|
146
|
+
* RunManifest (pin #4): runId, injected-clock startedAt, gitSha (or
|
|
147
|
+
* null), provider, plugin set, attestationScope. Every verdict and
|
|
148
|
+
* witnessed record references its run.
|
|
149
|
+
*/
|
|
150
|
+
export { RunManifestSchema, ChangedProviderSchema, AttestationSchema } from './schemas/run-manifest.js';
|
|
151
|
+
/**
|
|
152
|
+
* Verdict (ADR 0001): the seven verdicts — satisfied, missing, invalid,
|
|
153
|
+
* unclassified, unresolved, waived, stale. Blocking verdicts are all
|
|
154
|
+
* except `satisfied` and `waived`.
|
|
155
|
+
*/
|
|
156
|
+
export { VerdictSchema } from './schemas/verdict.js';
|
|
157
|
+
/**
|
|
158
|
+
* CauseCode (plan 2026-09-13 §5.4, ADR 0005): stable blocking-obligation
|
|
159
|
+
* cause codes plus the three advisory `DIAGNOSTIC_*` result causes. The
|
|
160
|
+
* seven verdict VALUES are unchanged; causes enrich the shared report
|
|
161
|
+
* model (text, JSON, and SARIF all carry them).
|
|
162
|
+
*/
|
|
163
|
+
export { CauseCodeSchema, CAUSE_NEXT_ACTIONS } from './schemas/verdict.js';
|
|
164
|
+
/**
|
|
165
|
+
* CoveragePolicy (plan 2026-09-13 §3.6, ADR 0005 D5): the tracked,
|
|
166
|
+
* owner-owned `coveragePolicy` config section — user-facing tables,
|
|
167
|
+
* required real-UI operations, and owner dispositions. Absent/empty =
|
|
168
|
+
* feature off (opt-in); agent edits never self-approve a disposition.
|
|
169
|
+
*/
|
|
170
|
+
export { COVERAGE_OPERATIONS, CoverageOperationSchema, CoveragePolicySchema, CoverageTableSchema, CoverageDispositionSchema, } from './schemas/coverage-policy.js';
|
|
171
|
+
/**
|
|
172
|
+
* UnresolvedReason (pin #5): `{code, detail, location{file,line,col}}` —
|
|
173
|
+
* single-cause, machine-readable, no stack dumps.
|
|
174
|
+
*/
|
|
175
|
+
export { UnresolvedReasonSchema } from './schemas/verdict.js';
|
|
176
|
+
/**
|
|
177
|
+
* TestCatalog (plan 2026-09-13 §5.1 row 1 + §5.2): the derived inventory
|
|
178
|
+
* of a repository's existing tests. Logical keys are the stable mapping
|
|
179
|
+
* identity (line numbers are diagnostics); duplicate keys are a typed
|
|
180
|
+
* parse error listing both sources; unresolved rows are first-class data
|
|
181
|
+
* so a failed scan is never misread as "no tests".
|
|
182
|
+
*/
|
|
183
|
+
export { SUPPORTED_TEST_RUNNERS, TestRunnerSchema, TestKindSchema, DiscoveryStatusSchema, ReconciliationStatusSchema, RuleEvidenceSchema, KindSignalSchema, WeakSignalSchema, CategorySignalSchema, SuppressionSignalKindSchema, SuppressionSignalSchema, TestCatalogEntrySchema, CatalogParseErrorSchema, RunnerSummarySchema, TestCatalogSchema, deriveLogicalKey, } from './schemas/test-catalog.js';
|
|
184
|
+
/**
|
|
185
|
+
* PluginRegistration: pinned plugin identity `{id, version, transport}`
|
|
186
|
+
* shared by run manifests (pin #4) and the GPP/3 handshake (pin #5).
|
|
187
|
+
*/
|
|
188
|
+
export { PluginRegistrationSchema } from './schemas/plugin.js';
|
|
189
|
+
// ---------------------------------------------------------------------------
|
|
190
|
+
// Fingerprints (pin #2)
|
|
191
|
+
// ---------------------------------------------------------------------------
|
|
192
|
+
/**
|
|
193
|
+
* Obligation fingerprint (pin #2):
|
|
194
|
+
* `sha256(canonical({resourceId, contract, policyId, lifecycle}))`.
|
|
195
|
+
* Key-order independent; this is the identity baselines store.
|
|
196
|
+
*/
|
|
197
|
+
export { fingerprint, FingerprintInputSchema } from './fingerprints.js';
|
|
198
|
+
/** Blocking-entry fingerprint (phase 8 C): baseline identity for gate red
|
|
199
|
+
* that is not an obligation (findings, unclassified, stale references). */
|
|
200
|
+
export { blockingEntryFingerprint } from './fingerprints.js';
|
|
201
|
+
// ---------------------------------------------------------------------------
|
|
202
|
+
// Config (pin #6) — fail-closed `.gateforge.yml` handling
|
|
203
|
+
// ---------------------------------------------------------------------------
|
|
204
|
+
/**
|
|
205
|
+
* `.gateforge.yml` document schema (pin #6): project paths, plugins,
|
|
206
|
+
* policies/classifications/adapters/waivers/baselines paths, changed
|
|
207
|
+
* provider, witness bounds, clock mode, optional enforcement modes, and
|
|
208
|
+
* optional coverage policy. Unknown keys and unknown schemaVersion are
|
|
209
|
+
* rejected.
|
|
210
|
+
*/
|
|
211
|
+
export { GateforgeConfigSchema, ConfigPluginSchema, EnforcementConfigSchema } from './config/index.js';
|
|
212
|
+
/**
|
|
213
|
+
* Diagnostics config (plan 2026-09-13 §3.5): explicitly registered
|
|
214
|
+
* diagnostic suites (pytest today). Absent = feature off; gateforge
|
|
215
|
+
* never scans for or launches unregistered suites.
|
|
216
|
+
*/
|
|
217
|
+
export { DiagnosticsConfigSchema, DiagnosticSuiteSchema } from './config/index.js';
|
|
218
|
+
/** Error for any fail-closed config problem; carries `.diagnostics`. */
|
|
219
|
+
export { GateforgeConfigError } from './config/index.js';
|
|
220
|
+
/**
|
|
221
|
+
* Validates an already-parsed config document; throws
|
|
222
|
+
* {@link GateforgeConfigError} with actionable diagnostics on failure.
|
|
223
|
+
*/
|
|
224
|
+
export { parseConfig } from './config/index.js';
|
|
225
|
+
/**
|
|
226
|
+
* Loads and validates `.gateforge.yml` from disk (default
|
|
227
|
+
* `.gateforge.yml` in cwd); fail-closed on missing/unparsable/invalid.
|
|
228
|
+
*/
|
|
229
|
+
export { loadConfig } from './config/index.js';
|
|
230
|
+
/**
|
|
231
|
+
* Diagnostics helpers: `diagnosticsFromZodError` converts zod issues,
|
|
232
|
+
* `jsonPathFor` renders JSON paths, `formatDiagnostics` renders the
|
|
233
|
+
* human-readable multi-line listing used in error messages.
|
|
234
|
+
*/
|
|
235
|
+
export { diagnosticsFromZodError, jsonPathFor, formatDiagnostics } from './config/index.js';
|
|
236
|
+
// ---------------------------------------------------------------------------
|
|
237
|
+
// Resource graph (Phase 1) — detector ingestion, normalization,
|
|
238
|
+
// symbol-table inheritance resolution, duplicates, stale references
|
|
239
|
+
// ---------------------------------------------------------------------------
|
|
240
|
+
/**
|
|
241
|
+
* Detector finding (discovery-spike lineage, e.g.
|
|
242
|
+
* `DUPLICATE_TABLE_NAME`): a non-resource observation about scanned
|
|
243
|
+
* sources. Canonical home of the shape; the plugin protocol carries a
|
|
244
|
+
* wire-compatible copy.
|
|
245
|
+
*/
|
|
246
|
+
export { FindingSchema } from './graph/index.js';
|
|
247
|
+
/**
|
|
248
|
+
* Finding with detector provenance: graph-issued findings carry
|
|
249
|
+
* detectorId `gateforge.graph`.
|
|
250
|
+
*/
|
|
251
|
+
export { GraphFindingSchema } from './graph/index.js';
|
|
252
|
+
/**
|
|
253
|
+
* One detector's contribution: pinned identity (pluginId + version)
|
|
254
|
+
* plus the pinned discovery shape (`resources`, `unresolved`,
|
|
255
|
+
* `findings`).
|
|
256
|
+
*/
|
|
257
|
+
export { DetectorOutputSchema } from './graph/index.js';
|
|
258
|
+
/** Reserved resource `kind` for symbol-table class declarations. */
|
|
259
|
+
export { CLASS_SYMBOL_KIND, EVIDENCE_ONLY_RESOURCE_KINDS, HTTP_ENDPOINT_RESOURCE_KIND, isEvidenceOnlyKind } from './graph/index.js';
|
|
260
|
+
/** Attribute payload of a class-symbol resource. */
|
|
261
|
+
export { ClassSymbolAttributesSchema } from './graph/index.js';
|
|
262
|
+
/** Canonical detector attribute carrying a resource's identity name. */
|
|
263
|
+
export { RESOURCE_NAME_ATTRIBUTE } from './graph/index.js';
|
|
264
|
+
/**
|
|
265
|
+
* Normalized graph resource: plane-qualified `plane.name` id (D5.3),
|
|
266
|
+
* repo-root-relative source, bound classification (or `null` while
|
|
267
|
+
* unclassified), and detector provenance.
|
|
268
|
+
*/
|
|
269
|
+
export { GraphResourceSchema } from './graph/index.js';
|
|
270
|
+
/** Gate-visible unresolved entry with detector provenance. */
|
|
271
|
+
export { GraphUnresolvedSchema } from './graph/index.js';
|
|
272
|
+
/** A reference to a removed/renamed resource (invariant 9, GF-06). */
|
|
273
|
+
export { StaleReferenceSchema, StaleReferenceKindSchema } from './graph/index.js';
|
|
274
|
+
/** The built resource graph: deterministic, fully sorted. */
|
|
275
|
+
export { ResourceGraphSchema } from './graph/index.js';
|
|
276
|
+
/**
|
|
277
|
+
* Builds the resource graph from detector contributions +
|
|
278
|
+
* classifications + watched claim/adapter/waiver populations. Pure:
|
|
279
|
+
* same inputs → identical graph byte-for-byte. Throws (fail closed)
|
|
280
|
+
* on an invalid classifications document.
|
|
281
|
+
*/
|
|
282
|
+
export { buildResourceGraph } from './graph/index.js';
|
|
283
|
+
/** The repo-wide class-symbol table and base-chain resolution. */
|
|
284
|
+
export { buildSymbolTable, resolveInheritedName, sortUnresolved } from './graph/index.js';
|
|
285
|
+
/** Codepoint-wise deterministic comparison helpers (never localeCompare). */
|
|
286
|
+
export { compareStrings, compareLocations } from './graph/index.js';
|
|
287
|
+
// ---------------------------------------------------------------------------
|
|
288
|
+
// Automatic conservative classification (ADR 0003) — signals, policy,
|
|
289
|
+
// deterministic lattice, decision traces, typed blocks
|
|
290
|
+
// ---------------------------------------------------------------------------
|
|
291
|
+
/**
|
|
292
|
+
* ClassificationSignal (ADR 0003 D1): a source-located, detector-
|
|
293
|
+
* versioned FACT a detector emits about one classification dimension.
|
|
294
|
+
* Signals carry a `basis`, never a confidence score; only
|
|
295
|
+
* `code-negative-closed-world` can ever suppress, and only over a
|
|
296
|
+
* complete scan.
|
|
297
|
+
*/
|
|
298
|
+
export { ClassificationSignalSchema, signalId, SignalTargetSchema, SignalDimensionSchema, SignalBasisSchema, SignalAssertionSchema, SIGNAL_DIMENSIONS } from './schemas/classification-signal.js';
|
|
299
|
+
/**
|
|
300
|
+
* ClassificationPolicy: the `classification-policy.yml` document —
|
|
301
|
+
* scan roots, trusted internal entry-point categories, organization
|
|
302
|
+
* internal rules (certificate inputs, never overrides), supported
|
|
303
|
+
* declaration syntax, and volatile fields.
|
|
304
|
+
*/
|
|
305
|
+
export { ClassificationPolicySchema, InternalEntryPointCategorySchema, InternalRuleSchema, InternalRuleMatchSchema, } from './schemas/classification-policy.js';
|
|
306
|
+
/**
|
|
307
|
+
* The deterministic conservative classifier (ADR 0003 D2):
|
|
308
|
+
* `classifyResources()` resolves signals into effective classifications
|
|
309
|
+
* or typed machine-actionable blocks; uncertainty adds obligations and
|
|
310
|
+
* never removes them.
|
|
311
|
+
*/
|
|
312
|
+
export { RULES, classifyResources, ClassifierBlockSchema, ClassifierBlockCodeSchema, CLASSIFIER_BLOCK_CODES, BLOCK_DIMENSIONS, ClassifierContradictionSchema, ClassificationDecisionTraceSchema, EffectiveClassificationSchema, compileGlob, globMatch, pathInScope, classifierBlocking, resourceRef, runClassification, } from './classifier/index.js';
|
|
313
|
+
// ---------------------------------------------------------------------------
|
|
314
|
+
// Policy engine (Phase 1) — declarative policies → obligations
|
|
315
|
+
// ---------------------------------------------------------------------------
|
|
316
|
+
/** The lifecycle-gated CRUD contract namespace (`crud:create`, …). */
|
|
317
|
+
export { CRUD_CONTRACT_PREFIX } from './policy/index.js';
|
|
318
|
+
/**
|
|
319
|
+
* Why a resource currently generates no obligations: `unclassified` or
|
|
320
|
+
* `unresolved` — gate-visible blocking entries (invariants 1, 8).
|
|
321
|
+
*/
|
|
322
|
+
export { BlockingEntrySchema } from './policy/index.js';
|
|
323
|
+
/**
|
|
324
|
+
* The adopted identity of a classification-blocked resource (two-layer
|
|
325
|
+
* adoption) — the canonical string `adopt` records and `check` matches.
|
|
326
|
+
*/
|
|
327
|
+
export { classificationBlockedIdentity } from './policy/index.js';
|
|
328
|
+
/** Assessment of one claim against the generated obligations. */
|
|
329
|
+
export { ClaimAssessmentSchema } from './policy/index.js';
|
|
330
|
+
/** The complete policy-engine result: obligations + blocking + claims. */
|
|
331
|
+
export { PolicyEvaluationResultSchema } from './policy/index.js';
|
|
332
|
+
/** Fail-closed policy-engine error (invalid policy document / contract). */
|
|
333
|
+
export { PolicyEvaluationError } from './policy/index.js';
|
|
334
|
+
/**
|
|
335
|
+
* Evaluates policies against a built graph: lifecycle-gated obligation
|
|
336
|
+
* generation (plan §5.2), no CRUD obligations for internal resources
|
|
337
|
+
* (ADR 0001), blocking entries for unclassified/unresolved resources,
|
|
338
|
+
* and claim assessment. Pure; deterministic.
|
|
339
|
+
*/
|
|
340
|
+
export { evaluatePolicies, lifecycleAllowsContract } from './policy/index.js';
|
|
341
|
+
/**
|
|
342
|
+
* Closed-world CRUD coverage evaluator (plan 2026-09-13 §3.6, ADR 0005
|
|
343
|
+
* D5): pure; returns typed blocking `CRUD_COVERAGE_MISSING` findings per
|
|
344
|
+
* uncovered/undispositioned required operation and CONFIG-ERROR results
|
|
345
|
+
* for policy tables absent from the caller-provided resource inventory.
|
|
346
|
+
*/
|
|
347
|
+
export { evaluateCoveragePolicy } from './policy/index.js';
|
|
348
|
+
/**
|
|
349
|
+
* Protected policy ownership foundation (plan 2026-09-13 Phase 0 item 5,
|
|
350
|
+
* ADR 0005 D6): the domain-separated trusted policy/config digest for
|
|
351
|
+
* later receipt binding, plus the pure weakening check — a candidate
|
|
352
|
+
* whose policy revision differs from the trusted one is a weakening
|
|
353
|
+
* candidate until a separate trusted update is accepted. Enforcement
|
|
354
|
+
* lands in Phases 4-5.
|
|
355
|
+
*/
|
|
356
|
+
export { TRUSTED_POLICY_DOMAIN, trustedPolicyDigest, policyWeakenedCandidate } from './policy/index.js';
|
|
357
|
+
// ---------------------------------------------------------------------------
|
|
358
|
+
// Verdict engine (Phase 2, pin #9) — the pure obligation evaluator
|
|
359
|
+
// ---------------------------------------------------------------------------
|
|
360
|
+
/**
|
|
361
|
+
* Evaluates ONE obligation against claims, records, waivers,
|
|
362
|
+
* classification, and the injected clock: pure `evaluateObligation(
|
|
363
|
+
* obligation, {claims, records, waivers, classification, now})`
|
|
364
|
+
* → `{verdict, reason, recordIds}` (pin #9). `satisfied` requires
|
|
365
|
+
* complete witnessed evidence (D2, GF-23); same-entity enforcement is
|
|
366
|
+
* column-keyed for composite identity (D3); expired waivers yield
|
|
367
|
+
* `invalid` (D4).
|
|
368
|
+
*/
|
|
369
|
+
export { evaluateObligation } from './verdict/index.js';
|
|
370
|
+
/**
|
|
371
|
+
* Batch wrapper: evaluates obligations against one context and returns
|
|
372
|
+
* report-ready entries (obligation + verdict + trustTier), sorted by
|
|
373
|
+
* obligation id.
|
|
374
|
+
*/
|
|
375
|
+
export { evaluateObligations } from './verdict/index.js';
|
|
376
|
+
/** The five gate-blocking verdicts (`satisfied`/`waived` are clean). */
|
|
377
|
+
export { BLOCKING_VERDICTS } from './verdict/index.js';
|
|
378
|
+
export { registerContractVerifier, verifierFor, registeredNamespaces, } from './verdict/index.js';
|
|
379
|
+
/**
|
|
380
|
+
* Verifier capability metadata (plan 2026-09-13 Phase 0 item 3, ADR
|
|
381
|
+
* 0005): the single source of truth for what each contract namespace can
|
|
382
|
+
* honestly prove, its required observer channel, supported test kinds,
|
|
383
|
+
* and availability. First-wins/no-override, like verifier registration.
|
|
384
|
+
*/
|
|
385
|
+
export { registerContractCapabilities, capabilityFor, allCapabilities, } from './verdict/index.js';
|
|
386
|
+
/**
|
|
387
|
+
* Cause mapping + strict preflight (plan 2026-09-13 §5.4 / Phase 0 item
|
|
388
|
+
* 4): derives stable cause codes and next actions for blocking verdicts,
|
|
389
|
+
* and computes the precise capability gaps a strict setup fails closed
|
|
390
|
+
* on (VERIFIER_UNSUPPORTED).
|
|
391
|
+
*/
|
|
392
|
+
export { causeForVerdict, capabilityGap, strictCapabilityGaps, } from './verdict/index.js';
|
|
393
|
+
/**
|
|
394
|
+
* Deterministic runtime route attribution (plan §9, D2): the single
|
|
395
|
+
* path interpretation plus the complete-inventory resolver the HTTP
|
|
396
|
+
* transport verifier grades against. No literal-precedence shortcut;
|
|
397
|
+
* ambiguity blocks.
|
|
398
|
+
*/
|
|
399
|
+
export { interpretObservedPath, resolveHttpRoute, pathMatchesShape } from './verdict/index.js';
|
|
400
|
+
/** Fail-closed verdict-engine error (malformed obligation / clock). */
|
|
401
|
+
export { GateforgeVerdictError } from './verdict/index.js';
|
|
402
|
+
/** Normalizes the injected clock (`Date | string`) to a `Date`. */
|
|
403
|
+
export { parseInstant } from './verdict/index.js';
|
|
404
|
+
// ---------------------------------------------------------------------------
|
|
405
|
+
// Test-mapping sidecar + resolver (plan 2026-09-13 §5.2/§5.3, Phase 3)
|
|
406
|
+
// ---------------------------------------------------------------------------
|
|
407
|
+
/**
|
|
408
|
+
* TestMap (plan 2026-09-13 §5.3): the versioned `.gateforge/test-map.yml`
|
|
409
|
+
* sidecar an agent (or `tests mark`) writes to connect an EXISTING test
|
|
410
|
+
* to obligations without rewriting a test body. Claims non-empty, kind a
|
|
411
|
+
* supported TestKind, reason required, duplicate keys rejected naming
|
|
412
|
+
* both entries; `'*'` wildcards never parse (not obligation ids).
|
|
413
|
+
*/
|
|
414
|
+
export { TestMapSchema, TestMapEntrySchema, TestSelectorSchema } from './schemas/test-map.js';
|
|
415
|
+
/**
|
|
416
|
+
* The ONE mapping resolver (plan §5.3, Phase 3): normalizes native
|
|
417
|
+
* claims, sidecar declarations, prior-run hints, and inference into one
|
|
418
|
+
* resolved surface. Deterministic; contradictions/staleness become typed
|
|
419
|
+
* problems naming both locations; inference never auto-writes a mapping;
|
|
420
|
+
* projections into grading claims carry intent only — no evidence — so a
|
|
421
|
+
* mapped-but-unexecuted obligation still blocks.
|
|
422
|
+
*/
|
|
423
|
+
export { resolveTestMappings, mappingSuggestions, mappingGradingClaims, } from './mapping/resolve.js';
|
|
424
|
+
/**
|
|
425
|
+
* Execution result (plan 2026-09-13 §5.1, ADR 0005 D2, Phase 4): the
|
|
426
|
+
* trusted supervisor's sealed run record — planned versus executed
|
|
427
|
+
* instances, outcomes/attempts, runner exit, fixture/teardown outcome,
|
|
428
|
+
* shard completeness, selection + catalog digests, engines, and
|
|
429
|
+
* environment identity — plus the domain-separated selection digest.
|
|
430
|
+
* Reporter data is input here, never signature authority.
|
|
431
|
+
*/
|
|
432
|
+
export { EXECUTION_RESULT_DOMAIN, SELECTION_DOMAIN, ExecutionResultSchema, PlannedInstanceSchema, ExecutedOutcomeSchema, InstanceStatusSchema, SupervisionFindingSchema, TracedSessionSchema, TracedTestSchema, executionResultDigestOf, selectionDigestOf, } from './schemas/execution-result.js';
|
|
433
|
+
/**
|
|
434
|
+
* Gate receipt (plan 2026-09-13 §5.1, ADR 0005 D3, Phase 4): the NEW
|
|
435
|
+
* versioned, domain-separated envelope issued only after complete run
|
|
436
|
+
* success and evidence grading. Signed by the same authority as witness
|
|
437
|
+
* records (the verifier key, HMAC over GF-canonical JSON, domain
|
|
438
|
+
* `gateforge.receipt.v1`) — never a repurposed v2 attestation.
|
|
439
|
+
*/
|
|
440
|
+
export { RECEIPT_DOMAIN, RECEIPT_VERSION, gateReceiptMac, verifyGateReceipt, } from './receipt/index.js';
|
|
441
|
+
export { GateReceiptSchema, ReceiptVerdictSummarySchema, ReceiptScopeSchema } from './schemas/gate-receipt.js';
|
|
442
|
+
/**
|
|
443
|
+
* Trusted runner supervision (plan Phase 4 item 4, ADR 0005 D2): the
|
|
444
|
+
* pure expected-set enforcement — planned versus executed instances,
|
|
445
|
+
* retries, skips/only/fixme, expected failures, teardown errors, shards,
|
|
446
|
+
* and runner exit, each a typed §5.4 run cause. Any finding fails the
|
|
447
|
+
* whole run; there is no selective pass out of a failed required suite.
|
|
448
|
+
*/
|
|
449
|
+
export { superviseExecution, enumerationDigestOf, ENUMERATION_DOMAIN } from './supervision/index.js';
|
|
450
|
+
// ---------------------------------------------------------------------------
|
|
451
|
+
// Waivers (GF-15/16/17) — fail-closed directory loading
|
|
452
|
+
// ---------------------------------------------------------------------------
|
|
453
|
+
/**
|
|
454
|
+
* Loads and validates every `*.json` waiver file in a directory against
|
|
455
|
+
* the injected clock: all five fields mandatory (GF-15), expiry judged
|
|
456
|
+
* by `now` (GF-16), optional stale-owner hook (GF-17). Synchronous.
|
|
457
|
+
*/
|
|
458
|
+
export { loadWaivers } from './waivers/index.js';
|
|
459
|
+
/**
|
|
460
|
+
* Waiver writers (the `waive` CLI's storage path): `serializeWaiver`
|
|
461
|
+
* renders the reviewable 2-space-JSON + trailing-newline house style,
|
|
462
|
+
* `writeWaiver` writes it creating parent directories as needed.
|
|
463
|
+
* The only sanctioned programmatic waiver write — renewal/removal stays
|
|
464
|
+
* a hand-edit (there is deliberately no overwrite).
|
|
465
|
+
*/
|
|
466
|
+
export { serializeWaiver, writeWaiver } from './waivers/index.js';
|
|
467
|
+
/** Fail-closed waiver-configuration error; carries every problem found. */
|
|
468
|
+
export { GateforgeWaiverError } from './waivers/index.js';
|
|
469
|
+
// ---------------------------------------------------------------------------
|
|
470
|
+
// Baselines (GF-07/08) — strict-subset update semantics (invariant 4)
|
|
471
|
+
// ---------------------------------------------------------------------------
|
|
472
|
+
/** Loads and validates `.gateforge/baselines/obligations.json` (pin #3). */
|
|
473
|
+
export { loadBaseline } from './baselines/index.js';
|
|
474
|
+
/**
|
|
475
|
+
* Whether a baseline update is a strict subset (invariant 4): only
|
|
476
|
+
* removals allowed — `[A, B] → [A, NEW]` fails (GF-07), `[A, B] → [A]`
|
|
477
|
+
* passes (GF-08).
|
|
478
|
+
*/
|
|
479
|
+
export { canUpdate } from './baselines/index.js';
|
|
480
|
+
/** Builds the next baseline, enforcing the strict-subset rule. */
|
|
481
|
+
export { updateBaseline } from './baselines/index.js';
|
|
482
|
+
/** Serializes a baseline to reviewable 2-space JSON with newline. */
|
|
483
|
+
export { serializeBaseline } from './baselines/index.js';
|
|
484
|
+
/** Writes a baseline, creating parent directories as needed. */
|
|
485
|
+
export { writeBaseline } from './baselines/index.js';
|
|
486
|
+
/** Fail-closed baseline error (load, validation, or update rejection). */
|
|
487
|
+
export { GateforgeBaselineError } from './baselines/index.js';
|
|
488
|
+
/**
|
|
489
|
+
* THE ONE SANCTIONED BULK-ADD (phase 8 workstream C): builds the
|
|
490
|
+
* adoption baseline without the subset check — `gateforge adopt` is the
|
|
491
|
+
* only caller; `updateBaseline` stays shrink-only (GF-07/08 unchanged).
|
|
492
|
+
*/
|
|
493
|
+
export { adoptBaseline } from './baselines/index.js';
|
|
494
|
+
/** The adoption record (phase 8 C): the loud, one-time bulk-add receipt. */
|
|
495
|
+
export { AdoptionRecordSchema, ClassificationBlockedIdsSchema } from './schemas/adoption.js';
|
|
496
|
+
/** Loads `.gateforge/baselines/adoption.json` (null = pre-adoption). */
|
|
497
|
+
export { loadAdoptionRecord, ADOPTION_RECORD_FILENAME } from './baselines/adoption.js';
|
|
498
|
+
/** Writes the adoption record, creating parent directories as needed. */
|
|
499
|
+
export { writeAdoptionRecord } from './baselines/adoption.js';
|
|
500
|
+
/**
|
|
501
|
+
* The classification layer of the adoption (two-layer adoption):
|
|
502
|
+
* `adoptClassificationBlocked` normalizes the captured ids for the
|
|
503
|
+
* receipt; `shrinkClassificationBlocked` is the set's ONLY post-adoption
|
|
504
|
+
* mutation — strict-subset, shrink-only (GF-07/08 mirrored).
|
|
505
|
+
*/
|
|
506
|
+
export { adoptClassificationBlocked, shrinkClassificationBlocked } from './baselines/adoption.js';
|
|
507
|
+
// ---------------------------------------------------------------------------
|
|
508
|
+
// Reports (contract 4, pin #10) — canonical JSON / SARIF 2.1.0 / text
|
|
509
|
+
// ---------------------------------------------------------------------------
|
|
510
|
+
/**
|
|
511
|
+
* Renders per-obligation verdicts: `json` (GF-canonical JSON),
|
|
512
|
+
* `sarif` (SARIF 2.1.0 projection, pin #10), or `text` (the
|
|
513
|
+
* invariant-8 detector → policy → obligation → evidence-gap trace plus
|
|
514
|
+
* waiver counts). Deterministic; identical inputs serialize identically.
|
|
515
|
+
*/
|
|
516
|
+
export { renderRun } from './report/index.js';
|
|
517
|
+
/** Exit codes (contract 4): 0 clean/waived, 1 unresolved, 2 config. */
|
|
518
|
+
export { runExitCode } from './report/index.js';
|
|
519
|
+
// ---------------------------------------------------------------------------
|
|
520
|
+
// Fixture harness (G7) — deterministic temp repos, injected clock/env,
|
|
521
|
+
// gate-runner pipeline, GF-19 malformed-source rule, red-probe discipline
|
|
522
|
+
// ---------------------------------------------------------------------------
|
|
523
|
+
/**
|
|
524
|
+
* Temporary git repository under the OS tmpdir with pinned
|
|
525
|
+
* author/committer identity and dates: identical file-tree specs yield
|
|
526
|
+
* identical commit SHAs. `withTempRepo` wraps a fixture body with
|
|
527
|
+
* guaranteed cleanup.
|
|
528
|
+
*/
|
|
529
|
+
export { FIXED_GIT_DATE, TempRepo, withTempRepo } from './testing/index.js';
|
|
530
|
+
/**
|
|
531
|
+
* Injected clocks: `{fixedAt}` constant, `{sequence}` ordered instants
|
|
532
|
+
* (exhaustion throws — no silent repetition), or `{startAt, stepMs}`
|
|
533
|
+
* stepping. `now()` always returns canonical ISO-8601.
|
|
534
|
+
*/
|
|
535
|
+
export { makeClock, toIso } from './testing/index.js';
|
|
536
|
+
/**
|
|
537
|
+
* Injected environment (`withEnv`) and changed-file provider stubs:
|
|
538
|
+
* `fakeProvider` impersonates any provider identity from an explicit
|
|
539
|
+
* list; `localStagedProvider` reads a temp repo's real index — the two
|
|
540
|
+
* halves of GF-09 parity.
|
|
541
|
+
*/
|
|
542
|
+
export { fakeProvider, localStagedProvider, normalizeChangedFiles, withEnv, } from './testing/index.js';
|
|
543
|
+
/**
|
|
544
|
+
* The GF-19 rule: malformed source ⇒ guaranteed `PARSE_ERROR` finding
|
|
545
|
+
* with a line number, no crash, no silent resources. `stubDetector` is
|
|
546
|
+
* the in-process toy-parser detector fixtures use; G5 reuses the rule
|
|
547
|
+
* with its real detector audit.
|
|
548
|
+
*/
|
|
549
|
+
export { PARSE_ERROR_FINDING, applyParseErrorRule, hasParseErrors, stubDetector, } from './testing/index.js';
|
|
550
|
+
/**
|
|
551
|
+
* Gate-runner helper: discover → obligations → evaluate over a temp repo
|
|
552
|
+
* with injected clock/env/provider and a pin-#9 evaluator (fixtures use
|
|
553
|
+
* a local double; the real verdict engine conforms structurally).
|
|
554
|
+
*/
|
|
555
|
+
export { runGates } from './testing/index.js';
|
|
556
|
+
/**
|
|
557
|
+
* RED-PROBE discipline: run the same guard against correct and
|
|
558
|
+
* deliberately-broken behavior; a broken probe that passes is a fake
|
|
559
|
+
* green and fails loudly. Suite-level proof spawns vitest twice
|
|
560
|
+
* (`spawnVitest` + `writeProbeSuite`); see docs/testing/RED_PROBE.md.
|
|
561
|
+
*/
|
|
562
|
+
export { RedProbeFailure, RedProbeSuiteError, cleanupProbeSuite, formatProbeRecords, runRedProbe, runRedProbes, spawnVitest, writeProbeRecords, writeProbeSuite, } from './testing/index.js';
|
|
563
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAWH;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD;;;;GAIG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD;;;GAGG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,8EAA8E;AAC9E,qCAAqC;AACrC,8EAA8E;AAE9E;;;;;GAKG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,iBAAiB,CAAC;AAElE;;;;GAIG;AACH,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzE;;;;;;GAMG;AACH,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE7D;;;;;;;;GAQG;AACH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,GAErB,MAAM,iBAAiB,CAAC;AAEzB,8EAA8E;AAC9E,4BAA4B;AAC5B,8EAA8E;AAE9E;;;GAGG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,8EAA8E;AAC9E,6BAA6B;AAC7B,8EAA8E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