chore: scrub internal session-log narrative from code comments
Wide sweep across the codebase to remove leftover artifacts of internal
development sessions, internal entity naming, and audit-code references
that point at non-public docs. The technical reasoning for each piece
of code stays; the "Caught 2026-05-XX while debugging XYZ at preprod"
narrative goes.
Categories scrubbed:
- Dated session-log comments ("Caught/Surfaced/Discovered 2026-05-XX")
→ rewritten as neutral technical reasoning.
- Internal audit codes (AUDIT-H2, AUDIT-C2, AUDIT-M2, AUDIT-H5, etc.)
referencing a non-public audit doc → labels stripped, fix reasoning
kept.
- Internal-entity names in code comments (Sulkta-specific, Sulkta runs
X, Terrapin/TRP as gov-token names) → generic phrasing.
- Test fixture helper `sulkta_cfg` → `test_dao_cfg`; test DAO name
string `"sulkta"` → `"test-dao"`. On-chain addresses in test fixtures
kept (they're real-world wire-byte test data on public chain).
- Cross-references to memory files / non-public audit docs
(`internal notes`, `aiken-escrow/README.md`)
→ reasoning inlined or removed.
- Test names renamed: `decodes_sulkta_live_governor_datum` →
`decodes_live_governor_datum`, `decodes_sulkta_live_proposal_zero` →
`decodes_live_finished_proposal`, etc.
Kept (legitimate):
- Cross-references to in-repo audit docs (aiken-escrow/README.md, aiken-escrow/README.md) — they ARE the
public artifacts being referenced.
- HIGH-1/HIGH-2/MED-2/LOW labels on escrow fixes — these correspond to
findings in the in-repo audit doc.
- TODO markers — legitimate work-still-to-do.
This commit is contained in:
parent
93f0d2ebde
commit
564ba3ccb5
28 changed files with 258 additions and 296 deletions
|
|
@ -1,13 +1,12 @@
|
|||
// ⚠️ WIP — UNAUDITED. EXPERIMENTAL. DO NOT USE WITH MAINNET FUNDS.
|
||||
// ⚠️ UNAUDITED. EXPERIMENTAL. Use-at-own-risk for high-value flows.
|
||||
//
|
||||
// Aldabra escrow validator — v1 (Plutus V3 / Aiken v1.1.x)
|
||||
//
|
||||
// Status: feature-flagged behind `--features escrow_wip` in the off-chain
|
||||
// crates. Tested only on preprod_test2 by Sulkta-Coop. No third-party audit
|
||||
// has been performed. Do NOT deploy to mainnet, do NOT route real value
|
||||
// through this script until external review is complete.
|
||||
// No third-party audit has been performed. Internal review only —
|
||||
// see aiken-escrow/README.md for findings.
|
||||
//
|
||||
// Two-party agreement-with-veto escrow. Spec: aiken-escrow/README.md
|
||||
// Two-party agreement-with-veto escrow. See aiken-escrow/README.md
|
||||
// for the state-machine summary.
|
||||
//
|
||||
// State machine:
|
||||
// Open ─(both sign Agree)─▶ Agreed{at} ─(lock elapsed, no veto)─▶ Settle (→ recipient)
|
||||
|
|
@ -431,7 +430,7 @@ validator escrow {
|
|||
// ----- tests -----
|
||||
|
||||
test minimal_smoke() {
|
||||
// Smoke test: type-checks. Real e2e tests run on preprod_test2 from
|
||||
// aldabra-escrow's MCP integration tests.
|
||||
// Smoke test: type-checks. End-to-end behavior is exercised by the
|
||||
// off-chain builder integration tests in `crates/aldabra-dao`.
|
||||
True
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue