@gate-forge/cli 0.11.1 → 0.12.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 (57) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +1 -0
  3. package/dist/args.d.ts.map +1 -1
  4. package/dist/args.js +1 -0
  5. package/dist/args.js.map +1 -1
  6. package/dist/business-rules.d.ts +223 -0
  7. package/dist/business-rules.d.ts.map +1 -0
  8. package/dist/business-rules.js +383 -0
  9. package/dist/business-rules.js.map +1 -0
  10. package/dist/commands/check.d.ts.map +1 -1
  11. package/dist/commands/check.js +96 -18
  12. package/dist/commands/check.js.map +1 -1
  13. package/dist/commands/enforcement.d.ts.map +1 -1
  14. package/dist/commands/enforcement.js +5 -11
  15. package/dist/commands/enforcement.js.map +1 -1
  16. package/dist/commands/init.d.ts +3 -1
  17. package/dist/commands/init.d.ts.map +1 -1
  18. package/dist/commands/init.js +39 -3
  19. package/dist/commands/init.js.map +1 -1
  20. package/dist/commands/next.d.ts.map +1 -1
  21. package/dist/commands/next.js +55 -1
  22. package/dist/commands/next.js.map +1 -1
  23. package/dist/commands/pre-commit.d.ts.map +1 -1
  24. package/dist/commands/pre-commit.js +5 -8
  25. package/dist/commands/pre-commit.js.map +1 -1
  26. package/dist/commands/test-gates.d.ts.map +1 -1
  27. package/dist/commands/test-gates.js +62 -5
  28. package/dist/commands/test-gates.js.map +1 -1
  29. package/dist/commands/tests.d.ts +1 -1
  30. package/dist/commands/tests.d.ts.map +1 -1
  31. package/dist/commands/tests.js +101 -11
  32. package/dist/commands/tests.js.map +1 -1
  33. package/dist/evaluate.d.ts +16 -0
  34. package/dist/evaluate.d.ts.map +1 -1
  35. package/dist/evaluate.js +26 -2
  36. package/dist/evaluate.js.map +1 -1
  37. package/dist/execution.d.ts.map +1 -1
  38. package/dist/execution.js +10 -2
  39. package/dist/execution.js.map +1 -1
  40. package/dist/input-snapshot.d.ts.map +1 -1
  41. package/dist/input-snapshot.js +17 -7
  42. package/dist/input-snapshot.js.map +1 -1
  43. package/dist/mapping.d.ts +10 -1
  44. package/dist/mapping.d.ts.map +1 -1
  45. package/dist/mapping.js +5 -0
  46. package/dist/mapping.js.map +1 -1
  47. package/dist/pipeline.d.ts +9 -1
  48. package/dist/pipeline.d.ts.map +1 -1
  49. package/dist/pipeline.js +1 -0
  50. package/dist/pipeline.js.map +1 -1
  51. package/dist/staged-candidate.d.ts +1 -36
  52. package/dist/staged-candidate.d.ts.map +1 -1
  53. package/dist/staged-candidate.js +0 -47
  54. package/dist/staged-candidate.js.map +1 -1
  55. package/guides/QUICKSTART.md +20 -7
  56. package/guides/REFERENCE.md +62 -0
  57. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Added
