Repository navigation
v2.1.1 — DAML ecosystem + report-dedup agent + de-overfit
Plamen v2.1.1 adds DAML/Canton as a first-class smart-contract ecosystem, ships the report-dedup agent (with the consolidation bug fixed), and restores the HARD no-overfit invariant by removing protocol-specific answer-priming from the methodology.
Added
- DAML / Canton as a first-class SC ecosystem (bug-hunting scope). End-to-end DAML auditing: ecosystem auto-detection on
.damlsources; DAML-specific recon, inventory, depth (templates + driver + scanner templates), and verification prompts (prompts/daml/...); 12 DAML skills underagents/skills/daml/; registry entries inrules/skill-registry.jsonand adamltoolchain block inrules/language-toolchain-registry.json(daml build/daml test, DAML Script boundary-value fallback, no security SAST); andDML-internal finding IDs recognized by the mechanical pipeline. Works on both the Claude and Codex backends (DAML wiring lives entirely in backend-independent layers; the only environmental caveat is thedamlCLI/JVM under the worker sandbox, identical to every other toolchain). - Report-dedup agent (Phase 6d,
report_dedup_agent). A new, non-halting LLM phase reads the fully assembled report and proposes consolidations the mechanical signals miss — cross-tier and no-/mismatched-location duplicate MERGES, plus Quality-Observation reclassifications of unambiguously cosmetic Low/Info findings. The agent proposes only; the deterministic Pythonreport_dedupexecutes the proposals through the unchanged zero-loss embed + data-loss gate (agent proposes, Python disposes). The phase never halts the run, and bothAUDIT_REPORT.pre-dedup.mdand the deduped report are retained.
Changed
- Opus promotion for SC Thorough semantic dedup.
sc_semantic_dedupnow runs on Opus in Thorough mode, where precision-critical per-pair adjudication benefits most.
Fixed
- Report-dedup agent decisions were silently dropped, and one lossy QO retab vetoed every merge. The decision parser is now column-agnostic (reads report IDs by position-in-row — first = survivor, the rest = absorbed — so it ingests the agent's richer
Survivor | Title | Absorbed IDs | …table, supports multi-absorb, and loose-matches the QO header) instead of assuming a fixed two-column layout that parsed every proposed merge as zero. Separately, the Quality-Observation retabulation is now gated independently from the merges, so a single lossy QO retab no longer makes the end-of-pass all-or-nothing data-loss gate revert every good consolidation. Net effect on a representative report: dedup that had been a silent no-op now consolidates correctly (81 → 70). - Semantic-dedup compaction no-op on large inventories. The phase now spends its in-session continuation budget when live candidate pairs remain instead of accepting a pre-written
PASSTHROUGHafter a context compaction. - De-overfit: removed protocol-specific answer-priming from the methodology. A ZetaChain-specific binding-template primer (and other protocol-specific priming found in the same sweep) was removed, restoring the HARD no-overfit invariant: the methodology encodes HOW to analyze, never WHAT to find in a specific protocol. Generic, illustrative-only mentions of named protocols are retained, as permitted by the rule.
Full changelog: CHANGELOG.md