Development Fund Proposal: Canton Execution Evidence & Recovery Toolkit
Organization: Individual (operating under LLORIX)
Author / Primary Contact: Jingchen Zhao — GitHub @llorix218
Status: Submitted
Created: 2026-12-05
Proposal Type: RFP-aligned
RFP / Roadmap Area: RFP 27 — Security Monitoring, Auditability and Evidence
Relevant SIG: Security
Champion: Needs Champion
Total Funding Request: 380,000 CC
Project Duration: 12 weeks development; external adoption due by week 16 from agreed grant start
Label: canton-apis
Abstract
A lost command response does not tell an application whether its intended ledger effect occurred. This proposal funds a standalone Canton toolkit that correlates an application's operation intent, submission attempts, authorized ledger observations and current policy context. It produces bounded recovery/evidence reports with explicit unresolved states, without automatically retrying a business operation or depending on LLORIX's private runtime.
Specification
1. Objective
Help application engineers and reviewers determine what available evidence supports after an interrupted settlement-like operation: a matching effect, a rejected attempt, conflicting records or an unresolved outcome. Historical completion does not authorize a new action, and a rejected attempt does not prove that every attempt for the same intent failed.
The first release covers one synthetic Daml workflow and one pinned, supported Canton 3.x LocalNet configuration. It is not network-wide security monitoring, a financial accounting system, a general SDK, a retry executor or an independent cryptographic proof of Canton truth. No Canton-native LLORIX adapter is claimed to exist today.
2. Implementation Mechanics
Capture and correlation. Before the reference client submits, record a durable application operation ID and versioned intent commitment, including the expected business-effect predicate. Associate individual attempts with the native identifiers supported by the selected Ledger API version, participant, authorized party scope and effective deduplication parameters. M1 will establish the exact services, fields and client library from current documentation and actual LocalNet observations; unsupported fields remain explicit rather than invented.
Collect relevant completion/status and update observations through existing authorized clients. Store resumable checkpoints and source coverage, including gaps, unavailable history and pruning boundaries where observable. Only claim a matching effect when the reference contract's expected-effect predicate is supported by available observations. Do not infer absence from a missing response or inaccessible party data.
Recovery and applicability. The recovery tool queries/interprets evidence for the original operation and its attempts. It never signs or automatically resubmits business commands. A separate isolated test harness intentionally submits synthetic cases. Deduplication conclusions stay within the selected version's documented identities, participant scope and time/offset limits. Declared changes to policy, source, expected effect or workflow version may invalidate a current conclusion without invalidating historical evidence. Current authority belongs to the application's controls, not to an old report.
Evidence and CLI. Deliver a versioned JSON schema and CLI for collection, verification and reports. Bind input, operation/attempt IDs, source/version metadata, expected effect, coverage and observations. Report separately: file integrity; recorded consistency; supported effect/rejection/conflict/unresolved outcome; current applicability; and source assurance. Hashes and signatures alone do not authenticate external facts. An offline reviewer can reproduce disclosed rules; live ledger truth requires independent authorized observations or a declared trust anchor. Redaction that prevents verification must produce an explicit limitation.
Privacy and access. The entity-level scope is the application's authorized participant/party visibility. Threats are unsafe retry after lost completion, changed-intent replay, stale authorization assumptions and incomplete/contradictory evidence. Use least-privilege existing authentication; never export private keys, bearer tokens, passwords or connection secrets. Export allowlisted synthetic or explicitly approved fields, keep source records separate from minimized reviewer packages, and document retention/deletion. Low-entropy hashes are not assumed anonymous. No mandatory central telemetry or upload is required.
Reference cases. Exercise six families: normal completion; interruption after an effect; duplicate/changed intent; authorization change before a later action; restart/observation recovery; incomplete/conflicting evidence. Use deterministic coordination, record submissions and business effects separately, and include missing evidence, wrong operation/attempt, changed effect, stale context, digest corruption and insufficient visibility negatives. Label actual LocalNet observations separately from synthetic observation-gap/version fixtures. Rehashing corrupted evidence must not turn an unsupported conclusion into an all-clear.
3. Architectural Alignment
This addresses RFP 27 through reusable operation-level audit/recovery evidence that preserves Canton privacy. Extend existing clients and test infrastructure where supported; do not build replacement indexing, wallet, consensus or monitoring systems. No CIP or protocol change is proposed.
Adjacent proposals reviewed include canton-testkit #888, CantonGrid Invariants #1118, Koschei Sentinel #786, refused actions #860, OS Ledger #866, Noves Subledger #970 and Canton Disclose #945. Their scopes overlap in evidence, testing or reconciliation; this is not an uncontested greenfield claim. Our bounded focus is intent-to-attempt correlation, observation coverage and advisory recovery/current applicability. We do not fund test scaffolding already available, committed refusal contracts, accounting/period close, financial invariant engines or mediator-signature disclosure proofs. M1 includes a component/reuse review with the Champion; reduce overlapping scope before proceeding. No integration or funding status is inferred from an open PR. #786 was closed without merge at this review snapshot.
Additional adjacent work includes LedgerShield #788 (API access proxy and request audit logs), AnChain.AI #966 (fraud/AML evidence), and Sigli DAWE #400 (Daml security scenarios and review evidence). This proposal does not build a new access proxy, fraud monitoring service or general security test suite. It focuses on correlating a business operation with its attempts and observed effects after interruption, and evaluating whether the available evidence supports a recovery decision. Existing suitable components will be reused.
4. Backward Compatibility
No backward compatibility impact is intended: opt-in application tooling over existing interfaces, with a separate optional reference Daml test contract. M1 must verify that assumption and pin the supported version. Unsupported capabilities fail explicitly; no participant behavior changes are proposed.
Starting Point and Scope Separation
Jingchen Zhao is the proposed responsible engineer and maintainer. LLORIX's existing non-production reference work covers bounded operation identity, execution-time authority, uncertain-result recovery and evidence applicability. Public reference entries are execution assurance, lab and verification. They are prior-work references, not proof of completed Canton integration, paying customers, production deployments or secured adopters. The public checks distinguish recorded projections from native Runtime replay and unverifiable external facts.
New grant-funded Canton software, fixtures and documentation are proposed as an independently buildable Apache-2.0 project, subject to the agreed grant terms. No private LLORIX Core or previously limited-license asset is required, transferred or relicensed. The public proposal document is submitted under the repository's CC0 proposal-document regime; this does not relicense linked assets.
This grant is separate from the Canton M2/M6 Security Audit RFQ and the applicant's Filecoin application: no customer audit work, confidential scope, Filecoin adapter, historical LLORIX development or shared effort invoice is charged here. Maintain separate work packages and time records; disclose and remove any subsequently identified overlap before claiming payment. No confidential partner material is included.
Milestones and Deliverables
Start is an agreed date after written grant approval and payment/deliverable terms. Relative targets become agreed calendar dates before award; they are not submission-date commitments.
| Milestone | Target | Deliverables / value | CC |
|---|
| M1 — Feasibility and evidence contract | Week 3 | A reviewer reproduces one actual authorized LocalNet operation and correlates intent, attempt, completion and expected effect. Publish source/permission/version matrix, privacy model, schema and reuse review. | 76,000 |
| M2 — Recovery workflow | Week 8 | Collector/checkpoints and evaluator; six case families with actual-vs-fixture labels, negatives and reusable recovery reports. An application developer can diagnose the bounded interrupted operation without blind resubmission. | 152,000 |
| M3 — Independent-use release | Week 12 | Standalone source/CLI, pinned build, minimized exports and an existing-client integration example. A designated reviewer can reproduce supported checks from a clean checkout without private Core. | 76,000 |
| M4 — External use | Week 16 | Two unaffiliated Canton application/tooling teams execute the release on their own or agreed authorized non-production workflow and provide consented reproducibility evidence and feedback. | 76,000 |
| Total | | | 380,000 |
Acceptance Criteria
- M1: Reproduction must use actual authorized LocalNet observations, document exact client/API/version and visibility, and expose unsupported cases. If required observations are unavailable, stop for committee-approved scope amendment; do not substitute synthetic success for this gate.
- M2: Each case has fixed inputs, source coverage, expected/observed effects and reproducible results. For supported post-effect interruption/restart, recovery identifies the original effect without a new business submission. Missing/conflicting data, unsupported deduplication or material policy change cannot produce unconditional permission to execute. Fixture-only and native results remain separate.
- M3: A reviewer builds and uses the release from instructions, evaluates the reference cases and integrates one existing-client example. Publish source, license, dependency pins, coverage/limitations and redacted exports. No export authentication secrets. This is independent usability, not a claim of an independent security audit.
- M4: Each of two independent teams actually runs a supported non-production workflow. Record consented team/scenario/version/result/limitations through logs, an integration issue/PR or reviewer-confirmed redacted report. Internal reruns, downloads, stars, interest or letters alone do not count. If adoption is not achieved, do not claim the milestone; extensions require committee agreement.
No adopters or Champion are confirmed. Recruitment through Security SIG and existing-client maintainers is planned, not completed. Four weeks for adoption is an aggressive target and a gating risk, not guaranteed demand. Discuss feasibility and expressions of interest before final grant terms. All payments require committee acceptance; no advance is assumed.
Funding
Request: 380,000 CC. M1/M2/M3/M4 payments are 76,000 / 152,000 / 76,000 / 76,000 CC. Twenty percent depends on demonstrated external adoption. RFP 27 specifies no maximum amount or duration in the reviewed roadmap; that does not establish entitlement or budget availability.
Planning effort is 400 founder hours: 80 / 160 / 80 / 80 across M1–M4. M1–M3 average approximately 27 hours/week; M4 includes 56 hours of adoption support and a 24-hour six-month maintenance reserve. The reserve is not counted twice. Costs and delivery capacity are planning estimates, not evidence of prior Canton expertise. The applicant bears funding/timing and token-value risk subject to agreed terms.
Volatility: If committee-requested scope changes extend the project beyond six months, remaining milestones must be renegotiated for significant USD/CC price volatility, following the template.
Maintenance and Co-Marketing
Jingchen Zhao proposes to maintain the release for six months after M3, within a 24-hour reserve for triage, reproducible release-blocking defects and supported-version documentation. Major version ports or expanded scope need separate agreement; the standalone source remains independently maintainable. Publish contact and contribution instructions.
Coordinate an announcement and one reproducible technical example/article with the Foundation after release. External case studies require consent. No confidential evidence is used.
Motivation
The initial beneficiaries are two independent teams evaluating a bounded operation each. The intended value is reusable, inspectable recovery/evidence interpretation rather than bespoke plumbing or unsafe retry assumptions. No ecosystem-wide adoption percentage, commercial pipeline or confirmed customer is asserted.
Rationale
Existing Ledger API clients and testing tools should supply submission and observations. This project adds a narrow interpretation layer, not another ledger client or proprietary orchestration dependency. M1 tests the Canton-specific feasibility and overlap assumptions before most payment; M4 gates the final payment on actual external use. If an existing component already supplies a proposed feature, reuse it and reduce funded scope rather than duplicate it.