6
+
7
+ - **Owner-declared business rules, test-type agnostic (0.12.0).** The owner writes the
8
+ product's rules down in the `rules:` section of `.gateforge/classification-policy.yml`
9
+ (`gateforge init --rules` adds a commented example; a repository without the section is
10
+ byte-identical to a release without the feature). Each rule names the test type that must
11
+ prove it — `e2e` (default) or `pytest` — and splits into CASES (the observable
12
+ consequences; a rule without `cases:` has one implicit `default`). A case is mapped by the
13
+ claim id `business-rule:<ruleId>/<caseId>` through the ONE mapping resolver
14
+ (`tests mark --rule <ruleId>/<caseId> …`): staleness, ambiguity, quarantine and
15
+ inferred-only behave exactly as for obligations, and rule bindings never enter any
16
+ obligation set, graded obligation array or receipt coverage list. A declaration is never
17
+ proof: the case is graded by a pure evaluator over the sealed run's own facts — `e2e`
18
+ requires the mapped test to have run, passed, and carry witness evidence attributable to
19
+ its own session (engine `ui.action` anchor, or a witnessed `http.request` exchange of the
20
+ session for `observed-e2e`); `pytest` requires the witnessed suite of the sealed run. Every
21
+ mapped test of a case must deliver the proof (a green sibling never forgives a red one), a
22
+ mocked spec never proves an end-to-end rule, a test outside the run's graded slice is
23
+ reported `unproven` — never satisfied, never silently absent — and rule findings are
24
+ run-wide, never diff-scoped away. `enforcement: advisory` (requires `advisoryReason`) rides
25
+ the report's existing advisory channel every run, out of `blocking` and out of the exit
26
+ code. The gate surfaces: `check` blocks (or advises) per case; `check --require-e2e` and
27
+ `test-gates` grade from the sealed receipt's authorized records; the json report carries an
28
+ additive `businessRules` section naming every graded case with its status and proof
29
+ channel; `gateforge next` ranks the four rule causes with the coverage band and prints, per
30
+ missing case, a starter test (the type table picks the Playwright-fixture or witnessed-
31
+ pytest template) plus the exact `tests mark --rule` line. An unknown `subject` is a
32
+ configuration error (exit 2).
33
+
34
+ ### Fixed
35
+
36
+ - **A fresh adoption can push again: an empty optional config directory is digested exactly like an absent one.** `gateforge init` creates EMPTY `.gateforge/adapters/` and `.gateforge/waivers/`, and Git cannot carry an empty directory — so the committed tree has neither, while the live worktree has both. The trusted-policy digest entry list and the input snapshot each gave the two shapes DIFFERENT absence markers (`(no .mjs adapters)` vs `(missing adapters dir)`, `absent:<dir>/(empty)` vs `absent:<waiversDir>/(missing waivers dir)`), so the pin an owner minted over their adoption commit (`enforcement pin`) was a digest the pre-push/CI candidate-commit gate never computed for that very commit: every push blocked `ENFORCEMENT_UNTRUSTED`, and re-pinning could not converge. Both surfaces now emit ONE absence marker per optional directory (nested empty directories are invisible, exactly as Git sees them), which also retires the worktree-shaping of materialized candidate checkouts (`mirrorEmptyConfigDirs` is gone — the bytes of the tree under test are the whole story). A repository with a missing directory, or with tracked adapter/waiver files, keeps today's digest byte-for-byte; only a repository that pinned over empty directories re-pins once, and from then on every surface agrees.
3
37
 
4
38
 
5
39
  ## 0.11.1
package/README.md CHANGED
@@ -4,6 +4,7 @@ The gateforge command-line interface: initialize a project, discover
4
4
  resources and classification signals, inspect automatic decisions, reuse a
5
5
  repository's existing tests, evaluate obligations, run the supervised E2E
6
6
  gate, enforce the exact staged candidate, and maintain baselines.
7
+ **0.12.0:** owner-declared business rules, test-type agnostic. The owner writes the product's rules down in the `rules:` section of `.gateforge/classification-policy.yml` (`gateforge init --rules` adds a commented example; a repository without the section is byte-identical to a release without the feature). Each rule names the test type that must prove it — `e2e` (default) or `pytest` — and splits into CASES mapped by the claim id `business-rule:<ruleId>/<caseId>` through the ONE mapping resolver (`tests mark --rule <ruleId>/<caseId> …`). A declaration is never proof: the case is graded by a pure evaluator over the sealed run's own facts, every mapped test of a case must deliver the proof (a green sibling never forgives a red one), a mocked spec never proves an end-to-end rule, a test outside the run's graded slice is reported `unproven`, and rule findings are run-wide, never diff-scoped away. `enforcement: advisory` (requires `advisoryReason`) rides the report's advisory channel every run, out of `blocking` and out of the exit code. `check` blocks (or advises) per case, `check --require-e2e` and `test-gates` grade from the sealed receipt's authorized records, the json report carries an additive `businessRules` section, and `gateforge next` prints a starter test plus the exact `tests mark --rule` line per missing case. Fixed: an empty optional config directory is digested exactly like an absent one, so the pin an owner minted over their adoption commit is the digest every gate computes and a fresh adoption can push again.
7
8
  **0.11.1:** Gateforge's own `check` cache is excluded from candidate trees, so a concurrent check cannot alter a run using a non-default `test-gates --out` directory. No other ignored or run-state files are excluded.
