Skip to content

v2.1.1 — DAML ecosystem + report-dedup agent + de-overfit

Choose a tag to compare

@PlamenTSV PlamenTSV released this 18 Jun 07:11
· 46 commits to main since this release

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 .daml sources; DAML-specific recon, inventory, depth (templates + driver + scanner templates), and verification prompts (prompts/daml/...); 12 DAML skills under agents/skills/daml/; registry entries in rules/skill-registry.json and a daml toolchain block in rules/language-toolchain-registry.json (daml build / daml test, DAML Script boundary-value fallback, no security SAST); and DML- 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 the daml CLI/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 Python report_dedup executes the proposals through the unchanged zero-loss embed + data-loss gate (agent proposes, Python disposes). The phase never halts the run, and both AUDIT_REPORT.pre-dedup.md and the deduped report are retained.

Changed

  • Opus promotion for SC Thorough semantic dedup. sc_semantic_dedup now 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 PASSTHROUGH after 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