| G2 | closed | cdmx.collateral.proposal: proposal, decision, status; coverage check; decide function |
| G1 | closed (proposed, for review) | cdmx.collateral.margincall: lifecycle state, steps, next-step function. cdmx.collateral.event: each step as a CollateralEvent (before and after state, instruction) with an eventQualifier from nine Qualify_… functions. An own event type, as CDM's BusinessEvent records trade states |
| G3 | closed (proposed, for review) | Agreed and disputed amounts recorded from the response. cdmx.collateral.dispute (2026-11-04): Create_Dispute records a Dispute next to the margin call from the call's own amounts (disputing party, subject Amount or Value, reason, Resolution Time); ResolveDispute resolves it by agreement or, after the Resolution Time, by recalculation, at an amount between the agreed and the called amount, and states the additional amount still due through a new call (ISDA CSA Paragraph 5). The recalculation itself (quotations, SIMM rerun, revaluation) is the caller's; the FpML dispute reason code lists (TX2) are not used, the reason is free text. DisputeTest (11 tests) |
| G4 | closed (proposed, for review) | Settlement only against an accepted proposal covering the agreed amount (return: within the agreed amount); the settlement event carries one CDM TransferState per position (pledgor → secured party on delivery, the reverse on return), passing CDM's own conditions. transferType stays absent: UnscheduledTransferEnum has no collateral value |
| G5 | closed (proposed, for review) | cdmx.collateral.portfolio (2026-11-03): ApplyCollateralEvent keeps CDM's CollateralPortfolio up to date from each CollateralEvent. Only a settlement changes it: a delivery adds the accepted proposal's positions and value after haircuts; a return removes the released positions and value. Positions are netted per asset with status SettledAmount; one CollateralBalance (post-haircut, settled, payer the pledgor, receiver the secured party). Releasing more of an asset than is held is rejected. PortfolioTest (8 tests) |
| G6 | closed | Return calls released without a proposal, within the agreed amount |
| G7 | closed (proposed, for review) | cdmx.collateral.valuation (2026-11-03): CorrectedPostedCreditSupportItemAmount reads additionalHaircutPercentage (D1) and counts an absent FX or additional haircut as zero. Because Rune calls functions by name, CorrectedUndisputedAdjustedPostedCreditSupportAmount, CorrectedDeliveryAmount and CorrectedReturnAmount restate CDM's three callers on top of it; CreditSupportAmount is CDM's own. ValuationTest (10 tests) shows CDM's function giving 8.2m where 8.5m is correct |
| G8 | closed (proposed, for review) | cdmx.collateral.concentration (2026-11-03): ConcentrationLimitBreaches evaluates the ConcentrationLimits of a CDM EligibleCollateralSpecification against the collateral held and proposed together, on the value after haircuts. A limit applies to the collateral matching its criteria (CDM CheckCriteria on an EligibilityQuery per position), narrowed by the limit's own criteria; percentage and value limits, both bounds, inclusive or not; types Asset and Issuer per asset or issuer, untyped over the matching collateral. Limit types that need market data (exchange, sector, issue size, market capitalisation, outstanding balance, trading volume) are rejected. ConcentrationTest (10 tests). Update 2026-11-13: CDM's CheckCriteria does not match a criterion by ISIN (D30), so limits stated by ISIN are checked by the triparty functions ProfileCriterion and TripartyConcentrationBreaches (workflow map row C21) |
| G9 | closed (proposed, for review) | cdmx.collateral.valuation (2026-11-03): CreditSupportAmountVM (Exposure less any Threshold, zero if negative), DeliveryAmountVM (rounded up) and ReturnAmountVM (rounded down), zero below the MTA, disputed amounts deducted; the credit support held is valued with the G7 functions. VariationMarginTest |
| G10 | closed (proposed, for review) | cdmx.collateral.exposure (2026-11-03): NettingSet (one mark-to-market value per transaction from a valuation party, Base Currency Equivalents) and NettedExposure (the secured party's Exposure: the sum, sign flipped for the counterparty). FX conversion and close-out netting (G15) are not covered. VariationMarginTest (14 tests with G9) |
| G14 | closed (proposed, for review) | cdmx.collateral.enforcement (2026-11-03): Create_CollateralEnforcement records the secured party's enforcement against the segregated collateral as a CollateralEnforcement event (qualifier CollateralEnforced): the positions taken leave CDM's CollateralPortfolio, their value after haircuts leaves the balance, and one TransferState per position moves them from the pledgor to the secured party. Allowed only when the Defaulting Party (DefaultNotice, ISDA 2002 MA Section 5(a)) is the portfolio's pledgor, the secured party enforces, the custodian or control contract has given it exclusive control, and an Enforcement Event has occurred under CDM's SecurityAgreementElections -> enforcementEvent (EnforcementEventOccurred: an Early Termination Date reached, or with failureToPay elected a notified Failure to Pay or Deliver). The realised value feeds CloseOutNetting (G15). Sale, appropriation and the custodian's own steps are not modelled. EnforcementTest (14 tests) |
| G15 | partial (proposed, for review) | cdmx.collateral.closeout (2026-11-03): ISDA 2002 MA only. EarlyTerminationAmount nets the Close-out Amounts and the Unpaid Amounts both ways (Section 6(e)(i), Non-defaulting Party determining); CloseOutNetting returns a CloseOutStatement. Collateral held from the Defaulting Party is applied after the Early Termination Amount under security interest (surplus returned), or enters it as an Unpaid Amount owed to the Transferor under title transfer. Amounts in the Termination Currency. CloseOutTest (10 tests). Built since: GMRA default and close-out (GmraCloseOutStatement, row C11), GMSLA default and close-out (GmslaCloseOutStatement, row C19), CCP member default (CcpDefaultManagement, row C29). Open: Section 6(e)(ii) (Termination Events) |
| G16 | partial (proposed, for review) | cdmx.collateral.substitution (2026-11-03): ISDA CSA substitution (Paragraph 4(d)) as its own lifecycle over CDM's CollateralPortfolio. Create_CollateralSubstitution applies request, consent and settlement steps and records each as a CollateralSubstitution event; consent is needed only where the pledgor's CDM SubstitutionPartyElection -> needsConsent says so (SubstitutionNeedsConsent). The original items must be held and worth no more than the substitute; on settlement the substitute moves pledgor to secured party, the original items move back, and the portfolio and balance are updated. Qualify_CollateralSubstituted replaces CDM's Qualify_Substitution for CSA collateral, so the event is no longer a Renegotiation (D5). Both legs settle on the event date. SubstitutionTest (10 tests). Built since: repo substitution (RepoIsSubstitution, D22, row C6), GMSLA substitution (GmslaIsSubstitution, row C16), substitution by the triparty agent (SubstituteTriparty, T8, row C23). Open: substitution at a CCP (C18) |
| G17 | partial (proposed, for review) | cdmx.collateral.interest (2026-11-06): interest on cash collateral under an ISDA CSA, one currency and one Interest Period, on CDM's CollateralInterestParameters. CollateralInterestRate gives the day's rate: the fixed rate, or the observed rate bounded by the floor and cap plus the spread (dropped when compressible and the rate is not positive), floored at zero unless negative interest is elected. CollateralInterestAccrual accrues each day's balance at that rate and the day count fraction for one day. Create_CollateralInterestStatement sums the days, rounds daily or at period end, deducts withholding tax, writes off an amount below the write-off limit, and splits the Interest Amount into the part transferred and the part that adjusts the posted collateral: by the handling election (Transfer, Adjust, Transfer_or_Adjust with the rollover limit) and the Interest Amount alternative (Standard: transferred only within the Credit Support excess; TransferIfDeliveryAmountBelowMTA). A negative amount is payable by the pledgor. Open: compounding, dated spread, floor and cap steps, the ActualAmountReceived and Other alternatives, payment dates and notification; lending rebate and manufactured payments (C11, S12, S20). InterestTest (21 tests) Built since: GMRA interim interest and manufactured income (RepoManufacturedIncome, row C7), GMSLA rebate and lending fee (GmslaLoanInvoice, rows C17 and C18). Open: GMSLA manufactured payments (S20) and CCP interest (C11) |
| G24 | closed | cdmx.collateral.ledger (2026-11-04): TokenizedAsset links a CDM Asset to its token: LedgerNetwork (name, platform, chain id), contract address, TokenStandardEnum, decimals, ISO 24165 DTI, and AuthoritativeRecordEnum (Bearer, Registered, Claim) with the record keeper when the ledger is not authoritative. TokenForAsset and AssetForToken map between them. The DTI is a DigitalTokenIdentifier (string(pattern: ...), 2026-11-21, task-dti-format-check): nine characters, the eight-character base number without vowels or Y and not starting with 0; the check character is not verified (ISO 24165 Annex A unavailable). LedgerTest. Completion by authoritative record (2026-11-21, task-authoritative-record-settlement-enforcement, interim rules REG-1 to REG-5 pending the SME in task-sme-registered-asset-completion): EligibleUnderControl admits a Registered or Claim token only with a control agreement; the transfer agent (oracle service, mkt key) confirms each tMMF movement on chain (RecordKeeperRegister); the service reports a CSA step or enforcement complete only with TransferComplete (cdm-state settlementComplete, /calls/{id}/enforcement); RegisterBreaks compares the register with the ledger. Enforcement now records the hash of its CDM CollateralEnforcement. Closure accepted by the project owner on 2026-11-21. Follow-ups: task-authoritative-record-other-flows (repo, GMSLA and triparty; resolved 2026-11-22), task-console-record-keeper-completion (resolved 2026-11-22), task-second-ledger-token-identity |
| G25 | closed | Redesign 2026-11-04 (nw-ledger-anchor-redesign; the first design was rejected for reversing concept-asr-onchain-call-state and rewriting existing records). cdmx.collateral.ledger: LedgerAnchor is an append-only record, separate from the CDM record it anchors: record kind and identifier, the keccak256 hash of the record's instruction (MarginCallInstruction, EnforcementInstruction or SubstitutionInstruction), and the LedgerTransactions (contract events, each Mined, Final or Reverted) that carry the hash or share its transaction. Create_LedgerAnchor builds it from chain events, so both parties build the same anchor; AnchorStatus reports Missing, Pending, Complete or Failed, and MarginCallStepAnchorStatus does so for an applied step. CDM events and states hold no ledger data. TransferComplete also needs a RecordKeeperConfirmation for Registered and Claim tokens (provisional, task-sme-registered-asset-completion). The collateral service builds the anchors of each folded step from the gateway's step events (CdmAnchors, cdm-state reports anchors, anchored and anchorHash); the live specs check that both parties' anchors are Complete and equal. LedgerTest (18 tests with G24), CdmAnchorsTest (5). Enforcement anchors since 2026-11-21 (CdmRecordKeeper.enforcement, task-authoritative-record-settlement-enforcement). Closure accepted by the project owner on 2026-11-21. Substitution anchors and the repo, securities loan and triparty movement anchors since 2026-11-22 (task-substitution-ledger-anchors, PRs #88 and #90): a movement of a Registered or Claim token completes on its anchor and the record keeper's confirmation; the triparty profile's deposits and withdrawals carry no CDM document and keep the transaction's finality |
| G29 | closed (proposed, for review) | Every extension function runs in the tests (120 in 12 classes, 2026-11-04): each entry function is called directly; helpers (Apply*, Qualify_*, HeldQuantity, NetCollateralPosition, Create_CollateralTransfer and others) are checked through the entry functions' results |
| G34 | partial (proposed, for review) | cdmx.collateral.allocation (2026-11-07): AllocateCollateral fills an agreed amount from the pledgor's ranked inventory (AllocationCandidate: holding, unit price, eligibility, haircut), eligible assets only, in rank order, the last asset rounded up to whole units; no positions when the inventory cannot cover the amount (wp-adr-allocation-scope). Not covered: optimisation by cost (task-csa-allocation-optimisation), concentration limits in the CSA allocation; the default ranking awaits task-sme-allocation-ranking. Built since: allocation by the triparty agent within haircuts and per-ISIN limits (AllocateTriparty, row C21). Prototype: flow-allocation suggests the basket off-chain |
| G35 | partial (proposed, for review) | cdmx.collateral.reconciliation (2026-11-07): ReconcilePortfolios matches the two parties' trade snapshots by UTI (trade missing on one side, key economic terms, valuations offsetting within a tolerance) and states each party's exposure; ReconcileWithLedger compares a party's record facts with the ledger's (wp-adr-reconciliation-scope). Not covered yet: the key terms and tolerance await task-sme-reconciliation-rules; products other than interest rate swaps compare on product, notional and UTI only; escrow positions are rebuilt from records only since the pair's last enforcement or close-out, and calls recorded before 2026-11-07 state every call as RegIM and no returned margin type. Prototype: flow-reconciliation built 2026-11-07 (snapshot and result hashes on the PortfolioReconciliation contract; a dispute can cite a run). Built since: the triparty agent's report to both parties (TripartyReport, T12, row C25). Open: CCP reconciliation (C13) |
| G26 | deferred | Deferred by the project owner on 2026-11-10 (nw-defer-message-standard-mapping): the first goal is a proof of concept of CDM over Besu, and mapping from a message standard to CDM is important, even critical, but trivial. No task; the prototype's parties exchange CDM documents, not colr or FpML messages. Business case criterion S8 waits for it |
| G11 | open | Not built; the prototype's eligibility schedules use ISIN criteria and its ratings stay off-chain (wp-adr-oracle-prices-on-request-ratings-offchain). D8 not fixed |
| G12 | closed | Repo: RepoNetExposure and RepoPurchasePriceForMarketValue (D2), workflow map row C3. Securities lending: GmslaNetExposure, row C14 |
| G13 | out of scope | ISDA SIMM (priority Out) |
| G18 | closed | GmslaRecallNotice (recall, row C15); Qualify_GmslaReturn qualifies a loan return (D4, row C13) |
| G19 | closed | GmraTermsAmendment (row C1), GmslaTermsAmendment (row C12) |
| G20 | closed | GmraTerms (row C1) |
| G21 | partial | GmslaTerms and the functions of rows C13 to C19 use the GMSLA elections. Open: CDM's clause library is not used |
| G22 | closed | Triparty GMRA repo: TripartyTerms, AllocateTriparty, RevalueTriparty, SubstituteTriparty, TripartyTradeEnd, TripartyReport (rows C20 to C25). Triparty securities lending is out of scope (wp-adr-triparty-scope). Closed for that scope (project owner, 2026-11-13) |
| G23 | closed | CCP-cleared GMRA repo: CcpRulebook, CcpNovation, CcpMarginStatement, CcpDefaultManagement, CcpAdmission and CcpPorting in cdmx.collateral.ccp (rows C26 to C30). Cleared derivatives are out of scope (wp-adr-ccp-scope). Closed for that scope (project owner, 2026-11-13) |
| G27 | open | Tracked in the register only (project owner, 2026-11-10); no flow depends on it |
| G28 | open | Tracked in the register only (project owner, 2026-11-10); no flow depends on it |
| G30 | open | Not hit: every repo and buy/sell-back the prototype builds keeps one InterestRatePayout and qualifies (checked 2026-11-10 and 2026-11-11; PairOffTest). D7 and D13 not fixed |
| G31 | open | Not hit: the prototype does not read CDM's repo sample (checked 2026-11-10). D3 and D6 not fixed |
| G32 | open | Misspellings in CDM; renaming needs a CDM change, so no local closure exists |
| G33 | partial | Buy/sell-back closed (BuySellBackSellBackPrice and related, row C10). Securities lending delivery and return are built in Rune over Create_BusinessEvent (GmslaLoanSettlement, row C13), not on CDM's Java workflows; partial (project owner, 2026-11-13) |
| G36 | out of scope | Regulatory reporting (priority Out) |
| G37, G38 | open | Found while closing G4 (findings X2, X3); the extension leaves transferType absent and reads pledge roles only |
| G40 | open | Added 2026-11-21 (project owner) under goal-tokenized-collateral, finding N1. No flow depends on it; scope (whether non-financial collateral is modelled at all) waits on REG-6 to REG-10 |
| G41 | partial | Added 2026-11-21 (project owner) under goal-tokenized-collateral, finding N2. task-document-provenance: every tokenized asset in scope, a pilot on one asset first, an existing provenance standard mapped to CDM. tUST pilot and the tMMF case (register statement, control agreement) built 2026-11-22 (ProvenanceCheck, ProvenanceAnchors), wired through the gateway, the services and the consoles (live spec flow-provenance); registry-entry links for the aircraft case (registration, registered interests, the interest holder's consent; interim rule pending REG-8). Provenance gate (2026-11-22, PRs #87 and #89): tUST and tMMF are marked provenanceRequired, and the receiving party refuses to take a marked token whose provenance path is not complete, in the CSA, repo, securities lending, triparty and CCP flows (ProvenanceLive.refusal). Not built: provenance for tUSD (in the task's scope, not marked provenanceRequired); a check at revaluation or on amendment, which waits on PROV-2; a check of the credential proofs against the W3C Data Integrity test suite. task-document-provenance resolved 2026-11-22 (its done-when, the tUST pilot path check, holds); the items above stay open under this gap. Partial since 2026-11-22 (project owner, task-v02-demo-release-summary) |
| G39 | closed | Moved to Java (wp-adr-java-cdm-stack, 2026-10-18): CDM's Java distribution and the extension generated to Java run the 23 tests with no workarounds and with CDM's full validation; the Python build is retired (kept at commit e1a2e6f as a reproduction of D14–D16) |