8
9
  **0.11.0:** one owner answer per fact. The four owner-answer FILES become SECTIONS of the two documents that already exist: `.gateforge/planes.json` and `.gateforge/endpoints.json` are now the `planes:` and `endpoints:` sections of `.gateforge/classification-policy.yml`, `.gateforge/http-clients.json` and `.gateforge/fastapi.json` are `.gateforge.yml` `scan.httpClients` and `scan.fastapi`, and the four scanner settings moved out of the answers document into a REQUIRED `scan:` block. There is no dual read — a repository still carrying one of the old files is refused BY NAME, with the command that moves it and its new home. `gateforge migrate` previews by default and applies with `--confirm`, one step per moved document, splicing at TEXT level so every comment survives, and validating every old value with the reader that will read it after the move. The hard-vs-archive answer keeps BOTH channels because they answer different questions: a declared `crud-delete`/`crud-archive` in the `endpoints:` section needs no linked model at all — a DELETE route that links no resource (a link-row teardown, a draft discard) cannot be expressed in `deleteRules`, whose globs name a resource's source file — while `deleteRules` answer for every route of one resource in a single line, and a DELETE with neither stays `ENDPOINT_SEMANTICS_UNRESOLVED` rather than being resolved by a word in a handler name. A diff-scoped report's `[NEW_DEBT]` entry no longer blocks a commit while saying there is nothing to prove — with no newly-unproven obligations it now names the cause it is actually reporting (a sealed receipt whose evidence-context `inputDigest` the change invalidated, typically) and the re-seal command. Upgrading: upgrade first, re-seal, commit both together.
9
10
  **0.10.4:** `enforcement.adoptedDebt` (default `lenient`) decides how ADOPTED debt is treated under `strictE2E` after the adoption commit. With `lenient`, a change set that carries no product behaviour at all — tests, the mapping sidecar, runner configuration, no discovered resource's source — keeps the adopted baseline's forgiveness and is demanded only the coverage of the obligations it newly claims, so the first test-adding commit after `gateforge adopt` commits through the hook instead of re-grading every adopted obligation blocking. `strict` keeps the 0.10.3 behaviour exactly. Both values still require the owner pin to be enforced, still grade a newly claimed obligation on its own evidence, and still re-grade the moment a product source is in the change; the key lives in `.gateforge.yml`, so it is inside the approved policy digest.
