Skip to content

Commit a3c0df8

Browse files
hyperpolymathclaude
andcommitted
docs: qualify external repo paths to clear structural_drift (SD022)
Hypatia structural_drift flagged `src/idris2/` and `src/aggregate/` in the trope-integration design as dangling references "surviving a directory rename". Both are deliberately *external*: the trope-checker repo's Idris2 core and the panic-attack repo's aggregate module. Reword as unambiguously external (drop the bare `src/<dir>/` form) so the heuristic no longer reads them as internal error-lang tree paths. No substantive content change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0195yA45jSSP7YDPwJSpw4bM
1 parent 52f57e0 commit a3c0df8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/Trope-Particularity-Integration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Two further alignments make the fit unusually tight:
5555
`echo_input`, `echo_output` implement witness-retention and irreversible erasure
5656
— which the calculus names `preserve`, `detach`, and field `project` (§5).
5757
* **The verification toolchains already overlap.** The trope-checker's core is an
58-
Agda reference plus an Idris2 implementation (`trope-checker/src/idris2/Main.idr`);
58+
Agda reference plus an Idris2 implementation (the `trope-checker` repo's Idris2 core, `Main.idr`);
5959
Error-Lang already carries an Idris2 proof of the *scalar* bound
6060
(`src/abi/Stability.idr`). The integration generalises that proof's target from
6161
a clamped integer to a checked grade.
@@ -186,7 +186,7 @@ recoverable as a projection, but the verdict additionally names the edge to repa
186186
| Trust boundary | Pin `trope-checker/schemas/trope-ir.schema.json` at `version 0.1`, `profile prevent`. The schema is the contract (mirrors the IR spec's "schema is the trust boundary").
187187
| Dependency | Depend on the `trope-checker` *binary* (a pure `IR → verdict` function) and the *IR schema* by URL. Do **not** vendor the calculus, the checker, or `haec`.
188188
| New backend | Add a `trope` lowering target beside the existing codegen backends: Error-Lang AST/VM ops → Trope IR DAG (schema-validated) → `trope-checker` → verdict object → surfaced as Error-Lang diagnostics.
189-
| Precedent | The same trust-tagged "fold external prover output back into our report" pattern panic-attack uses in `src/aggregate/`.
189+
| Precedent | The same trust-tagged "fold external prover output back into our report" pattern the panic-attack repo uses in its `aggregate/` module.
190190
| Multi-producer | Sanctioned by `trope-ir.adoc`: "a static analyser for an existing language MAY emit Trope IR for code it did not author." Error-Lang's analyzer is exactly such a producer.
191191
|===
192192

0 commit comments

Comments
 (0)