| note |
Isolated verification: SDK fba5ee5e (1.0.0-rc.8) f Isolated verification: SDK fba5ee5e (1.0.0-rc.8) full 365/365, zero failure/skip (654 s); SDK static check no findings; eight material checks passed; the checkout stayed clean and no SDK-labelled container remained.
Code release only; Catalog registration, OwnerBinding, runtime admission, operation binding, knowledge publication and actual business acceptance NOT_PERFORMED. Formal binding of the new commands stays default-deny. Tag created locally on 2026-10-18 at the user's instruction; not pushed.
Changes since finance@2.0.0 (02 governance batches 6 and 7, README sections 02 治理补齐第六批 / 第七批; renumbered on 10-18 after the follow-up patch release took the earlier numbers): sql/015 ChannelStatement naming an active partner account; channel statement number, digest, period, currency and per-transaction amounts and commissions frozen; matched line by line to recorded payments by payment system and transaction id (MATCHED, AMOUNT_DIFFERENCE, PAYMENT_REVERSED, NOT_FOUND); a channel transaction appears on one live statement; arrival recorded once and compared with the expected amount; confirmed by someone other than the recorder, differences need an explanation; voidable before confirmation. sql/016 PaymentIntent raised from an order or a receivable (payer, amount, currency, requested channel, expiry), handed off to 04 by reference only, settled only against a recorded payment of the same payer and amount, one payment settles one intent, guard finance.assert_payment_intent_ref; StoredValueAccount funded by one whole unallocated payment of the holder (that payment is never allocated or reversed afterwards), consumption names the holder's own order and does not settle receivables; PointsAccount (sources and rules recorded, one accrual per source, balance never negative, adjustments by another person); PartnerSettlement with source lines from confirmed channel statements, reward-share bases or other references, a source enters one live settlement, confirmed by another person then released for settlement. sql/017 financial impact source DAMAGE_LIABILITY forming a compensation receivable only from an UPHELD work liability determination (RECEIVABLE only). Records and reconciles only; no funds are moved (K8 / D29).
New migrations: sql/015_finance_channel_statement.sql, sql/016_finance_intent_prepaid_settlement.sql, sql/017_finance_damage_liability.sql. New commands: AdjustPoints, AdjustStoredValue, CancelPaymentIntent, CloseStoredValueAccount, ConfirmChannelStatement, ConfirmPartnerSettlement, ConsumeStoredValue, CreatePaymentIntent, DraftPartnerSettlement, EarnPoints, ExpirePoints, FailPaymentIntent, HandOffPaymentIntent, OpenPointsAccount, OpenStoredValueAccount, RecordChannelArrival, RecordChannelStatement, RedeemPoints, ReleasePartnerSettlement, SettlePaymentIntent, TopUpStoredValue, VoidChannelStatement, VoidPartnerSettlement. New rule guards published: finance.assert_payment_intent_ref. New named queries: ListChannelStatements, ListPartnerSettlements, ListPaymentIntents, ListPointsAccounts, ListStoredValueAccounts.
Standard SDK release record:
{
"packageId": "ees.domain.finance",
"version": "2.1.0",
"manifestSha256": "8c25017dd0746b64a5a2b52cb25f9f1eda951cd879b70a12b575a1a732d234bc",
"files": [
{
"path": "catalog.json",
"sha256": "383e8a88d6204cd7a192e8623de9fc6421e1a2cf33972bd0367cf56d7e6cd264"
},
{
"path": "channel-statements.mjs",
"sha256": "677d212ab3e005bfa6e721529d2ae5da2d60cb5a3f34d1f39e3427591fb1b0fb"
},
{
"path": "command-descriptions.json",
"sha256": "f824e89c6849593e50d2d3501c75c9d8a4f52c04d2ebab183359d26209c84038"
},
{
"path": "contracts/command-payloads.v1.schema.json",
"sha256": "c1e9e031654782e4c5202dbd2de4e301cc39db7e435b0953ecb9229c853e49b7"
},
{
"path": "contracts/event-payloads.v1.schema.json",
"sha256": "2840dd27c55cd4e13a4bf6b1750e4ec1dad4d5bb7be0234547eb85c3b9999df6"
},
{
"path": "ees-domain-package.json",
"sha256": "8c25017dd0746b64a5a2b52cb25f9f1eda951cd879b70a12b575a1a732d234bc"
},
{
"path": "facts.json",
"sha256": "53667580e4950567e4b0f9300f5c342c18173eb7cc91908e5d1961aee03fb23c"
},
{
"path": "finance.mjs",
"sha256": "fc9bd8b9dc89206da5b2280012989230bd39f6a672bf1b2cbc094b2636706568"
},
{
"path": "partner-settlements.mjs",
"sha256": "e61e3789b41c3b2157d2c6f90f7dfca43af21a3434dced261ea6418216c8244e"
},
{
"path": "payables.mjs",
"sha256": "6c8cf2b7ed3fd3f57fcfbc8f83d7df46c1c7645ec2c5c38003b800206e13fd7c"
},
{
"path": "payment-intents.mjs",
"sha256": "b2153ff1983303e279319e00a1a5599f9c85c494a08d9b8e831b9e518e739511"
},
{
"path": "prepaid.mjs",
"sha256": "b83aaedc4bb8b3314b0599a2e8cc9d470f20d0ae01b7185aa1e0c9a1fc822c3c"
},
{
"path": "queries.json",
"sha256": "1374ebdc9e7156347210cddf0390eb9bb6def40e3e5f98d8fe0ca10fe7ac9d11"
},
{
"path": "receivable-posting-rule.mjs",
"sha256": "23cdf24855079711d62ca94223a361321e0fc8c590d70fa598117bab4ddc6fab"
},
{
"path": "refund-policy.mjs",
"sha256": "02f5193ed2a3d5e8fed129b4b8a464544726d9daed0d250cb7367c1f5312bd0b"
},
{
"path": "refunds.mjs",
"sha256": "e422ed51f2521472b8710fd7cc4613736e95663804257f4f662233fbd6381031"
},
{
"path": "sql/001_finance_role.sql",
"sha256": "095d42dd90e258ce582b8e58d0572603d11b707e4d0eec9b00cf87a8cb708c6c"
},
{
"path": "sql/002_finance.sql",
"sha256": "38076f8f47c3183dcc5903124a29b1a328ae4f23f270d0648c2b6991661368e6"
},
{
"path": "sql/003_finance_anonymous_order.sql",
"sha256": "57afb0daeff62e74b47b7d4da5f1d236a6a5ffb1e445e25dfbf2e05bc48ad832"
},
{
"path": "sql/004_finance_payables.sql",
"sha256": "7b709cc06e64a7f07b40dfc67b0f3127b8cd9c21c41ee95d656a9537a49e31ca"
},
{
"path": "sql/005_finance_refunds.sql",
"sha256": "4a0143711ce7d30a7f545510985fb6aa57a94edd229fc00dafa48f5de6c353dc"
},
{
"path": "sql/006_finance_counterparty_and_refund_locks.sql",
"sha256": "e2cad3122d54ab4bb0114a05dbde7c777aa619eab7f0363e56e2ca7bcb267562"
},
{
"path": "sql/007_finance_outcome_guard.sql",
"sha256": "3371b5477cb2f0b5649ed9581757ae15819978c927f76e9f3f6f04d8ff171cbc"
},
{
"path": "sql/008_finance_receivable_posting_rule.sql",
"sha256": "0f7f454421f5213c94edb1b5bf824b0c65e80fb19a34e0cbcfa66d530bed35e0"
},
{
"path": "sql/009_cleaning_piecework_basis.sql",
"sha256": "9fe13c9323f461cee46389f8fc3f60c14292735cb64ed8ffdeae1d1e7f91cb92"
},
{
"path": "sql/010_finance_refund_policy.sql",
"sha256": "ce262695a962cfbbef771a7af04ce81b0b139a90663b41bef38744e7bde71f53"
},
{
"path": "sql/011_finance_purchase_receipt_cost.sql",
"sha256": "cbd78f4022ba3c9feec03e773ee50f377e46c662c0a3dd7080f52c90ad2c8eba"
},
{
"path": "sql/012_finance_supplier_credit.sql",
"sha256": "c82a0430eb324b1b4bff5efa881528911024aae2c8ab1728a5c727e8c6848cd4"
},
{
"path": "sql/013_finance_refund_basis_and_credit_source.sql",
"sha256": "4aeddd056f47eca729e830fcba4916a53d281a96294b5f7bc66224b728835efb"
},
{
"path": "sql/014_finance_refund_policy_site_and_supersede.sql",
"sha256": "5a207c8a2c76a29f8329447415f422a3e3d78680eb5595574c5a2c903148073b"
},
{
"path": "sql/015_finance_channel_statement.sql",
"sha256": "ab74437051fa7d7180526609b8fad5b875fb285e038462c55b6c8a58a28e9f3a"
},
{
"path": "sql/016_finance_intent_prepaid_settlement.sql",
"sha256": "62df95824db6f94961eea29f1e66b1ab98557bb9af66d10c835dca3a072031bf"
},
{
"path": "sql/017_finance_damage_liability.sql",
"sha256": "d0ad20d4c80214c35ae04d33c92e62abe0f428f9a7a5c1b785b9e73c5bbceeff"
}
]
}
... |