@@ -1 +1 @@
1
- {"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,CAAC;IACrD,+CAA+C;IAC/C,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAqCD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,CAoD7D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAS7F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,IAAI,EAAE,MAAM,GACX,MAAM,EAAE,GAAG,SAAS,CAMtB"}
1
+ {"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,CAAC;IACrD,+CAA+C;IAC/C,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAsCD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,UAAU,CAoD7D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAS7F;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,IAAI,EAAE,MAAM,GACX,MAAM,EAAE,GAAG,SAAS,CAMtB"}
package/dist/args.js CHANGED
@@ -27,6 +27,7 @@ const BOOLEAN_FLAGS = {
27
27
  'no-ci': true,
28
28
  planes: true,
29
29
  'no-planes': true,
30
+ rules: true,
30
31
  behavior: true,
31
32
  'no-behavior': true,
32
33
  'accept-recommended': true,
package/dist/args.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AASzC,iDAAiD;AACjD,MAAM,aAAa,GAAyB;IAC1C,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;IACb,wBAAwB,EAAE,IAAI;IAC9B,0BAA0B,EAAE,IAAI;IAChC,QAAQ,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-10-05 §5 D3/D4/D5, WP4).
4
+ *
5
+ * One module owns every fact a rule needs, because the three consumers
6
+ * — `check`, `next` and `tests mark`/`explain` — must never disagree
7
+ * about what a case is worth:
8
+ *
9
+ * - the OWNER rules come from the owner-answers document, which the
10
+ * pipeline already read (never a second read of the same file);
11
+ * - the CLAIM IDS come from the cases those rules declare, and are what
12
+ * the one mapping resolver validates a `business-rule:` claim against;
13
+ * - the RUN FACTS come from a SEALED execution result plus the sealed
14
+ * records and the owner's WITNESSED suite declarations. A run with no
15
+ * sealed execution result passes `null`, and `null` grades everything
16
+ * mapped as `unproven` — a declaration is never proof.
17
+ *
18
+ * Two invariants this module exists to hold:
19
+ * - **run-wide.** Rule grading reads the FULL rule list and the FULL
20
+ * rule bindings, never the changed-file selection, so a `--scope
21
+ * changed` run cannot scope a rule away. A case whose test sits
22
+ * outside that run's graded slice is reported as `unproven (outside
23
+ * this run's graded slice)` — visible, not absent, and never
24
+ * satisfied by a receipt that never covered it.
25
+ * - **advisory never hides.** `enforcement: advisory` routes a case's
26
+ * finding into the report's existing `advisories` channel; only
27
+ * `enforcement: block` findings reach `blocking` and the exit code.
28
+ * Both channels carry the same typed cause, and the channel is decided
29
+ * by the OWNER's declaration on the rule, never by a new severity.
30
+ */
31
+ import { type BlockingEntry, type BusinessRule, type BusinessRuleBinding, type BusinessRuleCaseResult, type BusinessRuleEvaluation, type BusinessRuleRunFacts, type ExecutionResult, type GateforgeConfig, type ResourceGraph, type TestCatalog } from '@gate-forge/core';
32
+ /** Every rule-case claim id this rule list declares, sorted. */
33
+ export declare function businessRuleClaimIds(rules: readonly BusinessRule[]): string[];
34
+ /** The runner each catalog row executes under, keyed by logical key. */
35
+ export declare function catalogRunnerIndex(catalog: TestCatalog): Map<string, string>;
36
+ /**
37
+ * The logical test keys whose FILE the catalog observed intercepting the
38
+ * system under test. A mocked spec can never satisfy a rule: it proves
39
+ * the mock, not the rule (plan invariant 6).
40
+ */
41
+ export declare function mockedTestKeys(catalog: TestCatalog): Set<string>;
42
+ /**
43
+ * The resolver's rule bindings projected onto the evaluator's binding
44
+ * shape. Pure; the resolver has already dropped quarantined, stale and
45
+ * wildcard-rejected declarations, and the evaluator independently
46
+ * refuses anything but `native`/`sidecar` origins.
47
+ *
48
+ * A binding whose selector bound no catalog instance contributes no
49
+ * runner, which the evaluator reads as "not an accepted kind" rather
50
+ * than guessing one: a declaration with no resolvable instance is not
51
+ * proof of anything.
52
+ */
53
+ export declare function businessRuleBindingsOf(ruleBindings: readonly {
54
+ claimId: string;
55
+ bindings: readonly ResolvedRuleBinding[];
56
+ }[], runners: ReadonlyMap<string, string>, mockedKeys: ReadonlySet<string>): Map<string, readonly BusinessRuleBinding[]>;
57
+ /** The resolver binding shape this projection reads (narrow on purpose). */
58
+ interface ResolvedRuleBinding {
59
+ logicalKey: string;
60
+ origin: 'native' | 'sidecar' | 'inferred' | 'prior-run';
61
+ declaredKind: string | null;
62
+ reason: string | null;
63
+ instances: readonly {
64
+ runner: string;
65
+ file: string;
66
+ }[];
67
+ }
68
+ /**
69
+ * Reads the OWNER's declared `witnessed` diagnostic suites as the set of
70
+ * runner names whose proof this repository can produce. A suite the
71
+ * owner did not mark witnessed contributes nothing: the pytest row of
72
+ * the type table requires one, and an unwitnessed suite is not proof
73
+ * (owner decision, 2026-10-04).
74
+ */
75
+ export declare function witnessedRunnersOf(config: GateforgeConfig): Set<string>;
76
+ /** The sealed facts one run makes available, or null when no run exists. */
77
+ export interface BusinessRuleFactsInput {
78
+ /** The sealed execution result, or null for a static `check` run. */
79
+ result: ExecutionResult | null;
80
+ /**
81
+ * The run's authorized evidence records, exactly as `evaluateRun`
82
+ * returned them (`unknown[]`: authorization is established, shape is
83
+ * not). Validated here against the record schema; a record that does
84
+ * not parse contributes no proof.
85
+ */
86
+ records: readonly unknown[];
87
+ /** Runners whose suite the owner declared witnessed. */
88
+ witnessedRunners: ReadonlySet<string>;
89
+ /** The receipt's evaluation scope. */
90
+ scope: 'full' | 'changed';
91
+ /** True for the engine-owned docs-only slice (zero records by construction). */
92
+ docsOnly: boolean;
93
+ /** The run's catalog, for the runner each key executes under. */
94
+ catalog: TestCatalog;
95
+ }
96
+ /**
97
+ * Builds the evaluator's run facts from a SEALED execution result.
98
+ *
99
+ * Args:
100
+ * input: the sealed execution result (null when none exists), the
101
+ * sealed records, the witnessed runners, the receipt's scope, and the
102
+ * run's catalog.
103
+ *
104
+ * Returns:
105
+ * BusinessRuleRunFacts | null: the facts, or null for no sealed run —
106
+ * which is what makes a static `check` grade everything mapped as
107
+ * `unproven` instead of quietly satisfied.
108
+ */
109
+ export declare function businessRuleRunFacts(input: BusinessRuleFactsInput): BusinessRuleRunFacts | null;
110
+ /** Everything one rule-grading pass needs beyond the pipeline's own output. */
111
+ export interface BusinessRuleGradingInput {
112
+ /** The owner's declared rules (empty = the feature is off). */
113
+ rules: readonly BusinessRule[];
114
+ /** The one resolver's rule bindings for this run. */
115
+ ruleBindings: readonly {
116
+ claimId: string;
117
+ bindings: readonly ResolvedRuleBinding[];
118
+ }[];
119
+ /** The run's resource inventory (validates `subject`). */
120
+ inventory: readonly string[];
121
+ /** The sealed run's facts, or null when no sealed run exists. */
122
+ runFacts: BusinessRuleRunFacts | null;
123
+ /** The run's catalog (runner identity and observed mocking). */
124
+ catalog: TestCatalog;
125
+ }
126
+ /**
127
+ * Grades every declared rule case for one run.
128
+ *
129
+ * Args:
130
+ * input: rules, rule bindings, the inventory, the sealed facts and the
131
+ * catalog.
132
+ *
133
+ * Returns:
134
+ * BusinessRuleEvaluation: config errors plus every case result, sorted
135
+ * by rule id then case id.
136
+ *
137
+ * Throws:
138
+ * UsageError: when a rule names a `subject` the inventory cannot see
139
+ * (exit 2 — a silently uncheckable name is a configuration error, the
140
+ * same posture as an unknown coverage table).
141
+ */
142
+ export declare function gradeBusinessRules(input: BusinessRuleGradingInput): BusinessRuleEvaluation;
143
+ /**
144
+ * Splits a graded evaluation into the report's TWO channels.
145
+ *
146
+ * `enforcement: advisory` is decided by the OWNER's declaration on the
147
+ * rule, not by how bad the case looks: an advisory rule's findings are
148
+ * printed and serialized every run and only stay out of `blocking` and
149
+ * the exit code (plan invariant 7). The codes are identical in both
150
+ * channels, so a reader tells an advisory finding from a blocking one by
151
+ * where it is, never by a new severity.
152
+ */
153
+ export declare function partitionBusinessRuleEntries(rules: readonly BusinessRule[], cases: readonly BusinessRuleCaseResult[]): {
154
+ blocking: BlockingEntry[];
155
+ advisories: BlockingEntry[];
156
+ };
157
+ /**
158
+ * The resource names one run's inventory offers as a rule `subject`.
159
+ * Ranking and display only — a subject is never proof, and a rule
160
+ * without one is graded regardless of this list.
161
+ */
162
+ export declare function businessRuleInventory(graph: ResourceGraph): string[];
163
+ /** One serialized rule case in a report's additive `businessRules` section. */
164
+ export interface BusinessRuleReportEntry {
165
+ /** The rule the case belongs to. */
166
+ ruleId: string;
167
+ /** The case id (unique within the rule). */
168
+ caseId: string;
169
+ /** The rule's declared proof type (`e2e`, `pytest`, ...). */
170
+ test: string;
171
+ /** The rule's enforcement (`block` | `advisory`). */
172
+ enforcement: string;
173
+ /** `unmapped` | `wrong-type` | `unproven` | `failing` | `satisfied`. */
174
+ status: string;
175
+ /** The channel that proved a satisfied case (`engine`, `observe`, `execution`), else null. */
176
+ channel: string | null;
177
+ /** The gradeable mapped tests of the case, sorted. */
178
+ mappedTests: readonly string[];
179
+ /** The typed finding, null exactly when satisfied. */
180
+ finding: {
181
+ cause: string;
182
+ detail: string;
183
+ nextAction: string;
184
+ tests: readonly string[];
185
+ } | null;
186
+ }
187
+ /**
188
+ * Serializes every graded rule case for the report's `businessRules`
189
+ * section (plan §7.5, invariant 6): a SATISFIED case must be visible
190
+ * naming the channel that proved it — "satisfied" read as "the rule
191
+ * holds" is exactly the overclaim the channel naming exists to prevent —
192
+ * and a demoted (advisory) case appears here beside its advisory-channel
193
+ * entry, so the section is the one place that lists EVERY case with its
194
+ * status. The section rides the json document only when rules are
195
+ * declared, so a repository without the feature keeps its exact report.
196
+ *
197
+ * Args:
198
+ * rules: the owner's declared rules (status and channel context).
199
+ * cases: the graded case results, sorted by rule id then case id.
200
+ *
201
+ * Returns:
202
+ * BusinessRuleReportEntry[]: the serialized cases, input order.
203
+ */
204
+ export declare function businessRuleReportEntries(rules: readonly BusinessRule[], cases: readonly BusinessRuleCaseResult[]): BusinessRuleReportEntry[];
205
+ /**
206
+ * The `next` guidance for the run's rule findings (plan D6, §7.2): one
207
+ * block per graded case that carries a finding — the rule title, the
208
+ * case describe, the declared proof type — and, for a case with NO
209
+ * mapped test, the printed starter test (the type table's `starter`
210
+ * field picks the template: a Playwright test on the Gateforge fixture
211
+ * for `e2e`, a pytest function for `pytest`) plus the exact
212
+ * `tests mark --rule` line that maps it once written. A case that IS
213
+ * mapped gets the finding statement only: its gap is proof, not a
214
+ * missing declaration, and inventing a second mark line would steer the
215
+ * owner to map a duplicate instead of running the gate.
216
+ *
217
+ * Pure text; `next` prints these lines for EVERY finding case (§7.2:
218
+ * two starter tests and two mark lines for a two-case rule), not only
219
+ * for the top-ranked candidate.
220
+ */
221
+ export declare function businessRuleGuidanceLines(rules: readonly BusinessRule[], cases: readonly BusinessRuleCaseResult[]): string[];
222
+ export {};
223
+ //# sourceMappingURL=business-rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"business-rules.d.ts","sourceRoot":"","sources":["../src/business-rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EAGzB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAG1B,gEAAgE;AAChE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,MAAM,EAAE,CAK7E;AAED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