Money: authoritative on-disk format (calternal-money) — break exhaustively, then document #628

Closed
opened 2026-10-19 15:20:24 +00:00 by kayg · 39 comments
Owner

kayg (2026-10-19 ~20:55 IST): this is the AUTHORITATIVE on-disk format for Money (format: calternal-money). A fast Codex agent owns this issue and breaks it exhaustively, drawing on real YNAB / Actual Budget edge cases from forums worldwide, until it is foolproof. Once final, the spec goes into our documentation (docs/). History of the design and rounds 1–9: #620; decisions: kayg's grill answers summarised below.

Layout

Money/<Budget>/
  Budget.md                 kind: budget (id, home-currency)
  Accounts/<Name>.md        kind: account (id, type cash|card|tracking, currency, emi-fee, closed) — body = notes
  Categories/<Name>.md      kind: category (id, group, target, hidden, renamed-from, merged-into) — body = notes
  Months/YYYY-MM.md         kind: month (budget, month) — transactions + assignments + other records
People/<Name>.md, Places/<Name>.md   app-wide, linked from Money

Money only reads files with frontmatter format: calternal-money. Groups exist while a category names them. Card payment categories are implied by card accounts.

Records (month files)

Top bullet = ISO 8601 timestamp with seconds and offset + ^id, nothing else. Fields = sub-bullets, lowercase key: value, single colon, only the ones that apply. Amounts plain and exact with a currency code (-2291.40 INR); the screen formats. Links [name](<path>); readers also accept the bracket-less CommonMark form; writers always emit angle brackets. The record's local date decides its month file.
Fields: payee, memo, note, amount (required), from/in (exactly one), for (category or Ready to Assign; several for with amounts = split), to (transfer target, on the record or under a for), owed by (under a for), settles, original (foreign amount on a home-currency card), estimate (dated, while the charged amount is unknown), home (exact home-currency amount charged; bank figure wins), rate (84.00 INR per USD at <timestamp>), status (pending|void; posted default), conversion of / fee / fee gst / interest / interest gst (card EMI, incl. no-cost EMI), assign, assert (reconciliation), home currency + rate (moving countries; dated), at, see, receipt, via (automation provenance; removed on hand edit; automations never change a record without via).

Decided rules

  • Budgeting tool only (envelope / zero-based, YNAB wording); tracking-only accounts; several budgets; one home currency + real multi-currency accounts; home currency can change (dated record) or start a fresh budget.
  • YNAB card model: per-card payment category; derived, never stored. Refunds/reversals link to the original purchase.
  • Owing: Reimbursements category, People view, settles (partial), forgive. Pending: Available excludes pending, separate "after pending" figure. Household = one shared budget (sharing built first).
  • Unknown money-affecting keys rejected; harmless kept. Broken record withholds only the totals it affects + a Problems view.
  • Sync merges whole records (never lines), atomic, only on the latest version. Imports incremental, dedupe by bank import id; uncertain overlap asks.
  • Categories keep rename/merge history with an on-screen indicator.
  • Composer previews when a phrase is ambiguous.
kayg (2026-10-19 ~20:55 IST): this is the AUTHORITATIVE on-disk format for Money (`format: calternal-money`). A fast Codex agent owns this issue and breaks it exhaustively, drawing on real YNAB / Actual Budget edge cases from forums worldwide, until it is foolproof. Once final, the spec goes into our documentation (docs/). History of the design and rounds 1–9: #620; decisions: kayg's grill answers summarised below. ## Layout ``` Money/<Budget>/ Budget.md kind: budget (id, home-currency) Accounts/<Name>.md kind: account (id, type cash|card|tracking, currency, emi-fee, closed) — body = notes Categories/<Name>.md kind: category (id, group, target, hidden, renamed-from, merged-into) — body = notes Months/YYYY-MM.md kind: month (budget, month) — transactions + assignments + other records People/<Name>.md, Places/<Name>.md app-wide, linked from Money ``` Money only reads files with frontmatter `format: calternal-money`. Groups exist while a category names them. Card payment categories are implied by card accounts. ## Records (month files) Top bullet = ISO 8601 timestamp with seconds and offset + `^id`, nothing else. Fields = sub-bullets, lowercase `key: value`, single colon, only the ones that apply. Amounts plain and exact with a currency code (`-2291.40 INR`); the screen formats. Links `[name](<path>)`; readers also accept the bracket-less CommonMark form; writers always emit angle brackets. The record's local date decides its month file. Fields: payee, memo, note, amount (required), from/in (exactly one), for (category or `Ready to Assign`; several `for` with amounts = split), to (transfer target, on the record or under a `for`), owed by (under a `for`), settles, original (foreign amount on a home-currency card), estimate (dated, while the charged amount is unknown), home (exact home-currency amount charged; bank figure wins), rate (`84.00 INR per USD at <timestamp>`), status (pending|void; posted default), conversion of / fee / fee gst / interest / interest gst (card EMI, incl. no-cost EMI), assign, assert (reconciliation), home currency + rate (moving countries; dated), at, see, receipt, via (automation provenance; removed on hand edit; automations never change a record without `via`). ## Decided rules - Budgeting tool only (envelope / zero-based, YNAB wording); tracking-only accounts; several budgets; one home currency + real multi-currency accounts; home currency can change (dated record) or start a fresh budget. - YNAB card model: per-card payment category; derived, never stored. Refunds/reversals link to the original purchase. - Owing: Reimbursements category, People view, settles (partial), forgive. Pending: Available excludes pending, separate "after pending" figure. Household = one shared budget (sharing built first). - Unknown money-affecting keys rejected; harmless kept. Broken record withholds only the totals it affects + a Problems view. - Sync merges whole records (never lines), atomic, only on the latest version. Imports incremental, dedupe by bank import id; uncertain overlap asks. - Categories keep rename/merge history with an on-screen indicator. - Composer previews when a phrase is ambiguous.
spec.md
50 KiB
Author
Owner

Starting #628. Design/spec and throwaway tooling only under /home/kayg/Developer/calternal-research/money-auth/. Branch: not applicable; this research directory is outside Git and no product changes or commits are planned. Product reference base SHA: a0785f1067. Research head SHA: not applicable.

I am reading rounds 1–9 and the latest owner decisions, then adapting the contract and every inherited gate to individual account/category notes and Months/. I will mine real worldwide cases, save at least 60 concrete input/expected pairs, and repeat independent attack rounds until two consecutive rounds have no new P1/P2. Tax and investment-lot reporting from r9 are outside the owner's budgeting scope. No product build, push, merge, deployment or issue closure.

Starting #628. Design/spec and throwaway tooling only under /home/kayg/Developer/calternal-research/money-auth/. Branch: not applicable; this research directory is outside Git and no product changes or commits are planned. Product reference base SHA: a0785f1067c617755fbb00605aa0d5bb39163569. Research head SHA: not applicable. I am reading rounds 1–9 and the latest owner decisions, then adapting the contract and every inherited gate to individual account/category notes and Months/. I will mine real worldwide cases, save at least 60 concrete input/expected pairs, and repeat independent attack rounds until two consecutive rounds have no new P1/P2. Tax and investment-lot reporting from r9 are outside the owner's budgeting scope. No product build, push, merge, deployment or issue closure.
Author
Owner

#628 round 1: 5 P1, 4 P2, 0 P3; clean streak 0.

M166 P1 — File links can silently retarget after path reuse

Minimal input: Accounts/Checking.md id checking; rename to Accounts/Bank.md; create Accounts/Checking.md id intruder; old from link still names Checking.md.

Consequence: Postings can attach to intruder despite unchanged label.

Fix: Persist typed target-ID bindings in portable revision history; refuse path reuse mismatch.

Evidence: layout_suite path reuse, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M167 P2 — Folder-only discovery loses moved registered entity notes

Minimal input: Move Accounts/Checking.md to Archive/Checking.md without editing transaction links.

Consequence: Reader scanning only Accounts silently drops the entity and may omit history.

Fix: Track full registered source set; discover marked notes vault-wide; quarantine wrong-location notes, never forget them.

Evidence: layout_suite move/delete/format-removal, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M168 P2 — Individual note paths collide on portable filesystems

Minimal input: Accounts/Cash.md and Accounts/cash.md; Categories/Café.md and Categories/Café.md.

Consequence: Sync to macOS/Windows can overwrite a distinct note.

Fix: Detect NFC+casefold path collisions and portable-name/length limits; preserve and quarantine bytes.

Evidence: layout_suite casefold/NFC-NFD/device/long-path, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M169 P2 — New entity properties have no safe missing-group or wrong-role default

Minimal input: Categories/Groceries.md has kind category and no group; Accounts/Checking.md has kind category.

Consequence: Implicit grouping or role inference corrupts note identity/organization.

Fix: Require group and exact kind/path agreement, immutable frontmatter ID/type/currency.

Evidence: layout_suite wrong folder/group/kind, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M170 P1 — R9 foreign merchant amount conflicts with owner native bank amount

Minimal input: INR Card: amount -24.50 EUR, home -2291.40 INR. Owner now requires amount -2291.40 INR, original -24.50 EUR.

Consequence: An unchanged r9 reader may mispost the new original or reject the authoritative shape.

Fix: Amount always account-native, original nonposting, home exact home book value; explicit pending estimate.

Evidence: semantics owner-native positive and negative probes, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M171 P1 — Dated home-unit change cannot reuse immutable r9 home sums

Minimal input: Budget starts INR; dated home currency EUR; old home 100 INR plus new home 1 EUR.

Consequence: Adding numeric home values across epochs silently produces 101.

Fix: Keep epochs; complete reviewed conversion snapshot and rates; no mixed-unit sum or migration without adopted snapshot.

Evidence: spec unit-epoch contract; finite test rejects absent snapshot, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M172 P1 — An external hand edit can leave stale automation ownership

Minimal input: Record amount -100 INR and via rule-a; Obsidian changes amount to -200 INR leaving via unchanged.

Consequence: Automation trusts via string and overwrites human intent.

Fix: Compare latest revision and ownership history; hand edits revoke via authority even when external source retains it.

Evidence: publication stale-base/via controls, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M173 P1 — EMI component fields can post fees twice

Minimal input: amount -352.82 INR plus fee 299 INR and fee gst 53.82 INR.

Consequence: A reader adds components again, doubling statement cost.

Fix: Component fields are evidenced labels over explicit expense shares, never additional postings; require exact bridge.

Evidence: semantics exact EMI fee/GST bridge; specification review, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

M174 P2 — Stored payment-category notes conflict with derived owner model

Minimal input: A physical Categories/Card payment.md purports to be the derived card reserve.

Consequence: Two independently editable representations can diverge.

Fix: Virtual payment tuple disjoint from physical categories; assign payment via card link.

Evidence: layout_suite virtual disjoint regression in round 2, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects.

Gate output verbatim:

calternal-money authoritative round 1: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 72, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62801}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"focus": "new note identity, owner-native amounts, epoch/EMI/via specification review", "new_findings": ["M166", "M167", "M168", "M169", "M170", "M171", "M172", "M173", "M174"]}
findings: {"P1": 5, "P2": 4, "P3": 0}
clean_streak: 0
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.

The full inherited heavy gate is waiting behind the shared build train through the required build-slot wrapper; this round does not claim that run has finished. Source research: 123 leads collected, 61 full pages read; Reddit direct reads are rejected by Firecrawl and are marked search-excerpt-only. Actual issue bodies and public YNAB/Actual guides provide verified-page cases.

#628 round 1: 5 P1, 4 P2, 0 P3; clean streak 0. M166 P1 — File links can silently retarget after path reuse Minimal input: Accounts/Checking.md id checking; rename to Accounts/Bank.md; create Accounts/Checking.md id intruder; old from link still names Checking.md. Consequence: Postings can attach to intruder despite unchanged label. Fix: Persist typed target-ID bindings in portable revision history; refuse path reuse mismatch. Evidence: layout_suite path reuse, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M167 P2 — Folder-only discovery loses moved registered entity notes Minimal input: Move Accounts/Checking.md to Archive/Checking.md without editing transaction links. Consequence: Reader scanning only Accounts silently drops the entity and may omit history. Fix: Track full registered source set; discover marked notes vault-wide; quarantine wrong-location notes, never forget them. Evidence: layout_suite move/delete/format-removal, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M168 P2 — Individual note paths collide on portable filesystems Minimal input: Accounts/Cash.md and Accounts/cash.md; Categories/Café.md and Categories/Café.md. Consequence: Sync to macOS/Windows can overwrite a distinct note. Fix: Detect NFC+casefold path collisions and portable-name/length limits; preserve and quarantine bytes. Evidence: layout_suite casefold/NFC-NFD/device/long-path, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M169 P2 — New entity properties have no safe missing-group or wrong-role default Minimal input: Categories/Groceries.md has kind category and no group; Accounts/Checking.md has kind category. Consequence: Implicit grouping or role inference corrupts note identity/organization. Fix: Require group and exact kind/path agreement, immutable frontmatter ID/type/currency. Evidence: layout_suite wrong folder/group/kind, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M170 P1 — R9 foreign merchant amount conflicts with owner native bank amount Minimal input: INR Card: amount -24.50 EUR, home -2291.40 INR. Owner now requires amount -2291.40 INR, original -24.50 EUR. Consequence: An unchanged r9 reader may mispost the new original or reject the authoritative shape. Fix: Amount always account-native, original nonposting, home exact home book value; explicit pending estimate. Evidence: semantics owner-native positive and negative probes, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M171 P1 — Dated home-unit change cannot reuse immutable r9 home sums Minimal input: Budget starts INR; dated home currency EUR; old home 100 INR plus new home 1 EUR. Consequence: Adding numeric home values across epochs silently produces 101. Fix: Keep epochs; complete reviewed conversion snapshot and rates; no mixed-unit sum or migration without adopted snapshot. Evidence: spec unit-epoch contract; finite test rejects absent snapshot, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M172 P1 — An external hand edit can leave stale automation ownership Minimal input: Record amount -100 INR and via rule-a; Obsidian changes amount to -200 INR leaving via unchanged. Consequence: Automation trusts via string and overwrites human intent. Fix: Compare latest revision and ownership history; hand edits revoke via authority even when external source retains it. Evidence: publication stale-base/via controls, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M173 P1 — EMI component fields can post fees twice Minimal input: amount -352.82 INR plus fee 299 INR and fee gst 53.82 INR. Consequence: A reader adds components again, doubling statement cost. Fix: Component fields are evidenced labels over explicit expense shares, never additional postings; require exact bridge. Evidence: semantics exact EMI fee/GST bridge; specification review, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. M174 P2 — Stored payment-category notes conflict with derived owner model Minimal input: A physical Categories/Card payment.md purports to be the derived card reserve. Consequence: Two independently editable representations can diverge. Fix: Virtual payment tuple disjoint from physical categories; assign payment via card link. Evidence: layout_suite virtual disjoint regression in round 2, /home/kayg/Developer/calternal-research/money-auth/. These are design/research-model findings, not product defects. Gate output verbatim: ```text calternal-money authoritative round 1: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 72, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62801} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"focus": "new note identity, owner-native amounts, epoch/EMI/via specification review", "new_findings": ["M166", "M167", "M168", "M169", "M170", "M171", "M172", "M173", "M174"]} findings: {"P1": 5, "P2": 4, "P3": 0} clean_streak: 0 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ``` The full inherited heavy gate is waiting behind the shared build train through the required build-slot wrapper; this round does not claim that run has finished. Source research: 123 leads collected, 61 full pages read; Reddit direct reads are rejected by Firecrawl and are marked search-excerpt-only. Actual issue bodies and public YNAB/Actual guides provide verified-page cases.
Author
Owner

#628 round 2: 2 P1, 0 P2, 0 P3; clean streak 0.

M175 P1 — Pending claim can leak into outstanding before status filter

Minimal input: Pending -3000 INR split with owed by Mira 1500 INR.

Observed consequence: Finite oracle created claim before excluding pending posting.

Fix: Validate structure but stage claim effects; commit only posted effects.

Evidence: attack-round2.json reproduces this against the frozen model-v1.py; model-v2.py and pending_policy reject it.

M176 P1 — Several settlement allocations can reuse the same receipt capacity

Minimal input: Receipt +500 INR, two settles of 500 INR each against distinct claims.

Observed consequence: Individual caps pass but total claims reduced 1000 on cash 500.

Fix: Sum receipt allocations in native/home units and globally bound reductions before applying any.

Evidence: attack-round2.json reproduces this against the frozen model-v1.py; model-v2.py and pending_policy reject it.

All prior findings remain closed in the design. The two new findings are actual finite-oracle counterexamples, not shipped product defects.

Gate output verbatim:

calternal-money authoritative round 2: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 72, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62802}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"focus": "pending claim/settlement publication and virtual payment identity", "new_findings": ["M175", "M176"]}
pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2}
findings: {"P1": 2, "P2": 0, "P3": 0}
clean_streak: 0
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.

The inherited gate has now freshly passed through rounds 2–9 including the heavy loops. A second fresh run through the reversible note-file link bridge is queued through the required shared slot. Full note metadata and latest-owner semantics are checked by the new gates separately.

#628 round 2: 2 P1, 0 P2, 0 P3; clean streak 0. M175 P1 — Pending claim can leak into outstanding before status filter Minimal input: Pending -3000 INR split with owed by Mira 1500 INR. Observed consequence: Finite oracle created claim before excluding pending posting. Fix: Validate structure but stage claim effects; commit only posted effects. Evidence: attack-round2.json reproduces this against the frozen model-v1.py; model-v2.py and pending_policy reject it. M176 P1 — Several settlement allocations can reuse the same receipt capacity Minimal input: Receipt +500 INR, two settles of 500 INR each against distinct claims. Observed consequence: Individual caps pass but total claims reduced 1000 on cash 500. Fix: Sum receipt allocations in native/home units and globally bound reductions before applying any. Evidence: attack-round2.json reproduces this against the frozen model-v1.py; model-v2.py and pending_policy reject it. All prior findings remain closed in the design. The two new findings are actual finite-oracle counterexamples, not shipped product defects. Gate output verbatim: ```text calternal-money authoritative round 2: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 72, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62802} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"focus": "pending claim/settlement publication and virtual payment identity", "new_findings": ["M175", "M176"]} pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2} findings: {"P1": 2, "P2": 0, "P3": 0} clean_streak: 0 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ``` The inherited gate has now freshly passed through rounds 2–9 including the heavy loops. A second fresh run through the reversible note-file link bridge is queued through the required shared slot. Full note metadata and latest-owner semantics are checked by the new gates separately.
Author
Owner

Decisions pending kayg

These are proposed wire details needed to implement already approved behavior. The research continues using the recommendations. Silence is not approval; affected unsupported operations remain safely withheld.

  1. May we add the portable Operations.md history note, with complete source-set hashes, typed target-ID bindings, tombstones and immutable definitions, and require it in continuation backups? Recommendation: yes. File-only links cannot independently distinguish a renamed note from another note reusing its old path. A fresh history-free import explicitly adopts current resolved identities and cannot claim faithful continuation.
  2. May mixed split transfers use for: transfer -500 INR ^share-id with an owned to, and virtual card assignment use assign: payment [Card](<../Accounts/Card.md>) 1000 INR? Recommendation: yes. These typed tokens avoid fake category notes while leaving ordinary expense records unchanged. Until accepted, retain unsupported source transactions in review rather than invent a category.
  3. May dated home-currency changes use an explicit hash-linked conversion snapshot with complete unit epochs, exact per-balance conversion and residual allocation? Recommendation: yes; use the strict snapshot profile proposed in snapshot-profile.md. No new-home totals publish until its complete snapshot is adopted. The app still offers a fresh budget as already decided.
# Decisions pending kayg These are proposed wire details needed to implement already approved behavior. The research continues using the recommendations. Silence is not approval; affected unsupported operations remain safely withheld. 1. May we add the portable `Operations.md` history note, with complete source-set hashes, typed target-ID bindings, tombstones and immutable definitions, and require it in continuation backups? Recommendation: yes. File-only links cannot independently distinguish a renamed note from another note reusing its old path. A fresh history-free import explicitly adopts current resolved identities and cannot claim faithful continuation. 2. May mixed split transfers use `for: transfer -500 INR ^share-id` with an owned `to`, and virtual card assignment use `assign: payment [Card](<../Accounts/Card.md>) 1000 INR`? Recommendation: yes. These typed tokens avoid fake category notes while leaving ordinary expense records unchanged. Until accepted, retain unsupported source transactions in review rather than invent a category. 3. May dated home-currency changes use an explicit hash-linked conversion snapshot with complete unit epochs, exact per-balance conversion and residual allocation? Recommendation: yes; use the strict snapshot profile proposed in snapshot-profile.md. No new-home totals publish until its complete snapshot is adopted. The app still offers a fresh budget as already decided.
Author
Owner

#628 round 3: 1 P1, 0 P2, 0 P3; clean streak 0.

M177 P1 — Positive transfer magnitude conflicts with negative source home leg

Minimal input:

- 2026-09-20T12:00:00+05:30 ^exchange
  - amount: 100 USD
  - from: [USD](<../Accounts/USD.md>)
  - to: [Checking](<../Accounts/Checking.md>) 8400 INR
  - home: -8400 INR

Observed: An exact valid USD to INR transfer is rejected as home dimension/sign, while a generic same-sign interpretation can reverse the book leg.

Fix: Ordinary signed amount/home directions agree. Direct transfer amount is magnitude and explicit home describes the negative source leg; EMI conversion explicitly describes positive card principal.

Evidence: attack-round3.json reproduces model-v2 rejection; transfer_home regression against model-v3 validates exact native legs and rejects wrong sign.

The 90 source-derived pairs now include independent full-page Actual issue, Money Manager, Toshl, Goodbudget, Beancount and hledger probes, plus labelled Reddit leads. All 41 standard specimens have separate path-only and owner-shape readability tables: owner shape 10266 characters / 282 lines versus r9 10153 / 284. Shared note/history costs are separate.

Gate output verbatim:

calternal-money authoritative round 3: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 90, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62803}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"focus": "100 simultaneous path/encoding transforms; controls; all regressions", "metamorphic_trials": 100, "new_findings": ["M177"]}
pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2}
transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true}
findings: {"P1": 1, "P2": 0, "P3": 0}
clean_streak: 0
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.
#628 round 3: 1 P1, 0 P2, 0 P3; clean streak 0. M177 P1 — Positive transfer magnitude conflicts with negative source home leg Minimal input: ```markdown - 2026-09-20T12:00:00+05:30 ^exchange - amount: 100 USD - from: [USD](<../Accounts/USD.md>) - to: [Checking](<../Accounts/Checking.md>) 8400 INR - home: -8400 INR ``` Observed: An exact valid USD to INR transfer is rejected as home dimension/sign, while a generic same-sign interpretation can reverse the book leg. Fix: Ordinary signed amount/home directions agree. Direct transfer amount is magnitude and explicit home describes the negative source leg; EMI conversion explicitly describes positive card principal. Evidence: attack-round3.json reproduces model-v2 rejection; transfer_home regression against model-v3 validates exact native legs and rejects wrong sign. The 90 source-derived pairs now include independent full-page Actual issue, Money Manager, Toshl, Goodbudget, Beancount and hledger probes, plus labelled Reddit leads. All 41 standard specimens have separate path-only and owner-shape readability tables: owner shape 10266 characters / 282 lines versus r9 10153 / 284. Shared note/history costs are separate. Gate output verbatim: ```text calternal-money authoritative round 3: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 90, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62803} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"focus": "100 simultaneous path/encoding transforms; controls; all regressions", "metamorphic_trials": 100, "new_findings": ["M177"]} pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2} transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true} findings: {"P1": 1, "P2": 0, "P3": 0} clean_streak: 0 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ```
Author
Owner

#628 round 4: 0 P1, 0 P2, 0 P3; clean streak 1.

No new format findings. Attacks checked non-Latin/percent-escaped names, Windows device names, account-type typos, category path reuse, and all prior regressions. The finite oracle was tightened to reject duplicate ordinary rates and unsupported tracking-value parsing rather than pretend to implement the existing endpoint rule; those are existing format requirements, not new format findings.

Gate output verbatim:

calternal-money authoritative round 4: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62804}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"accepted_invariants": 6, "focus": "non-Latin filenames, percent escapes, account types, portable devices, category path reuse", "new_findings": [], "rejections": 14}
pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2}
transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true}
owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284}
findings: {"P1": 0, "P2": 0, "P3": 0}
clean_streak: 1
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.

Public Buckets guidance and Obsidian angle-link rename discussion were recovered in the final research pass. The former motivates incomplete/unreadable backup checks; the latter is historical editor evidence, not a current runtime claim. Reddit and Discord coverage limits remain explicit in sources.md and research-status.md.

#628 round 4: 0 P1, 0 P2, 0 P3; clean streak 1. No new format findings. Attacks checked non-Latin/percent-escaped names, Windows device names, account-type typos, category path reuse, and all prior regressions. The finite oracle was tightened to reject duplicate ordinary rates and unsupported tracking-value parsing rather than pretend to implement the existing endpoint rule; those are existing format requirements, not new format findings. Gate output verbatim: ```text calternal-money authoritative round 4: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62804} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"accepted_invariants": 6, "focus": "non-Latin filenames, percent escapes, account types, portable devices, category path reuse", "new_findings": [], "rejections": 14} pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2} transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true} owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284} findings: {"P1": 0, "P2": 0, "P3": 0} clean_streak: 1 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ``` Public Buckets guidance and Obsidian angle-link rename discussion were recovered in the final research pass. The former motivates incomplete/unreadable backup checks; the latter is historical editor evidence, not a current runtime claim. Reddit and Discord coverage limits remain explicit in sources.md and research-status.md.
Author
Owner

#628 round 5: 0 P1, 0 P2, 0 P3; clean streak 2.

Stop condition met by consecutive clean rounds 4 and 5 in finite design probes. Round 5 attacks continuation restores missing bindings, tombstones, head, member files or exact bytes; all 123 incomplete/changed cases are withheld. An unsupported home migration also remains withheld. No new P1/P2.

Gate output verbatim:

calternal-money authoritative round 5: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62805}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"focus": "continuation restore loses bindings/tombstones/head/member files; exact-byte mutation; unsupported home migration", "full_restore_balance_minor": -100, "new_findings": [], "rejected_incomplete_or_changed_restores": 123}
pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2}
transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true}
owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284}
inherited_port: {"adapter_unique_inputs": 195928, "all_truncation_offsets": 8346, "append_schedules": 6, "fuzz_cases": 100000, "global_merge_trials": 50000, "note_file_links_checked": 2042328, "record_merge_trials": 10000, "scale_records": 200000, "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately", "status": "PASS, fresh complete recursive execution recorded; hash verified in this invocation"}
findings: {"P1": 0, "P2": 0, "P3": 0}
clean_streak: 2
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.

The full inherited run through the new link bridge also completed freshly through the required shared build slot. Its old r9 tax/lot findings are outside this owner’s budgeting scope, not fresh #628 findings. Exact adapter scope is stated in its output. Complete new note definitions and lexical structure are separately exercised for all 41 standard specimens.

Inherited port output verbatim:

Inherited suites through note-file link bridge: PASS
{"counts": {"adapted_unique_inputs": 195928, "file_links_checked": 2042328, "parser_calls": 3482612}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"}
calternal-money round-9 research gate: PASS
Previous suites: fresh recursive execution
tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"}
lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"}
shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"}
refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"}
wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500}
search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"}
archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124}
composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33}
readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446}
Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0
Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution

Complete-note fixture output verbatim:

{"complete_note_budgets": 41, "records_lexically_checked": 43, "note_definition_layouts_checked": true, "scope": "new metadata, individual notes, month paths and lexical structure; no claim of complete new financial parser"}
#628 round 5: 0 P1, 0 P2, 0 P3; clean streak 2. Stop condition met by consecutive clean rounds 4 and 5 in finite design probes. Round 5 attacks continuation restores missing bindings, tombstones, head, member files or exact bytes; all 123 incomplete/changed cases are withheld. An unsupported home migration also remains withheld. No new P1/P2. Gate output verbatim: ```text calternal-money authoritative round 5: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62805} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"focus": "continuation restore loses bindings/tombstones/head/member files; exact-byte mutation; unsupported home migration", "full_restore_balance_minor": -100, "new_findings": [], "rejected_incomplete_or_changed_restores": 123} pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2} transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true} owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284} inherited_port: {"adapter_unique_inputs": 195928, "all_truncation_offsets": 8346, "append_schedules": 6, "fuzz_cases": 100000, "global_merge_trials": 50000, "note_file_links_checked": 2042328, "record_merge_trials": 10000, "scale_records": 200000, "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately", "status": "PASS, fresh complete recursive execution recorded; hash verified in this invocation"} findings: {"P1": 0, "P2": 0, "P3": 0} clean_streak: 2 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ``` The full inherited run through the new link bridge also completed freshly through the required shared build slot. Its old r9 tax/lot findings are outside this owner’s budgeting scope, not fresh #628 findings. Exact adapter scope is stated in its output. Complete new note definitions and lexical structure are separately exercised for all 41 standard specimens. Inherited port output verbatim: ```text Inherited suites through note-file link bridge: PASS {"counts": {"adapted_unique_inputs": 195928, "file_links_checked": 2042328, "parser_calls": 3482612}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"} calternal-money round-9 research gate: PASS Previous suites: fresh recursive execution tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"} lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"} shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"} refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"} wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500} search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"} archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124} composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33} readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446} Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0 Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution ``` Complete-note fixture output verbatim: ```text {"complete_note_budgets": 41, "records_lexically_checked": 43, "note_definition_layouts_checked": true, "scope": "new metadata, individual notes, month paths and lexical structure; no claim of complete new financial parser"} ```
Author
Owner

#628 documentation handover finished.

Final spec: /home/kayg/Developer/calternal-research/money-auth/FINAL.md
Spec SHA-256: 418a6cf421051e67db5945b4c4bd68cd24ba856fa12f4dd2f3885a55bc27c7cc
Branch/head SHA: not applicable; the research directory is outside Git and no product commit was made. Product reference base SHA: a0785f1067.

Five rounds. New findings P1/P2/P3: round 1 = 5/4/0; round 2 = 2/0/0; round 3 = 1/0/0; round 4 = 0/0/0; round 5 = 0/0/0. Stop evidence: rounds 4 and 5 are consecutively clean, with all new findings M166–M177 closed in the stated design/model scope. This is finite research evidence, not a proof of arbitrary product or editor behavior.

The handover contains full grammar/layout/rules, every field example, worked scenario classes, what the app derives, and a 23-class edge-case index. There are 92 concrete source-linked input/expected pairs, 132 source leads with access dates, 68 full-page results, and complete individual-note layouts for 41 standard specimens. Owner-shape readability: 10266 characters / 282 lines versus r9 10153 / 284, excluding shared definitions/history. sources.md distinguishes full pages from Reddit excerpts; private Discord and the old YNAB community forum were not accessed. Indian bank mappings remain synthetic examples, not certified bank profiles.

The inherited suites were run freshly twice, once unchanged in an isolated copy and once through an exact reversible note-link bridge. The bridge checks new destinations and retains inherited semantic oracles; the new gates separately check new metadata and latest owner rules. Full native parser/card/envelope/editor conformance remains implementation work. Tax and security-lot reporting are outside the owner's budgeting scope.

Three decisions remain pending kayg. The recommendations were used conservatively in this research; silence is not approval, and unsupported operations withhold affected totals:

  1. Add portable Operations.md history with full source hashes, typed target-ID bindings, tombstones and immutable definitions; require it in continuation backups? Recommendation: yes.
  2. Use for: transfer AMOUNT ^share plus owned to for transfer-only split shares, and assign: payment [Card](<path>) AMOUNT for the derived card payment category? Recommendation: yes.
  3. Use the strict hash-linked home-epoch conversion snapshot in FINAL.md for dated home-currency changes, preserving native units and old home epochs? Recommendation: yes.

No product code changed, no evidence was committed, no push/merge/deployment/VM operation was performed, and this issue stays open. The next owner can move the clean spec into docs after resolving the pending wire details; research evidence stays here and in these comments.

Final gate output verbatim:

calternal-money authoritative round 5: PASS
forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"}
layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"}
semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"}
cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"}
publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"}
fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62805}
readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284}
attack: {"focus": "continuation restore loses bindings/tombstones/head/member files; exact-byte mutation; unsupported home migration", "full_restore_balance_minor": -100, "new_findings": [], "rejected_incomplete_or_changed_restores": 123}
pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2}
transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true}
owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284}
inherited_port: {"adapter_unique_inputs": 195928, "all_truncation_offsets": 8346, "append_schedules": 6, "fuzz_cases": 100000, "global_merge_trials": 50000, "note_file_links_checked": 2042328, "record_merge_trials": 10000, "scale_records": 200000, "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately", "status": "PASS, fresh complete recursive execution recorded; hash verified in this invocation"}
findings: {"P1": 0, "P2": 0, "P3": 0}
clean_streak: 2
Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim.

Handover audit output verbatim:

Final handover audit: PASS
Manifest hashes: 344 verified
92 concrete input/expected pairs; all sources linked with access date
M166-M177: 8 P1, 4 P2, 0 P3 across five rounds
Rounds 4 and 5: 0 P1/P2/P3; consecutive clean streak 2
Fresh inherited adapter output hash verified; 41 complete note-layout budgets verified
Research Git branch/head: not applicable; no product changes, commits, pushes, merges or deployments
FINAL.md sha256: 418a6cf421051e67db5945b4c4bd68cd24ba856fa12f4dd2f3885a55bc27c7cc
#628 documentation handover finished. Final spec: /home/kayg/Developer/calternal-research/money-auth/FINAL.md Spec SHA-256: 418a6cf421051e67db5945b4c4bd68cd24ba856fa12f4dd2f3885a55bc27c7cc Branch/head SHA: not applicable; the research directory is outside Git and no product commit was made. Product reference base SHA: a0785f1067c617755fbb00605aa0d5bb39163569. Five rounds. New findings P1/P2/P3: round 1 = 5/4/0; round 2 = 2/0/0; round 3 = 1/0/0; round 4 = 0/0/0; round 5 = 0/0/0. Stop evidence: rounds 4 and 5 are consecutively clean, with all new findings M166–M177 closed in the stated design/model scope. This is finite research evidence, not a proof of arbitrary product or editor behavior. The handover contains full grammar/layout/rules, every field example, worked scenario classes, what the app derives, and a 23-class edge-case index. There are 92 concrete source-linked input/expected pairs, 132 source leads with access dates, 68 full-page results, and complete individual-note layouts for 41 standard specimens. Owner-shape readability: 10266 characters / 282 lines versus r9 10153 / 284, excluding shared definitions/history. sources.md distinguishes full pages from Reddit excerpts; private Discord and the old YNAB community forum were not accessed. Indian bank mappings remain synthetic examples, not certified bank profiles. The inherited suites were run freshly twice, once unchanged in an isolated copy and once through an exact reversible note-link bridge. The bridge checks new destinations and retains inherited semantic oracles; the new gates separately check new metadata and latest owner rules. Full native parser/card/envelope/editor conformance remains implementation work. Tax and security-lot reporting are outside the owner's budgeting scope. Three decisions remain pending kayg. The recommendations were used conservatively in this research; silence is not approval, and unsupported operations withhold affected totals: 1. Add portable Operations.md history with full source hashes, typed target-ID bindings, tombstones and immutable definitions; require it in continuation backups? Recommendation: yes. 2. Use `for: transfer AMOUNT ^share` plus owned `to` for transfer-only split shares, and `assign: payment [Card](<path>) AMOUNT` for the derived card payment category? Recommendation: yes. 3. Use the strict hash-linked home-epoch conversion snapshot in FINAL.md for dated home-currency changes, preserving native units and old home epochs? Recommendation: yes. No product code changed, no evidence was committed, no push/merge/deployment/VM operation was performed, and this issue stays open. The next owner can move the clean spec into docs after resolving the pending wire details; research evidence stays here and in these comments. Final gate output verbatim: ```text calternal-money authoritative round 5: PASS forum_cases: {"oracle": "literal independent integer postings and native balances", "pairs": 92, "scope": "cash legs only; policy suites below are separate"} layout: {"both_link_forms_equal": true, "rejection_cases": 24, "rename_postings_equal": true, "scope": "simulated external file edits, no Obsidian runtime"} semantics: {"claim_cash_minor": -250000, "claim_outstanding_minor": 50000, "emi_total_minor": 1085282, "global_cutoff_minor": 9000, "owner_native_foreign_charge": true, "scope": "finite cash/claim/SET/cutoff oracle; EMI bridge only, not full liability engine"} cards: {"float_debt_minor": 250000, "funded_reserve_minor": 200000, "post_payment_refund_debt_minor": 50000, "reserve_minor": 50000, "scope": "one finite same-unit sequence; full YNAB replay remains implementation acceptance work"} publication: {"every_byte_prefix_withheld": 2344, "import_epoch_stage_identity": true, "manual_edit_revokes_via": true, "merge_trials": 5000, "partial_file_sets_withheld": 16, "scope": "deterministic in-memory publication model; inherited OS append/lock suite executed separately"} fuzz: {"malformed_rejected": 2000, "mutation_classes": 9, "seed": 62805} readability: {"examples": 41, "layout_chars": 10521, "layout_lines": 284, "old_chars": 10153, "old_lines": 284} attack: {"focus": "continuation restore loses bindings/tombstones/head/member files; exact-byte mutation; unsupported home migration", "full_restore_balance_minor": -100, "new_findings": [], "rejected_incomplete_or_changed_restores": 123} pending_policy: {"before_fix_witnesses": "attack-round2.json", "pending_claims": 0, "receipt_overallocation_rejected": 2} transfer_home: {"destination_inr_minor": 840000, "source_usd_minor": -10000, "wrong_home_sign_rejected": true} owner_readability: {"examples": 41, "owner_chars": 10266, "owner_lines": 282, "r9_chars": 10153, "r9_lines": 284} inherited_port: {"adapter_unique_inputs": 195928, "all_truncation_offsets": 8346, "append_schedules": 6, "fuzz_cases": 100000, "global_merge_trials": 50000, "note_file_links_checked": 2042328, "record_merge_trials": 10000, "scale_records": 200000, "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately", "status": "PASS, fresh complete recursive execution recorded; hash verified in this invocation"} findings: {"P1": 0, "P2": 0, "P3": 0} clean_streak: 2 Scope: finite design models and exact fixture oracles; no product or real-editor conformance claim. ``` Handover audit output verbatim: ```text Final handover audit: PASS Manifest hashes: 344 verified 92 concrete input/expected pairs; all sources linked with access date M166-M177: 8 P1, 4 P2, 0 P3 across five rounds Rounds 4 and 5: 0 P1/P2/P3; consecutive clean streak 2 Fresh inherited adapter output hash verified; 41 complete note-layout budgets verified Research Git branch/head: not applicable; no product changes, commits, pushes, merges or deployments FINAL.md sha256: 418a6cf421051e67db5945b4c4bd68cd24ba856fa12f4dd2f3885a55bc27c7cc ```
Author
Owner

Decided (kayg, 2026-10-19): H1 — no History/ folder; Money's version history is derived by comparing stored file versions record by record, shown per transaction (with Undo), per category and as a budget-wide Changes view. F2 — split transfer share for: transfer -10000 + nested to:. F3 — past transactions/accounts never change currency; only unspent budget money converts once at the user's own transfer rate or the day's reference rate (editable); rounding remainder to Ready to Assign. Open for the UI grill later: history entries must read more human-friendly than terse one-liners. Final independent break by an Opus reviewer running before the spec is finalised.

Decided (kayg, 2026-10-19): H1 — no History/ folder; Money's version history is derived by comparing stored file versions record by record, shown per transaction (with Undo), per category and as a budget-wide Changes view. F2 — split transfer share `for: transfer -10000` + nested `to:`. F3 — past transactions/accounts never change currency; only unspent budget money converts once at the user's own transfer rate or the day's reference rate (editable); rounding remainder to Ready to Assign. Open for the UI grill later: history entries must read more human-friendly than terse one-liners. Final independent break by an Opus reviewer running before the spec is finalised.
Author
Owner

Starting the Opus repair pass for #628. Work is spec/tooling only in /home/kayg/Developer/calternal-research/money-auth/, outside Git. Branch and head SHA: not applicable; no product commit or push is planned. Product reference base SHA: a0785f1067.

I reproduced the structural gaps by reading the report and probes: the old parser never verifies transfer-share destinations, share refund targets or person links; card reserve tests run outside the parser. FINAL.md still requires Operations.md and a History/ snapshot, contrary to F1/F3. I am replacing these with one parsed-file replay, porting every probe, checking rule coverage, and measuring the same 41 specimens plus the imported purchase. O-14 and O-20 will remain explicit owner questions, with options and recommendations; this unattended job will not treat silence as approval.

Starting the Opus repair pass for #628. Work is spec/tooling only in /home/kayg/Developer/calternal-research/money-auth/, outside Git. Branch and head SHA: not applicable; no product commit or push is planned. Product reference base SHA: a0785f1067c617755fbb00605aa0d5bb39163569. I reproduced the structural gaps by reading the report and probes: the old parser never verifies transfer-share destinations, share refund targets or person links; card reserve tests run outside the parser. FINAL.md still requires Operations.md and a History/ snapshot, contrary to F1/F3. I am replacing these with one parsed-file replay, porting every probe, checking rule coverage, and measuring the same 41 specimens plus the imported purchase. O-14 and O-20 will remain explicit owner questions, with options and recommendations; this unattended job will not treat silence as approval.
Author
Owner

Opus repair findings for #628. The old gate accepted eight silent-money cases; all original file probes now run through model-v6.py. The exact original financial fields are in opus-probes-v6.json (only redundant frontmatter was migrated). The F3 arithmetic-only probe has a parsed-file equivalent. These fixes follow F1/F2/F3.

Finding Fix and evidence Test IDs
C1 F1 checksum-only export and new-baseline restore; removed portable journal history-positive,history-negative
C2 Removed snapshot attachment; one parsed home-change rate home-positive,home-negative
C3 RTA gets exact aggregate conversion remainder home-positive,opus-F3-1
C4 Tracking transfer token charges destination paid-from category tracking-positive,tracking-negative
C5 Share currency may inherit the parent transfer-positive,opus-F2-1
C6 Removed renamed-from; retained labels/IDs plus server versions metadata-positive,metadata-negative
F2-A Missing owned to is a Problem transfer-negative,opus-F2-2
F2-B Tracking account paid-from category funds principal tracking-positive,tracking-negative,opus-F2-3
F2-C On-budget destination requires transfer token category-destination-positive,category-destination-negative,opus-F2-4
F2-D Resolve expense share IDs; never refund a mixed parent or transfer leg refund-positive,refund-negative,opus-F2-7,opus-F2-8
F2-E Standalone reversal cancels debit or credit and every nested leg reversal-positive,reversal-negative
F2-F Allow destination-owned home/cleared/import at the extra level destination-state-positive,destination-state-negative
F2-G Actual received home-native amount supplies destination book fx-split-positive,fx-split-negative,opus-F2-9
F2-H Every transfer into a card consumes payment reserve card-payment-positive,card-payment-negative,opus-F2-10
F2-I Case-insensitive reserved words and collapsed spacing reserved-positive,reserved-negative,opus-F2-5
F2-J Single/all-transfer splits allowed; no category spending all-transfer-positive,all-transfer-negative,opus-F2-6
F2-K Hold manual overlaps; map source accounts and fold counterparts manual-match-negative,import-map-negative,counterpart-positive,counterpart-negative
F2-L App assigns stable IDs to every share; optional in handwritten input layout-positive,ids-positive,ids-server-positive
F2-M Budget-wide typed block-ID lookup; safe month path is a hint record-move-positive,record-move-negative
F2-N Cross-budget links are Problems; each budget records its own side scope-positive,scope-negative
O-01 from always debits magnitude; in credits nonnegative magnitude direction-positive,direction-negative,opus-S-1
O-02 convert is the only financial field; deleted field cannot flip a transfer emi-positive,emi-deletion-positive,emi-negative,opus-S-2,opus-S-3
O-03 Released attributed EMI reserve returns to original category emi-positive,card-negative
O-04 Cashback releases funded reserve to RTA/category and conserves cash; unfunded debt reduction creates no cash cashback-positive,cashback-negative
O-05 Refund credits full historical category basis; attributed reserve only card-refund-positive,card-refund-negative
O-06 Assignment month is file month; repeated distinct SETs allowed assign-positive,assign-negative
O-07 Manual overlap is held, then explicit match attaches aliases manual-match-positive,manual-match-negative
O-08 Canonical month path participates without frontmatter layout-positive,opus-O-7
O-09 Average foreign book consumed; emptied holding has zero book; FX residual to RTA fx-residue-positive,fx-residue-negative,opus-D-2
O-10 Typed budget-wide block IDs survive safe stale month hints record-move-positive,record-move-negative
O-11 NFC/casefold resolution with collision rejection unicode-positive,unicode-negative,opus-FS-1,opus-FS-2
O-12 Server diffs own history; checksum restore loses history and becomes new baseline history-positive,history-negative
O-13 Enclosing folder scopes IDs; a copied budget does not break original scope-positive,scope-negative
O-14 Owner question: optional Obsidian links; existing Markdown-only default retained obsidian-positive,obsidian-negative,opus-O-3,opus-O-4
O-15 merged-into stores category ID, no YAML Markdown path merge-positive,merge-negative
O-16 Monthly proportional funding independent of intraday order monthly-card-positive,monthly-card-negative,metamorphic
O-17 Date-only rate compares local calendar date date-rate-positive,date-rate-negative,opus-D-1
O-18 Home change at month start; no mixed-unit month home-positive,home-negative
O-19 Reserve native coverage survives F3; payment consumes historical basis, actual FX difference to RTA home-card-positive,home-card-negative
O-20 Owner question: bank-field ownership alternative tested; S2 default remains ownership-positive,ownership-negative
O-21 Tabs accepted as semantic list levels phone-positive,phone-negative,opus-O-1
O-22 Capitalized keys accepted and writer normalizes phone-positive,phone-negative,opus-O-2
O-23 Prose/headings between records accepted; malformed candidates rejected prose-positive,prose-negative,opus-O-5
O-24 Handwritten IDs optional; unreferenced duplicates re-IDed, references protected ids-positive,ids-negative,ids-server-positive,opus-O-6
O-25 255 UTF-16 component cap; long Hindi filename accepted filename-positive,filename-negative,opus-FS-3
O-26 Exact reciprocal rate accepted, no rounded inverse needed home-positive,opus-F3-1
O-27 App may save a dated reference rate via automation; missing quote retained as draft, never silently posted rate-positive,foreign-draft-negative
O-28 Targets computed at F3 rate and materialized on app save targets-positive,targets-negative
O-29 Absent group defaults to Other metadata-positive,metadata-negative
O-30 Claims can belong to any expense category; Reimbursements is UI default claims-positive,claims-negative
O-31 Mixed-sign and explicit RTA/category splits accepted split-positive,split-negative,rta-split-positive,rta-split-negative,opus-D-3,opus-D-4
O-32 No-cost subsidy is Interest inflow plus nonposting purchase link subsidy-positive,subsidy-negative

Cashback arithmetic differs from the review recommendation: 24000 cash, 12000 reserve and 12100 RTA would overallocate by 100. V6 releases the 100 reserve into RTA, yielding reserve 11900 + RTA 12100 = cash 24000. The parsed cashback-positive test asserts this. O-14 and O-20 remain explicit owner questions; this pass does not override S2/S13 silently.

Opus repair findings for #628. The old gate accepted eight silent-money cases; all original file probes now run through model-v6.py. The exact original financial fields are in opus-probes-v6.json (only redundant frontmatter was migrated). The F3 arithmetic-only probe has a parsed-file equivalent. These fixes follow F1/F2/F3. | Finding | Fix and evidence | Test IDs | | --- | --- | --- | | C1 | F1 checksum-only export and new-baseline restore; removed portable journal | history-positive,history-negative | | C2 | Removed snapshot attachment; one parsed home-change rate | home-positive,home-negative | | C3 | RTA gets exact aggregate conversion remainder | home-positive,opus-F3-1 | | C4 | Tracking transfer token charges destination paid-from category | tracking-positive,tracking-negative | | C5 | Share currency may inherit the parent | transfer-positive,opus-F2-1 | | C6 | Removed renamed-from; retained labels/IDs plus server versions | metadata-positive,metadata-negative | | F2-A | Missing owned to is a Problem | transfer-negative,opus-F2-2 | | F2-B | Tracking account paid-from category funds principal | tracking-positive,tracking-negative,opus-F2-3 | | F2-C | On-budget destination requires transfer token | category-destination-positive,category-destination-negative,opus-F2-4 | | F2-D | Resolve expense share IDs; never refund a mixed parent or transfer leg | refund-positive,refund-negative,opus-F2-7,opus-F2-8 | | F2-E | Standalone reversal cancels debit or credit and every nested leg | reversal-positive,reversal-negative | | F2-F | Allow destination-owned home/cleared/import at the extra level | destination-state-positive,destination-state-negative | | F2-G | Actual received home-native amount supplies destination book | fx-split-positive,fx-split-negative,opus-F2-9 | | F2-H | Every transfer into a card consumes payment reserve | card-payment-positive,card-payment-negative,opus-F2-10 | | F2-I | Case-insensitive reserved words and collapsed spacing | reserved-positive,reserved-negative,opus-F2-5 | | F2-J | Single/all-transfer splits allowed; no category spending | all-transfer-positive,all-transfer-negative,opus-F2-6 | | F2-K | Hold manual overlaps; map source accounts and fold counterparts | manual-match-negative,import-map-negative,counterpart-positive,counterpart-negative | | F2-L | App assigns stable IDs to every share; optional in handwritten input | layout-positive,ids-positive,ids-server-positive | | F2-M | Budget-wide typed block-ID lookup; safe month path is a hint | record-move-positive,record-move-negative | | F2-N | Cross-budget links are Problems; each budget records its own side | scope-positive,scope-negative | | O-01 | from always debits magnitude; in credits nonnegative magnitude | direction-positive,direction-negative,opus-S-1 | | O-02 | convert is the only financial field; deleted field cannot flip a transfer | emi-positive,emi-deletion-positive,emi-negative,opus-S-2,opus-S-3 | | O-03 | Released attributed EMI reserve returns to original category | emi-positive,card-negative | | O-04 | Cashback releases funded reserve to RTA/category and conserves cash; unfunded debt reduction creates no cash | cashback-positive,cashback-negative | | O-05 | Refund credits full historical category basis; attributed reserve only | card-refund-positive,card-refund-negative | | O-06 | Assignment month is file month; repeated distinct SETs allowed | assign-positive,assign-negative | | O-07 | Manual overlap is held, then explicit match attaches aliases | manual-match-positive,manual-match-negative | | O-08 | Canonical month path participates without frontmatter | layout-positive,opus-O-7 | | O-09 | Average foreign book consumed; emptied holding has zero book; FX residual to RTA | fx-residue-positive,fx-residue-negative,opus-D-2 | | O-10 | Typed budget-wide block IDs survive safe stale month hints | record-move-positive,record-move-negative | | O-11 | NFC/casefold resolution with collision rejection | unicode-positive,unicode-negative,opus-FS-1,opus-FS-2 | | O-12 | Server diffs own history; checksum restore loses history and becomes new baseline | history-positive,history-negative | | O-13 | Enclosing folder scopes IDs; a copied budget does not break original | scope-positive,scope-negative | | O-14 | Owner question: optional Obsidian links; existing Markdown-only default retained | obsidian-positive,obsidian-negative,opus-O-3,opus-O-4 | | O-15 | merged-into stores category ID, no YAML Markdown path | merge-positive,merge-negative | | O-16 | Monthly proportional funding independent of intraday order | monthly-card-positive,monthly-card-negative,metamorphic | | O-17 | Date-only rate compares local calendar date | date-rate-positive,date-rate-negative,opus-D-1 | | O-18 | Home change at month start; no mixed-unit month | home-positive,home-negative | | O-19 | Reserve native coverage survives F3; payment consumes historical basis, actual FX difference to RTA | home-card-positive,home-card-negative | | O-20 | Owner question: bank-field ownership alternative tested; S2 default remains | ownership-positive,ownership-negative | | O-21 | Tabs accepted as semantic list levels | phone-positive,phone-negative,opus-O-1 | | O-22 | Capitalized keys accepted and writer normalizes | phone-positive,phone-negative,opus-O-2 | | O-23 | Prose/headings between records accepted; malformed candidates rejected | prose-positive,prose-negative,opus-O-5 | | O-24 | Handwritten IDs optional; unreferenced duplicates re-IDed, references protected | ids-positive,ids-negative,ids-server-positive,opus-O-6 | | O-25 | 255 UTF-16 component cap; long Hindi filename accepted | filename-positive,filename-negative,opus-FS-3 | | O-26 | Exact reciprocal rate accepted, no rounded inverse needed | home-positive,opus-F3-1 | | O-27 | App may save a dated reference rate via automation; missing quote retained as draft, never silently posted | rate-positive,foreign-draft-negative | | O-28 | Targets computed at F3 rate and materialized on app save | targets-positive,targets-negative | | O-29 | Absent group defaults to Other | metadata-positive,metadata-negative | | O-30 | Claims can belong to any expense category; Reimbursements is UI default | claims-positive,claims-negative | | O-31 | Mixed-sign and explicit RTA/category splits accepted | split-positive,split-negative,rta-split-positive,rta-split-negative,opus-D-3,opus-D-4 | | O-32 | No-cost subsidy is Interest inflow plus nonposting purchase link | subsidy-positive,subsidy-negative | Cashback arithmetic differs from the review recommendation: 24000 cash, 12000 reserve and 12100 RTA would overallocate by 100. V6 releases the 100 reserve into RTA, yielding reserve 11900 + RTA 12100 = cash 24000. The parsed cashback-positive test asserts this. O-14 and O-20 remain explicit owner questions; this pass does not override S2/S13 silently.
Author
Owner

Historical validation is currently blocked on the required shared build-slot scheduler. Both fresh historical commands are queued inside build-slot.sh; their output files are still empty. The live test-train priority marker points to a process that had been running for 45 minutes when checked. I have not bypassed the marker or signalled any process.

The current v6 gate itself is light and runs successfully: 323 parsed-file tests, all 30 Opus probes, all 92 earlier source fixtures under the documented migration, all 41 readability specimens plus the imported purchase, and 10 deliberately reintroduced money-rule mutants caught by the file tests. Spec coverage is 68/68 rules, zero uncovered. Historical reruns are still pending and are not being reported as passed from old evidence.

Historical validation is currently blocked on the required shared build-slot scheduler. Both fresh historical commands are queued inside build-slot.sh; their output files are still empty. The live test-train priority marker points to a process that had been running for 45 minutes when checked. I have not bypassed the marker or signalled any process. The current v6 gate itself is light and runs successfully: 323 parsed-file tests, all 30 Opus probes, all 92 earlier source fixtures under the documented migration, all 41 readability specimens plus the imported purchase, and 10 deliberately reintroduced money-rule mutants caught by the file tests. Spec coverage is 68/68 rules, zero uncovered. Historical reruns are still pending and are not being reported as passed from old evidence.
Author
Owner

Further parsed-file checks during the repair found and fixed integration errors that the previous card toy could not exercise:

  • Unfunded card spending no longer becomes free RTA through negative Available. card-negative and cashback-negative keep RTA/reserve at zero when there is no cash.
  • Positive card credit is spent before funding new card debt. With 200 assigned, 100 positive card credit and a 300 purchase, reserve is 100, not 200 (positive-credit-funding-positive).
  • A home change converts derived reversal bases without rewriting the original bank event. The September source keeps its INR book leg, and October's reversal uses EUR (reversal-after-home-positive).
  • A later category merge does not invalidate an earlier refund. Old refunds may retain the source category; new refunds may use its explicit merged target (historical-refund-after-merge-positive, new-refund-after-merge-positive).
  • The writer actually assigns IDs, repairs stale paths, normalizes tabs/key case, converts target lines and removes redundant raw payee. Every measured specimen is parsed and saved/reparsed against literal native-balance expectations.
  • The importer actually folds an evidenced counterpart into a destination-owned alias before replay (converter-positive, converter-negative).
  • S2 is executed on parsed saved files: a human category or timestamp edit revokes default ownership and keeps aliases. The explicit proposed field-group policy retains category edits, but both policies reject changed bank fields or untrusted restored via text (automation-default-negative, automation-proposed-positive, automation-restored-negative, automation-timestamp-negative).
  • The coverage auditor itself rejects a deleted rule, an unindexed new rule, a missing executed test and a wrongly marked negative test. Ten deliberate monetary mutants, including the eight silent-money classes, fail real file tests.

Current light gate: 338 tests passed; 89 negative cases; 68/68 rule groups covered, zero uncovered. Fresh historical suites are still waiting for the local test-train scheduler or the perf VM's required lock. Neither old PASS files nor a duplicate model are being used to claim those reruns have completed.

Further parsed-file checks during the repair found and fixed integration errors that the previous card toy could not exercise: - Unfunded card spending no longer becomes free RTA through negative Available. `card-negative` and `cashback-negative` keep RTA/reserve at zero when there is no cash. - Positive card credit is spent before funding new card debt. With 200 assigned, 100 positive card credit and a 300 purchase, reserve is 100, not 200 (`positive-credit-funding-positive`). - A home change converts derived reversal bases without rewriting the original bank event. The September source keeps its INR book leg, and October's reversal uses EUR (`reversal-after-home-positive`). - A later category merge does not invalidate an earlier refund. Old refunds may retain the source category; new refunds may use its explicit merged target (`historical-refund-after-merge-positive`, `new-refund-after-merge-positive`). - The writer actually assigns IDs, repairs stale paths, normalizes tabs/key case, converts target lines and removes redundant raw payee. Every measured specimen is parsed and saved/reparsed against literal native-balance expectations. - The importer actually folds an evidenced counterpart into a destination-owned alias before replay (`converter-positive`, `converter-negative`). - S2 is executed on parsed saved files: a human category or timestamp edit revokes default ownership and keeps aliases. The explicit proposed field-group policy retains category edits, but both policies reject changed bank fields or untrusted restored via text (`automation-default-negative`, `automation-proposed-positive`, `automation-restored-negative`, `automation-timestamp-negative`). - The coverage auditor itself rejects a deleted rule, an unindexed new rule, a missing executed test and a wrongly marked negative test. Ten deliberate monetary mutants, including the eight silent-money classes, fail real file tests. Current light gate: 338 tests passed; 89 negative cases; 68/68 rule groups covered, zero uncovered. Fresh historical suites are still waiting for the local test-train scheduler or the perf VM's required lock. Neither old PASS files nor a duplicate model are being used to claim those reruns have completed.
Author
Owner

Owner questions after the v6 repair

“Yes” accepts the recommendation. The unattended job records these questions and continues; silence is not approval. F1, F2 and F3 are already decided and are not questions again.

  1. O-14: Accept Obsidian [[wikilinks]] and shortest-path Markdown links when unique within the field's expected role folder? Alternatives: keep relative Markdown paths only; or accept those additional read forms and always write canonical relative angle links. Recommend yes to the second option. Existing Markdown-only behavior stays the default until answered. Both paths are tested.
  2. O-20: Keep automation ownership of bank fields when a person changes category/payee/memo on an imported pending row? Alternatives: current S2 whole-record revocation; or bank-field ownership for amount/status/timestamps/accounts/import, with bank-field edits still revoking ownership. Recommend yes to the second option so settlement updates survive categorisation. Current S2 stays the default until answered. Both policies are tested.
# Owner questions after the v6 repair “Yes” accepts the recommendation. The unattended job records these questions and continues; silence is not approval. F1, F2 and F3 are already decided and are not questions again. 1. O-14: Accept Obsidian `[[wikilinks]]` and shortest-path Markdown links when unique within the field's expected role folder? Alternatives: keep relative Markdown paths only; or accept those additional read forms and always write canonical relative angle links. Recommend yes to the second option. Existing Markdown-only behavior stays the default until answered. Both paths are tested. 2. O-20: Keep automation ownership of bank fields when a person changes category/payee/memo on an imported pending row? Alternatives: current S2 whole-record revocation; or bank-field ownership for amount/status/timestamps/accounts/import, with bank-field edits still revoking ownership. Recommend yes to the second option so settlement updates survive categorisation. Current S2 stays the default until answered. Both policies are tested.
Author
Owner

Historical harness findings, with evidence and chosen repair:

  1. The first remote bundle failed in legacy/convert-round6.py:20 because its relative dependency money-fixtures/actual-repo/nynab/ynab5-demo-budget.json was absent. That directory is beside money-auth on the local host, outside the initial bundle. I supplied the exact unchanged 1.4 MB fixture tree to the isolated remote scratch directories and restarted the failed staging run. No converter assertion or expected balance was changed.
  2. Running frozen model-v1.py against the current accumulated 92-pair corpus fails at original direction. Model v1 requires a signed merchant original; the later owner rule and final v5 model allow a positive merchant magnitude on an outflow. This is an expected retired-model contradiction, not a new v6 regression. The historical runner now executes all five accumulated suite sets against their final pre-v6 reference, model-v5.py. The retired models remain unchanged as evidence. Their old rules are not v6 oracles. V6 separately runs all 92 input/expected cash pairs through its native parser with the documented owner-driven migrations, every original Opus probe, and the new executable rule suites.

The failing local historical wrapper ended; the earlier queued inherited wrapper reached its own timeout without a build slot. No test-train or other job process was signalled. Fresh remote suites are running with bounded commands; the perf VM run holds its required lock and staging remains below 60% disk.

Historical harness findings, with evidence and chosen repair: 1. The first remote bundle failed in legacy/convert-round6.py:20 because its relative dependency money-fixtures/actual-repo/nynab/ynab5-demo-budget.json was absent. That directory is beside money-auth on the local host, outside the initial bundle. I supplied the exact unchanged 1.4 MB fixture tree to the isolated remote scratch directories and restarted the failed staging run. No converter assertion or expected balance was changed. 2. Running frozen model-v1.py against the current accumulated 92-pair corpus fails at original direction. Model v1 requires a signed merchant original; the later owner rule and final v5 model allow a positive merchant magnitude on an outflow. This is an expected retired-model contradiction, not a new v6 regression. The historical runner now executes all five accumulated suite sets against their final pre-v6 reference, model-v5.py. The retired models remain unchanged as evidence. Their old rules are not v6 oracles. V6 separately runs all 92 input/expected cash pairs through its native parser with the documented owner-driven migrations, every original Opus probe, and the new executable rule suites. The failing local historical wrapper ended; the earlier queued inherited wrapper reached its own timeout without a build slot. No test-train or other job process was signalled. Fresh remote suites are running with bounded commands; the perf VM run holds its required lock and staging remains below 60% disk.
Author
Owner

#628 v6 repair handover finished.

Spec: /home/kayg/Developer/calternal-research/money-auth/calternal-money-v6.md. FINAL.md is byte-identical. Current entry: python3 money-auth/gate.py. The retired toy/card gate is isolated in gate-legacy.py and is not loaded by the current gate.

Branch and head SHA: not applicable. This research directory is outside Git; no product commit or push was made. Product reference base SHA: a0785f1067. Final spec SHA-256: a65aa58b79ae34503d2a9bcd1c3f8b205ee2ae8b4284862263bdca63bc9af2c5.

F1/F2/F3/H1 contradictions are removed. Review simplifications 1–12 are adopted, with no History folder, Operations journal, hash snapshot, reconciliation member lists, redundant EMI components or invented approval questions about already decided behavior. O-14 and O-20 are the only owner questions; current S13/S2 defaults remain until answered. Silence is not approval.

All 52 C/F2/O findings have a fix or explicit owner-question disposition and executed test IDs below. The 13 P1 classes, including the eight previously accepted silent-money cases, now run through the same parsed-file interpreter. Current-month refunds/conversions reflow funding; a cash refund of a card purchase leaves its debt/reserve intact; parent-derived share identity prevents reserve changes on file reorder; server-version checks cover category and nested-destination path reuse. Additional regressions cover those integration cases. Real reserve releases become category money; cancelling an unfunded conversion only clears its budget shortfall, without inventing cash.

The historical reruns completed freshly on both staging and the perf VM. The perf run held /root/perf-vm.lock throughout. Output hashes match across both hosts. The missing fixture bundle and retired-model/corpus mismatch from the first attempts are documented in the earlier comment; no expected financial balances were weakened. Historical sets 1–5 use their final v5 reference because the retired models predate later corpus corrections. The exact historical function and model bytes were verified. The old r9 tax/lot proposals and its printed historical 3-P2 ledger are not current v6 policy or new open Opus findings.

Both isolated remote scratch directories have been removed. Staging is at 21.19% disk use. The queued local wrappers ended by their own timeout/test exit; no process belonging to another job was signalled. No production VM, product source, commit, push, merge, deployment, package installation or issue closure. Evidence stays here and in the research directory.

Finite research evidence does not certify product storage, real bank mappings, editor behavior or Rust/WASM conformance. A fresh independent model review is still appropriate before product adoption.

Finding → fix → executed test ID:

Opus repair findings for #628. The old gate accepted eight silent-money cases; all original file probes now run through model-v6.py. The exact original financial fields are in opus-probes-v6.json (only redundant frontmatter was migrated). The F3 arithmetic-only probe has a parsed-file equivalent. These fixes follow F1/F2/F3.

Finding Fix and evidence Test IDs
C1 F1 checksum-only export and new-baseline restore; removed portable journal history-positive,history-negative
C2 Removed snapshot attachment; one parsed home-change rate home-positive,home-negative
C3 RTA gets exact aggregate conversion remainder home-positive,opus-F3-1
C4 Tracking transfer token charges destination paid-from category tracking-positive,tracking-negative
C5 Share currency may inherit the parent transfer-positive,opus-F2-1
C6 Removed renamed-from; retained labels/IDs plus server versions metadata-positive,metadata-negative
F2-A Missing owned to is a Problem transfer-negative,opus-F2-2
F2-B Tracking account paid-from category funds principal tracking-positive,tracking-negative,opus-F2-3
F2-C On-budget destination requires transfer token category-destination-positive,category-destination-negative,opus-F2-4
F2-D Resolve expense share IDs; never refund a mixed parent or transfer leg refund-positive,refund-negative,opus-F2-7,opus-F2-8
F2-E Standalone reversal cancels debit or credit and every nested leg reversal-positive,reversal-negative
F2-F Allow destination-owned home/cleared/import at the extra level destination-state-positive,destination-state-negative
F2-G Actual received home-native amount supplies destination book fx-split-positive,fx-split-negative,opus-F2-9
F2-H Every transfer into a card consumes payment reserve card-payment-positive,card-payment-negative,opus-F2-10
F2-I Case-insensitive reserved words and collapsed spacing reserved-positive,reserved-negative,opus-F2-5
F2-J Single/all-transfer splits allowed; no category spending all-transfer-positive,all-transfer-negative,opus-F2-6
F2-K Hold manual overlaps; map source accounts and fold counterparts manual-match-negative,import-map-negative,counterpart-positive,counterpart-negative
F2-L App assigns stable IDs to every share; optional in handwritten input layout-positive,ids-positive,ids-server-positive
F2-M Budget-wide typed block-ID lookup; safe month path is a hint record-move-positive,record-move-negative
F2-N Cross-budget links are Problems; each budget records its own side scope-positive,scope-negative
O-01 from always debits magnitude; in credits nonnegative magnitude direction-positive,direction-negative,opus-S-1
O-02 convert is the only financial field; deleted field cannot flip a transfer emi-positive,emi-deletion-positive,emi-negative,opus-S-2,opus-S-3
O-03 Released EMI reserve returns to original category; current-month unfunded financing cancels its shortfall emi-positive,card-negative
O-04 Cashback releases funded reserve to RTA/category and conserves cash; unfunded debt reduction creates no cash cashback-positive,cashback-negative
O-05 Refund credits full historical category basis; attributed reserve only card-refund-positive,card-refund-negative
O-06 Assignment month is file month; repeated distinct SETs allowed assign-positive,assign-negative
O-07 Manual overlap is held, then explicit match attaches aliases manual-match-positive,manual-match-negative
O-08 Canonical month path participates without frontmatter layout-positive,opus-O-7
O-09 Average foreign book consumed; emptied holding has zero book; FX residual to RTA fx-residue-positive,fx-residue-negative,opus-D-2
O-10 Typed budget-wide block IDs survive safe stale month hints record-move-positive,record-move-negative
O-11 NFC/casefold resolution with collision rejection unicode-positive,unicode-negative,opus-FS-1,opus-FS-2
O-12 Server diffs own history; checksum restore loses history and becomes new baseline history-positive,history-negative
O-13 Enclosing folder scopes IDs; a copied budget does not break original scope-positive,scope-negative
O-14 Owner question: optional Obsidian links; existing Markdown-only default retained obsidian-positive,obsidian-negative,opus-O-3,opus-O-4
O-15 merged-into stores category ID, no YAML Markdown path merge-positive,merge-negative
O-16 Monthly net funding includes refunds/conversions, independent of intraday order monthly-card-positive,monthly-card-negative,metamorphic
O-17 Date-only rate compares local calendar date date-rate-positive,date-rate-negative,opus-D-1
O-18 Home change at month start; no mixed-unit month home-positive,home-negative
O-19 Reserve native coverage survives F3; payment consumes historical basis, actual FX difference to RTA home-card-positive,home-card-negative
O-20 Owner question: bank-field ownership alternative tested; S2 default remains ownership-positive,ownership-negative
O-21 Tabs accepted as semantic list levels phone-positive,phone-negative,opus-O-1
O-22 Capitalized keys accepted and writer normalizes phone-positive,phone-negative,opus-O-2
O-23 Prose/headings between records accepted; malformed candidates rejected prose-positive,prose-negative,opus-O-5
O-24 Handwritten IDs optional; unreferenced duplicates re-IDed, references protected ids-positive,ids-negative,ids-server-positive,opus-O-6
O-25 255 UTF-16 component cap; long Hindi filename accepted filename-positive,filename-negative,opus-FS-3
O-26 Exact reciprocal rate accepted, no rounded inverse needed home-positive,opus-F3-1
O-27 App may save a dated reference rate via automation; missing quote retained as draft, never silently posted rate-positive,foreign-draft-negative
O-28 Targets computed at F3 rate and materialized on app save targets-positive,targets-negative
O-29 Absent group defaults to Other metadata-positive,metadata-negative
O-30 Claims can belong to any expense category; Reimbursements is UI default claims-positive,claims-negative
O-31 Mixed-sign and explicit RTA/category splits accepted split-positive,split-negative,rta-split-positive,rta-split-negative,opus-D-3,opus-D-4
O-32 No-cost subsidy is Interest inflow plus nonposting purchase link subsidy-positive,subsidy-negative

Cashback arithmetic differs from the review recommendation: 24000 cash, 12000 reserve and 12100 RTA would overallocate by 100. V6 releases the 100 reserve into RTA, yielding reserve 11900 + RTA 12100 = cash 24000. The parsed cashback-positive test asserts this. O-14 and O-20 remain explicit owner questions; this pass does not override S2/S13 silently.

Final gate and handover output verbatim (includes spec coverage):

spec coverage: 68/68 rules; 0 uncovered
calternal-money v6 parsed-file gate: PASS
finding map: 52/52 entries reference executed tests
tests: 348 passed; 92 negative cases
Opus probes: 30/30; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
deliberate money-rule mutants: 14/14 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v6.py
fuzz: 2000 invalid inputs rejected; record-order permutations: 20 passed
readability: prior 10266/282; handwritten 8875/253; app-saved 10079/253 (chars/lines)
imported 450 INR: prior 463/13; handwritten 332/9; app-saved 356/9
historical suites: fresh recursive r2-r9 and accumulated test sets 1-5 PASS on staging and perf VM
historical outputs: matching hashes on both hosts; exact historical function/model bytes verified
remote cleanup: both isolated scratch directories removed; staging below 60% disk
handover integrity: 16 source/tooling hashes recorded
FINAL.md sha256: a65aa58b79ae34503d2a9bcd1c3f8b205ee2ae8b4284862263bdca63bc9af2c5
Scope: finite research model; no product code, commit, push, merge, deployment or issue closure
v6 handover: PASS

Fresh recursive inherited gate output verbatim (historical policy only):

Inherited suites through note-file link bridge: PASS
{"counts": {"adapted_unique_inputs": 195928, "file_links_checked": 2042328, "parser_calls": 3482612}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"}
calternal-money round-9 research gate: PASS
Previous suites: fresh recursive execution
tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"}
lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"}
shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"}
refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"}
wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500}
search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"}
archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124}
composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33}
readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446}
Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0
Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution

Accumulated historical test sets output verbatim:

historical test set 1: PASS (final v5 reference, current accumulated corpus)
historical test set 2: PASS (final v5 reference, current accumulated corpus)
historical test set 3: PASS (final v5 reference, current accumulated corpus)
historical test set 4: PASS (final v5 reference, current accumulated corpus)
historical test set 5: PASS (final v5 reference, current accumulated corpus)
Historical test sets 1..5: PASS; retired v1-v4 models are not v6 oracles

Readability against the previous FINAL

Counts are Unicode characters including LF and physical lines inside the exact source blocks. Baseline: previous FINAL's companion examples-owner.md, not r9. Handwritten v6 may omit IDs; the separate app-save columns include every assigned record/split-share/claim ID and canonical write spelling. Both exclude shared definitions and supplied context. Specimen 17 was empty and remains zero. Native-card errors in 27/28 and the tracking valuation in 37 are corrected and included.

Example Previous chars Previous lines Hand v6 chars Hand v6 lines App v6 chars App v6 lines
01 157 5 152 5 176 5
02 150 5 145 5 169 5
03 174 5 173 5 173 5
04 168 5 162 5 186 5
05 310 7 286 7 382 7
06 302 7 278 7 374 7
07 185 5 171 5 195 5
08 184 5 170 5 194 5
09 212 6 221 6 248 6
10 183 5 169 5 193 5
11 197 6 196 6 196 6
12 196 6 190 6 214 6
13 154 5 148 5 172 5
14 329 7 265 7 344 7
15 310 7 296 7 320 7
16 306 8 293 8 317 8
17 0 0 0 0 0 0
18 434 14 307 9 331 9
19 582 19 334 9 358 9
20 340 7 317 7 389 7
21 250 7 244 7 268 7
22 361 12 261 8 285 8
23 299 8 284 8 308 8
24 182 5 168 5 192 5
25 179 5 173 5 197 5
26 170 5 164 5 188 5
27 184 6 181 6 205 6
28 187 6 184 6 208 6
29 291 6 238 6 261 6
30 225 7 197 6 221 6
31 206 6 169 5 193 5
32 194 6 188 6 212 6
33 227 6 221 6 245 6
34 168 5 167 5 167 5
35 293 7 156 3 176 3
36 151 5 146 5 170 5
37 251 8 169 6 193 6
38 198 6 192 6 216 6
39 195 6 189 6 213 6
40 736 16 494 14 518 14
41 446 10 417 10 512 10
41 total 10266 282 8875 253 10079 253
Imported 450 INR 463 13 332 9 356 9

The 41 handwritten specimens shrink by 1391 characters (13.5%) and 29 lines (10.3%). Actual app saves shrink by 187 characters (1.8%) and 29 lines (10.3%), including assigned IDs. The import goes from 463 chars / 13 lines to 332 / 9 handwritten, or 356 / 9 app-written. The review called the baseline 12 lines, but its exact code has 13.

Run make-readability-v6.py, measure-saved-v6.py and combine-readability-v6.py to regenerate. No reading-speed claim is made.

Owner questions after the v6 repair

“Yes” accepts the recommendation. The unattended job records these questions and continues; silence is not approval. F1, F2 and F3 are already decided and are not questions again.

  1. O-14: Accept Obsidian [[wikilinks]] and shortest-path Markdown links when unique within the field's expected role folder? Alternatives: keep relative Markdown paths only; or accept those additional read forms and always write canonical relative angle links. Recommend yes to the second option. Existing Markdown-only behavior stays the default until answered. Both paths are tested.
  2. O-20: Keep automation ownership of bank fields when a person changes category/payee/memo on an imported pending row? Alternatives: current S2 whole-record revocation; or bank-field ownership for amount/status/timestamps/accounts/import, with bank-field edits still revoking ownership. Recommend yes to the second option so settlement updates survive categorisation. Current S2 stays the default until answered. Both policies are tested.
#628 v6 repair handover finished. Spec: /home/kayg/Developer/calternal-research/money-auth/calternal-money-v6.md. FINAL.md is byte-identical. Current entry: python3 money-auth/gate.py. The retired toy/card gate is isolated in gate-legacy.py and is not loaded by the current gate. Branch and head SHA: not applicable. This research directory is outside Git; no product commit or push was made. Product reference base SHA: a0785f1067c617755fbb00605aa0d5bb39163569. Final spec SHA-256: a65aa58b79ae34503d2a9bcd1c3f8b205ee2ae8b4284862263bdca63bc9af2c5. F1/F2/F3/H1 contradictions are removed. Review simplifications 1–12 are adopted, with no History folder, Operations journal, hash snapshot, reconciliation member lists, redundant EMI components or invented approval questions about already decided behavior. O-14 and O-20 are the only owner questions; current S13/S2 defaults remain until answered. Silence is not approval. All 52 C/F2/O findings have a fix or explicit owner-question disposition and executed test IDs below. The 13 P1 classes, including the eight previously accepted silent-money cases, now run through the same parsed-file interpreter. Current-month refunds/conversions reflow funding; a cash refund of a card purchase leaves its debt/reserve intact; parent-derived share identity prevents reserve changes on file reorder; server-version checks cover category and nested-destination path reuse. Additional regressions cover those integration cases. Real reserve releases become category money; cancelling an unfunded conversion only clears its budget shortfall, without inventing cash. The historical reruns completed freshly on both staging and the perf VM. The perf run held /root/perf-vm.lock throughout. Output hashes match across both hosts. The missing fixture bundle and retired-model/corpus mismatch from the first attempts are documented in the earlier comment; no expected financial balances were weakened. Historical sets 1–5 use their final v5 reference because the retired models predate later corpus corrections. The exact historical function and model bytes were verified. The old r9 tax/lot proposals and its printed historical 3-P2 ledger are not current v6 policy or new open Opus findings. Both isolated remote scratch directories have been removed. Staging is at 21.19% disk use. The queued local wrappers ended by their own timeout/test exit; no process belonging to another job was signalled. No production VM, product source, commit, push, merge, deployment, package installation or issue closure. Evidence stays here and in the research directory. Finite research evidence does not certify product storage, real bank mappings, editor behavior or Rust/WASM conformance. A fresh independent model review is still appropriate before product adoption. Finding → fix → executed test ID: Opus repair findings for #628. The old gate accepted eight silent-money cases; all original file probes now run through model-v6.py. The exact original financial fields are in opus-probes-v6.json (only redundant frontmatter was migrated). The F3 arithmetic-only probe has a parsed-file equivalent. These fixes follow F1/F2/F3. | Finding | Fix and evidence | Test IDs | | --- | --- | --- | | C1 | F1 checksum-only export and new-baseline restore; removed portable journal | history-positive,history-negative | | C2 | Removed snapshot attachment; one parsed home-change rate | home-positive,home-negative | | C3 | RTA gets exact aggregate conversion remainder | home-positive,opus-F3-1 | | C4 | Tracking transfer token charges destination paid-from category | tracking-positive,tracking-negative | | C5 | Share currency may inherit the parent | transfer-positive,opus-F2-1 | | C6 | Removed renamed-from; retained labels/IDs plus server versions | metadata-positive,metadata-negative | | F2-A | Missing owned to is a Problem | transfer-negative,opus-F2-2 | | F2-B | Tracking account paid-from category funds principal | tracking-positive,tracking-negative,opus-F2-3 | | F2-C | On-budget destination requires transfer token | category-destination-positive,category-destination-negative,opus-F2-4 | | F2-D | Resolve expense share IDs; never refund a mixed parent or transfer leg | refund-positive,refund-negative,opus-F2-7,opus-F2-8 | | F2-E | Standalone reversal cancels debit or credit and every nested leg | reversal-positive,reversal-negative | | F2-F | Allow destination-owned home/cleared/import at the extra level | destination-state-positive,destination-state-negative | | F2-G | Actual received home-native amount supplies destination book | fx-split-positive,fx-split-negative,opus-F2-9 | | F2-H | Every transfer into a card consumes payment reserve | card-payment-positive,card-payment-negative,opus-F2-10 | | F2-I | Case-insensitive reserved words and collapsed spacing | reserved-positive,reserved-negative,opus-F2-5 | | F2-J | Single/all-transfer splits allowed; no category spending | all-transfer-positive,all-transfer-negative,opus-F2-6 | | F2-K | Hold manual overlaps; map source accounts and fold counterparts | manual-match-negative,import-map-negative,counterpart-positive,counterpart-negative | | F2-L | App assigns stable IDs to every share; optional in handwritten input | layout-positive,ids-positive,ids-server-positive | | F2-M | Budget-wide typed block-ID lookup; safe month path is a hint | record-move-positive,record-move-negative | | F2-N | Cross-budget links are Problems; each budget records its own side | scope-positive,scope-negative | | O-01 | from always debits magnitude; in credits nonnegative magnitude | direction-positive,direction-negative,opus-S-1 | | O-02 | convert is the only financial field; deleted field cannot flip a transfer | emi-positive,emi-deletion-positive,emi-negative,opus-S-2,opus-S-3 | | O-03 | Released EMI reserve returns to original category; current-month unfunded financing cancels its shortfall | emi-positive,card-negative | | O-04 | Cashback releases funded reserve to RTA/category and conserves cash; unfunded debt reduction creates no cash | cashback-positive,cashback-negative | | O-05 | Refund credits full historical category basis; attributed reserve only | card-refund-positive,card-refund-negative | | O-06 | Assignment month is file month; repeated distinct SETs allowed | assign-positive,assign-negative | | O-07 | Manual overlap is held, then explicit match attaches aliases | manual-match-positive,manual-match-negative | | O-08 | Canonical month path participates without frontmatter | layout-positive,opus-O-7 | | O-09 | Average foreign book consumed; emptied holding has zero book; FX residual to RTA | fx-residue-positive,fx-residue-negative,opus-D-2 | | O-10 | Typed budget-wide block IDs survive safe stale month hints | record-move-positive,record-move-negative | | O-11 | NFC/casefold resolution with collision rejection | unicode-positive,unicode-negative,opus-FS-1,opus-FS-2 | | O-12 | Server diffs own history; checksum restore loses history and becomes new baseline | history-positive,history-negative | | O-13 | Enclosing folder scopes IDs; a copied budget does not break original | scope-positive,scope-negative | | O-14 | Owner question: optional Obsidian links; existing Markdown-only default retained | obsidian-positive,obsidian-negative,opus-O-3,opus-O-4 | | O-15 | merged-into stores category ID, no YAML Markdown path | merge-positive,merge-negative | | O-16 | Monthly net funding includes refunds/conversions, independent of intraday order | monthly-card-positive,monthly-card-negative,metamorphic | | O-17 | Date-only rate compares local calendar date | date-rate-positive,date-rate-negative,opus-D-1 | | O-18 | Home change at month start; no mixed-unit month | home-positive,home-negative | | O-19 | Reserve native coverage survives F3; payment consumes historical basis, actual FX difference to RTA | home-card-positive,home-card-negative | | O-20 | Owner question: bank-field ownership alternative tested; S2 default remains | ownership-positive,ownership-negative | | O-21 | Tabs accepted as semantic list levels | phone-positive,phone-negative,opus-O-1 | | O-22 | Capitalized keys accepted and writer normalizes | phone-positive,phone-negative,opus-O-2 | | O-23 | Prose/headings between records accepted; malformed candidates rejected | prose-positive,prose-negative,opus-O-5 | | O-24 | Handwritten IDs optional; unreferenced duplicates re-IDed, references protected | ids-positive,ids-negative,ids-server-positive,opus-O-6 | | O-25 | 255 UTF-16 component cap; long Hindi filename accepted | filename-positive,filename-negative,opus-FS-3 | | O-26 | Exact reciprocal rate accepted, no rounded inverse needed | home-positive,opus-F3-1 | | O-27 | App may save a dated reference rate via automation; missing quote retained as draft, never silently posted | rate-positive,foreign-draft-negative | | O-28 | Targets computed at F3 rate and materialized on app save | targets-positive,targets-negative | | O-29 | Absent group defaults to Other | metadata-positive,metadata-negative | | O-30 | Claims can belong to any expense category; Reimbursements is UI default | claims-positive,claims-negative | | O-31 | Mixed-sign and explicit RTA/category splits accepted | split-positive,split-negative,rta-split-positive,rta-split-negative,opus-D-3,opus-D-4 | | O-32 | No-cost subsidy is Interest inflow plus nonposting purchase link | subsidy-positive,subsidy-negative | Cashback arithmetic differs from the review recommendation: 24000 cash, 12000 reserve and 12100 RTA would overallocate by 100. V6 releases the 100 reserve into RTA, yielding reserve 11900 + RTA 12100 = cash 24000. The parsed cashback-positive test asserts this. O-14 and O-20 remain explicit owner questions; this pass does not override S2/S13 silently. Final gate and handover output verbatim (includes spec coverage): ```text spec coverage: 68/68 rules; 0 uncovered calternal-money v6 parsed-file gate: PASS finding map: 52/52 entries reference executed tests tests: 348 passed; 92 negative cases Opus probes: 30/30; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked deliberate money-rule mutants: 14/14 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v6.py fuzz: 2000 invalid inputs rejected; record-order permutations: 20 passed readability: prior 10266/282; handwritten 8875/253; app-saved 10079/253 (chars/lines) imported 450 INR: prior 463/13; handwritten 332/9; app-saved 356/9 historical suites: fresh recursive r2-r9 and accumulated test sets 1-5 PASS on staging and perf VM historical outputs: matching hashes on both hosts; exact historical function/model bytes verified remote cleanup: both isolated scratch directories removed; staging below 60% disk handover integrity: 16 source/tooling hashes recorded FINAL.md sha256: a65aa58b79ae34503d2a9bcd1c3f8b205ee2ae8b4284862263bdca63bc9af2c5 Scope: finite research model; no product code, commit, push, merge, deployment or issue closure v6 handover: PASS ``` Fresh recursive inherited gate output verbatim (historical policy only): ```text Inherited suites through note-file link bridge: PASS {"counts": {"adapted_unique_inputs": 195928, "file_links_checked": 2042328, "parser_calls": 3482612}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"} calternal-money round-9 research gate: PASS Previous suites: fresh recursive execution tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"} lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"} shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"} refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"} wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500} search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"} archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124} composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33} readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446} Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0 Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution ``` Accumulated historical test sets output verbatim: ```text historical test set 1: PASS (final v5 reference, current accumulated corpus) historical test set 2: PASS (final v5 reference, current accumulated corpus) historical test set 3: PASS (final v5 reference, current accumulated corpus) historical test set 4: PASS (final v5 reference, current accumulated corpus) historical test set 5: PASS (final v5 reference, current accumulated corpus) Historical test sets 1..5: PASS; retired v1-v4 models are not v6 oracles ``` # Readability against the previous FINAL Counts are Unicode characters including LF and physical lines inside the exact source blocks. Baseline: previous FINAL's companion examples-owner.md, not r9. Handwritten v6 may omit IDs; the separate app-save columns include every assigned record/split-share/claim ID and canonical write spelling. Both exclude shared definitions and supplied context. Specimen 17 was empty and remains zero. Native-card errors in 27/28 and the tracking valuation in 37 are corrected and included. | Example | Previous chars | Previous lines | Hand v6 chars | Hand v6 lines | App v6 chars | App v6 lines | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | 01 | 157 | 5 | 152 | 5 | 176 | 5 | | 02 | 150 | 5 | 145 | 5 | 169 | 5 | | 03 | 174 | 5 | 173 | 5 | 173 | 5 | | 04 | 168 | 5 | 162 | 5 | 186 | 5 | | 05 | 310 | 7 | 286 | 7 | 382 | 7 | | 06 | 302 | 7 | 278 | 7 | 374 | 7 | | 07 | 185 | 5 | 171 | 5 | 195 | 5 | | 08 | 184 | 5 | 170 | 5 | 194 | 5 | | 09 | 212 | 6 | 221 | 6 | 248 | 6 | | 10 | 183 | 5 | 169 | 5 | 193 | 5 | | 11 | 197 | 6 | 196 | 6 | 196 | 6 | | 12 | 196 | 6 | 190 | 6 | 214 | 6 | | 13 | 154 | 5 | 148 | 5 | 172 | 5 | | 14 | 329 | 7 | 265 | 7 | 344 | 7 | | 15 | 310 | 7 | 296 | 7 | 320 | 7 | | 16 | 306 | 8 | 293 | 8 | 317 | 8 | | 17 | 0 | 0 | 0 | 0 | 0 | 0 | | 18 | 434 | 14 | 307 | 9 | 331 | 9 | | 19 | 582 | 19 | 334 | 9 | 358 | 9 | | 20 | 340 | 7 | 317 | 7 | 389 | 7 | | 21 | 250 | 7 | 244 | 7 | 268 | 7 | | 22 | 361 | 12 | 261 | 8 | 285 | 8 | | 23 | 299 | 8 | 284 | 8 | 308 | 8 | | 24 | 182 | 5 | 168 | 5 | 192 | 5 | | 25 | 179 | 5 | 173 | 5 | 197 | 5 | | 26 | 170 | 5 | 164 | 5 | 188 | 5 | | 27 | 184 | 6 | 181 | 6 | 205 | 6 | | 28 | 187 | 6 | 184 | 6 | 208 | 6 | | 29 | 291 | 6 | 238 | 6 | 261 | 6 | | 30 | 225 | 7 | 197 | 6 | 221 | 6 | | 31 | 206 | 6 | 169 | 5 | 193 | 5 | | 32 | 194 | 6 | 188 | 6 | 212 | 6 | | 33 | 227 | 6 | 221 | 6 | 245 | 6 | | 34 | 168 | 5 | 167 | 5 | 167 | 5 | | 35 | 293 | 7 | 156 | 3 | 176 | 3 | | 36 | 151 | 5 | 146 | 5 | 170 | 5 | | 37 | 251 | 8 | 169 | 6 | 193 | 6 | | 38 | 198 | 6 | 192 | 6 | 216 | 6 | | 39 | 195 | 6 | 189 | 6 | 213 | 6 | | 40 | 736 | 16 | 494 | 14 | 518 | 14 | | 41 | 446 | 10 | 417 | 10 | 512 | 10 | | 41 total | 10266 | 282 | 8875 | 253 | 10079 | 253 | | Imported 450 INR | 463 | 13 | 332 | 9 | 356 | 9 | The 41 handwritten specimens shrink by 1391 characters (13.5%) and 29 lines (10.3%). Actual app saves shrink by 187 characters (1.8%) and 29 lines (10.3%), including assigned IDs. The import goes from 463 chars / 13 lines to 332 / 9 handwritten, or 356 / 9 app-written. The review called the baseline 12 lines, but its exact code has 13. Run make-readability-v6.py, measure-saved-v6.py and combine-readability-v6.py to regenerate. No reading-speed claim is made. # Owner questions after the v6 repair “Yes” accepts the recommendation. The unattended job records these questions and continues; silence is not approval. F1, F2 and F3 are already decided and are not questions again. 1. O-14: Accept Obsidian `[[wikilinks]]` and shortest-path Markdown links when unique within the field's expected role folder? Alternatives: keep relative Markdown paths only; or accept those additional read forms and always write canonical relative angle links. Recommend yes to the second option. Existing Markdown-only behavior stays the default until answered. Both paths are tested. 2. O-20: Keep automation ownership of bank fields when a person changes category/payee/memo on an imported pending row? Alternatives: current S2 whole-record revocation; or bank-field ownership for amount/status/timestamps/accounts/import, with bank-field edits still revoking ownership. Recommend yes to the second option so settlement updates survive categorisation. Current S2 stays the default until answered. Both policies are tested.
Author
Owner

Owner answers (kayg, 2026-10-19 night): Q1 YES — read Obsidian wikilinks and unambiguous shortest-path links as well as markdown links; write ONLY standard markdown links [t](<path>). Q2 YES — the user's edits always supersede automations; an automation may still update the bank fields it owns when a pending charge settles. Opus second pass running before finalisation.

Owner answers (kayg, 2026-10-19 night): Q1 YES — read Obsidian [[wikilinks]] and unambiguous shortest-path links as well as markdown links; write ONLY standard markdown links `[t](<path>)`. Q2 YES — the user's edits always supersede automations; an automation may still update the bank fields it owns when a pending charge settles. Opus second pass running before finalisation.
Author
Owner

Starting the second-pass repair for #628. Spec/tooling only in /home/kayg/Developer/calternal-research/money-auth/, which is outside Git. Branch and head SHA: not applicable; no commit or push is planned, consistent with the previous research pass. Product reference base SHA: a0785f1067. I will preserve v6, build one v7 parsed-file engine, execute new cases for every second-pass finding, and post the finding-to-fix-to-test table, exact gate output and readability counts. Latest owner decisions are authoritative: read wikilinks and unambiguous short paths, write standard Markdown angle links; human edits supersede automation, with retained ownership only for unchanged bank fields.

Starting the second-pass repair for #628. Spec/tooling only in /home/kayg/Developer/calternal-research/money-auth/, which is outside Git. Branch and head SHA: not applicable; no commit or push is planned, consistent with the previous research pass. Product reference base SHA: a0785f1067c617755fbb00605aa0d5bb39163569. I will preserve v6, build one v7 parsed-file engine, execute new cases for every second-pass finding, and post the finding-to-fix-to-test table, exact gate output and readability counts. Latest owner decisions are authoritative: read wikilinks and unambiguous short paths, write standard Markdown angle links; human edits supersede automation, with retained ownership only for unchanged bank fields.
Author
Owner

Second-pass findings and fixes are now represented in the v7 spec and one parsed-file engine. Reproduction before repair: the two-card payment reversal returned reserves card=0/card2=400000 minor units instead of 100000/200000; a two-share refund reversal restored 400000 instead of 300000; account/Budget body records were accepted without posting; an add-first move published a duplicate. The new targeted cases now restore the correct reserves, flag misplaced data and hold partial moves without changing IDs.

The first expanded staging run passed 436 tests, 76/76 rules with zero uncovered, and 18/18 source mutants killed. The final pass adds explicit moved history and more byte/decision-scope cases. Staging root and tmp disk checks remain under 60%. Local full-gate/perf lock queues have not been bypassed; no other job was signalled.

Finding Fix / definition New executed test IDs
N4 Reserve history uses (record, share); each multi-card payment/refund release restores only its own consumed reserve. Payment refunds use reversal, never an expense refund. N4-multicard-payment-reversal, N4-multishare-refund-reversal, N4-payment-refund-needs-reversal
N6 Transactions and assignments outside Months are Problems, including canonical account, category and Budget bodies. N6-account-body, N6-budget-body, N6-category-body
N1 Hold duplicate/removal partial generations against the last accepted base across save orders and sync gaps. Preserve IDs and links; report moved history. Only explicit deletion ends a deletion-only hold. N1-add-first, N1-delete-first-sync-gap, N1-true-duplicate, N1-explicit-delete, N1-move-retains-links, N1-history-reports-move
N2 Keep previous-bank-ids epochs and automatically retain prior bank-id on an account save using trusted history. Historical import source lines stay unchanged. N2-bank-epochs, N2-wrong-bank-epoch
N3 Persist one not match link per distinct pair; repeated equal amounts remain independent and other pairs still require review. N3-not-match, N3-not-match-scope, N3-decision-is-pair-specific
N5 Accept opaque Calternal note metadata, including multiline tags and table widths, while rejecting unknown Money fields. N5-note-frontmatter, N5-multiline-note-metadata, N5-unknown-money-key
N10 Quote YAML-interpreted values, preserve every user link label and patch only selected record/note spans. Check financial equivalence and textual fixed points on every valid fixture and fuzz input. N10-yaml-labels-fixed-point, N10-selected-yaml-and-reference-labels, N10-saved-yaml-scalar-types, N10-untouched-bytes, N10-single-record-preserves-all-other-files, N10-all-valid-fixtures-fixed-point, N10-generated-roundtrip-fuzz
N7 Unsigned shares inherit parent direction; explicit signs express opposite-direction returns. N7-unsigned-shares
N8 Reject explicit plus with from instead of silently debiting. N8-plus-from
N9 Provisional IDs use content plus identical-content occurrence, not line numbers; server ID persistence requires compare-and-swap. N9-content-identity
N12 Permit an RTA withdrawal with a visible direction warning; explain that income uses in. N12-rta-withdrawal-warning
N15 Define duplicate entity-note IDs as Problems; do not guess which account identity to replace. An explicit intentional copy receives a fresh ID before adoption. N15-entity-copy-problem
N16 Read first provider/epoch and final stage; retain internal spaces in the literal source ID. N16-spaced-import-id
N13 Explain negative RTA as the category restoration from a refund that cleared unfunded card debt; no invented reserve or cash. N13-unfunded-refund-explanation
Readability Generate collision-checked eight-character base32 IDs for app-saved records, shares and ID-less entity notes; retain user labels. short-ids-collision-checked, short-ids-collision-negative, N10-yaml-labels-fixed-point
O-14 owner answer Read wikilinks and unambiguous shortest paths by default; write standard Markdown angle links with retained labels. owner-links-default, owner-shortest-folder-paths, obsidian-negative
O-20 owner answer Human edits win. A trusted automation may still settle unchanged bank fields while preserving user category/payee/memo edits; editing bank fields revokes that authority. owner-bank-fields-default, ownership-negative, automation-restored-negative
Gate shuffle Move funded cash/card/income records across three month files as well as reorder them; compare invariant aggregate money. metamorphic-across-month-files, metamorphic
Opus permanent inputs Preserve 52 literal file inputs from rerun_v6.py, probes2.py and probes3.py, including corrected original F2-3 paid-from evidence; execute documented v7 expectations. opus2-rerun-v6-F2-3, opus2-probes2-N4b, opus2-probes3-F2x-6

Readability so far, using the identical 41 companion specimens: v6 handwritten 8875 chars / 253 lines, v7 handwritten 8875 / 253; v6 app-saved 10079 / 253, v7 app-saved 9371 / 253. The app-saved imported row goes from 356 / 9 to 342 / 9. All new generated record/share IDs are eight base32 characters, collision-checked across the budget; labels are preserved. Final exact output will follow.

Safe choices made without waiting for input: duplicate account/category note IDs are explicitly unsupported and flagged; a true record duplicate is a Problem, never automatically copied; a deletion-only sync gap keeps the last accepted base and requires arrival of the moved ID or explicit deletion. Bank reissue needs saved epoch history or a trusted previous generation; the app writer retains that history before validation, leaving historical import lines untouched.

Second-pass findings and fixes are now represented in the v7 spec and one parsed-file engine. Reproduction before repair: the two-card payment reversal returned reserves card=0/card2=400000 minor units instead of 100000/200000; a two-share refund reversal restored 400000 instead of 300000; account/Budget body records were accepted without posting; an add-first move published a duplicate. The new targeted cases now restore the correct reserves, flag misplaced data and hold partial moves without changing IDs. The first expanded staging run passed 436 tests, 76/76 rules with zero uncovered, and 18/18 source mutants killed. The final pass adds explicit moved history and more byte/decision-scope cases. Staging root and tmp disk checks remain under 60%. Local full-gate/perf lock queues have not been bypassed; no other job was signalled. | Finding | Fix / definition | New executed test IDs | | --- | --- | --- | | N4 | Reserve history uses (record, share); each multi-card payment/refund release restores only its own consumed reserve. Payment refunds use reversal, never an expense refund. | `N4-multicard-payment-reversal`, `N4-multishare-refund-reversal`, `N4-payment-refund-needs-reversal` | | N6 | Transactions and assignments outside Months are Problems, including canonical account, category and Budget bodies. | `N6-account-body`, `N6-budget-body`, `N6-category-body` | | N1 | Hold duplicate/removal partial generations against the last accepted base across save orders and sync gaps. Preserve IDs and links; report moved history. Only explicit deletion ends a deletion-only hold. | `N1-add-first`, `N1-delete-first-sync-gap`, `N1-true-duplicate`, `N1-explicit-delete`, `N1-move-retains-links`, `N1-history-reports-move` | | N2 | Keep previous-bank-ids epochs and automatically retain prior bank-id on an account save using trusted history. Historical import source lines stay unchanged. | `N2-bank-epochs`, `N2-wrong-bank-epoch` | | N3 | Persist one not match link per distinct pair; repeated equal amounts remain independent and other pairs still require review. | `N3-not-match`, `N3-not-match-scope`, `N3-decision-is-pair-specific` | | N5 | Accept opaque Calternal note metadata, including multiline tags and table widths, while rejecting unknown Money fields. | `N5-note-frontmatter`, `N5-multiline-note-metadata`, `N5-unknown-money-key` | | N10 | Quote YAML-interpreted values, preserve every user link label and patch only selected record/note spans. Check financial equivalence and textual fixed points on every valid fixture and fuzz input. | `N10-yaml-labels-fixed-point`, `N10-selected-yaml-and-reference-labels`, `N10-saved-yaml-scalar-types`, `N10-untouched-bytes`, `N10-single-record-preserves-all-other-files`, `N10-all-valid-fixtures-fixed-point`, `N10-generated-roundtrip-fuzz` | | N7 | Unsigned shares inherit parent direction; explicit signs express opposite-direction returns. | `N7-unsigned-shares` | | N8 | Reject explicit plus with from instead of silently debiting. | `N8-plus-from` | | N9 | Provisional IDs use content plus identical-content occurrence, not line numbers; server ID persistence requires compare-and-swap. | `N9-content-identity` | | N12 | Permit an RTA withdrawal with a visible direction warning; explain that income uses in. | `N12-rta-withdrawal-warning` | | N15 | Define duplicate entity-note IDs as Problems; do not guess which account identity to replace. An explicit intentional copy receives a fresh ID before adoption. | `N15-entity-copy-problem` | | N16 | Read first provider/epoch and final stage; retain internal spaces in the literal source ID. | `N16-spaced-import-id` | | N13 | Explain negative RTA as the category restoration from a refund that cleared unfunded card debt; no invented reserve or cash. | `N13-unfunded-refund-explanation` | | Readability | Generate collision-checked eight-character base32 IDs for app-saved records, shares and ID-less entity notes; retain user labels. | `short-ids-collision-checked`, `short-ids-collision-negative`, `N10-yaml-labels-fixed-point` | | O-14 owner answer | Read wikilinks and unambiguous shortest paths by default; write standard Markdown angle links with retained labels. | `owner-links-default`, `owner-shortest-folder-paths`, `obsidian-negative` | | O-20 owner answer | Human edits win. A trusted automation may still settle unchanged bank fields while preserving user category/payee/memo edits; editing bank fields revokes that authority. | `owner-bank-fields-default`, `ownership-negative`, `automation-restored-negative` | | Gate shuffle | Move funded cash/card/income records across three month files as well as reorder them; compare invariant aggregate money. | `metamorphic-across-month-files`, `metamorphic` | | Opus permanent inputs | Preserve 52 literal file inputs from rerun_v6.py, probes2.py and probes3.py, including corrected original F2-3 paid-from evidence; execute documented v7 expectations. | `opus2-rerun-v6-F2-3`, `opus2-probes2-N4b`, `opus2-probes3-F2x-6` | Readability so far, using the identical 41 companion specimens: v6 handwritten 8875 chars / 253 lines, v7 handwritten 8875 / 253; v6 app-saved 10079 / 253, v7 app-saved 9371 / 253. The app-saved imported row goes from 356 / 9 to 342 / 9. All new generated record/share IDs are eight base32 characters, collision-checked across the budget; labels are preserved. Final exact output will follow. Safe choices made without waiting for input: duplicate account/category note IDs are explicitly unsupported and flagged; a true record duplicate is a Problem, never automatically copied; a deletion-only sync gap keeps the last accepted base and requires arrival of the moved ID or explicit deletion. Bank reissue needs saved epoch history or a trusted previous generation; the app writer retains that history before validation, leaving historical import lines untouched.
Author
Owner

Finished the second-pass repair for #628. FINAL.md is byte-identical to calternal-money-v7.md. The current entry point is gate.py -> gate-v7.py -> model-v7.py; every money assertion uses that one parsed-file engine.

Branch/head SHA: not applicable. This requested research directory is outside Git; no commit or push was made. Product reference base SHA remains a0785f1067. Final source fingerprint (SHA-256): fed38aa49610d193a4e06d4ce9965ac2c87cadc6456b1b9e14c9bd6a4b2d5061. FINAL/spec SHA-256: b0b73d41ad7bf46b1b5c369d1bc0b4fc66644e576bf7bc1e0241a933bbb9bdec. The 16 active source/dependency files used remotely match the local bytes.

Finding Fix / explicit definition Executed test IDs
N4 Reserve history uses (record, share); each multi-card payment/refund release restores only its own consumed reserve. Payment refunds use reversal, never an expense refund. N4-multicard-payment-reversal, N4-multishare-refund-reversal, N4-payment-refund-needs-reversal
N6 Transactions and assignments outside Months are Problems, including canonical account, category and Budget bodies. N6-account-body, N6-budget-body, N6-category-body, N6-orphan-assign-body, N6-orphan-transaction-body
N1 Hold duplicate/removal partial generations against the last accepted base across save orders and sync gaps. Preserve IDs and links; report moved history. Only explicit deletion ends a deletion-only hold. N1-add-first, N1-delete-first-sync-gap, N1-true-duplicate, N1-explicit-delete, N1-move-retains-links, N1-history-reports-move
N2 Keep previous-bank-ids epochs and automatically retain prior bank-id on an account save using trusted history. Historical import source lines stay unchanged. N2-bank-epochs, N2-wrong-bank-epoch
N3 Persist one not match link per distinct pair; repeated equal amounts remain independent and other pairs still require review. N3-not-match, N3-not-match-scope, N3-decision-is-pair-specific
N5 Accept opaque Calternal note metadata, including multiline tags and table widths, while rejecting unknown Money fields. N5-note-frontmatter, N5-multiline-note-metadata, N5-unknown-money-key
N10 Quote YAML-interpreted values, preserve every user link label and patch only selected record/note spans. Check financial equivalence and textual fixed points on every valid fixture and fuzz input. N10-yaml-labels-fixed-point, N10-selected-yaml-and-reference-labels, N10-saved-yaml-scalar-types, N10-untouched-bytes, N10-single-record-preserves-all-other-files, N10-all-valid-fixtures-fixed-point, N10-generated-roundtrip-fuzz
N7 Unsigned shares inherit parent direction; explicit signs express opposite-direction returns. N7-unsigned-shares
N8 Reject explicit plus with from instead of silently debiting. N8-plus-from
N9 Provisional IDs use content plus identical-content occurrence, not line numbers; server ID persistence requires compare-and-swap. N9-content-identity, N9-selective-save-keeps-identical-neighbour-identity
N12 Permit an RTA withdrawal with a visible direction warning; explain that income uses in. N12-rta-withdrawal-warning
N15 Define duplicate entity-note IDs as Problems; do not guess which account identity to replace. An explicit intentional copy receives a fresh ID before adoption. N15-entity-copy-problem
N16 Read first provider/epoch and final stage; retain internal spaces in the literal source ID. N16-spaced-import-id
N13 Explain negative RTA as the category restoration from a refund that cleared unfunded card debt; no invented reserve or cash. N13-unfunded-refund-explanation
Readability Generate collision-checked eight-character base32 IDs for app-saved records, shares and ID-less entity notes; retain user labels. short-ids-collision-checked, short-ids-collision-negative, N10-yaml-labels-fixed-point
O-14 owner answer Read wikilinks and unambiguous shortest paths by default; write standard Markdown angle links with retained labels. owner-links-default, owner-shortest-folder-paths, obsidian-negative
O-20 owner answer Human edits win. A trusted automation may still settle unchanged bank fields while preserving user category/payee/memo edits; editing bank fields revokes that authority. owner-bank-fields-default, ownership-negative, automation-restored-negative
Gate shuffle Move funded cash/card/income records across three month files as well as reorder them; compare invariant aggregate money. metamorphic-across-month-files, metamorphic
Opus permanent inputs Preserve 52 literal file inputs from rerun_v6.py, probes2.py and probes3.py, including corrected original F2-3 paid-from evidence; execute documented v7 expectations. opus2-rerun-v6-F2-3, opus2-probes2-N4b, opus2-probes3-F2x-6

Evidence: N4 now restores reserves to card 100000 / card2 200000 minor units and RTA 9700000 after a bounced split payment, matching the baseline. Reversal of a two-share refund restores 300000 rather than v6’s 400000. N6 covers timestamped records and orphan financial bullets in canonical note bodies; the final two orphan cases were reproduced as accepted before the check was extended. N1 tests both save orders, repeated partial arrivals across a sync gap, true duplicates, retained refund/share references and moved history. No moved record is re-identified.

Read/write/read is checked for financial equality and repeated-write textual fixed points on all 183 valid fixture contexts and 1000 generated cases. Every such case also performs a real selective record save and compares all bytes outside that span and all other files. Invalid fixtures remain Problems. The 2000 malformed-input fuzz cases are still rejected. The 60 cross-month shuffles actually redistribute subsequent funded cash/card/income records among three month files; 20 original within-month permutations remain. All 76 normative rows have executed tests with the right polarity; none is uncovered.

The 52 literal second-pass inputs comprise all file inputs captured from rerun_v6.py, probes2.py and probes3.py. Their original bytes remain in fixtures. V7 expectations explicitly change duplicate copies to holds, require epoch history for history-free reissues, and spell an opposite-sign share with an explicit plus. N9/N10 operations outside the scripts’ run wrappers have named direct tests.

Readability, exact same specimens (Unicode chars including LF / physical lines):

Source Original companions v6 v7
41 handwritten specimens 10266 / 282 8875 / 253 8875 / 253
41 app-saved specimens, IDs included 10266 / 282 10079 / 253 9371 / 253
Imported row, handwritten 463 / 13 332 / 9 332 / 9
Imported row, app-saved 463 / 13 356 / 9 342 / 9

App-saved specimens use 708 fewer chars than v6 (7.0%) and 895 fewer than the original (8.7%), with 29 fewer lines than the original. The saved import uses 14 fewer chars than v6 and 121 fewer than the original. New record/share and ID-less entity IDs are eight collision-checked base32 characters. Existing IDs and all user labels remain. measure-v7.py reproduces the numbers; tables and logs stay outside source.

Final gate command: cd /tmp/money-v7-628 && timeout 180 python3 -I gate.py on staging root@10.69.69.192. Staging root disk was 23%, tmp 2%. The local full-gate slot waiter was stopped only after recording and verifying its own PID/output; no other job was signalled. No perf measurement or product build is claimed.

Gate output, verbatim:

spec coverage: 76/76 rules; 0 uncovered
calternal-money v7 parsed-file gate: PASS
second-pass finding map: 19/19 entries reference executed tests
first-pass finding map: 52/52 entries reference executed tests
tests: 443 passed; 125 negative cases
Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
deliberate money-rule mutants: 18/18 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py
fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes
round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60

No product code change, evidence commit, push, merge, deployment or issue closure. The latest owner link and bank-field ownership answers are defaults in both spec and engine. The research gate remains finite spec/tooling validation, with storage/editor/importer/UI integration left to product work.

Finished the second-pass repair for #628. FINAL.md is byte-identical to calternal-money-v7.md. The current entry point is gate.py -> gate-v7.py -> model-v7.py; every money assertion uses that one parsed-file engine. Branch/head SHA: not applicable. This requested research directory is outside Git; no commit or push was made. Product reference base SHA remains a0785f1067c617755fbb00605aa0d5bb39163569. Final source fingerprint (SHA-256): fed38aa49610d193a4e06d4ce9965ac2c87cadc6456b1b9e14c9bd6a4b2d5061. FINAL/spec SHA-256: b0b73d41ad7bf46b1b5c369d1bc0b4fc66644e576bf7bc1e0241a933bbb9bdec. The 16 active source/dependency files used remotely match the local bytes. | Finding | Fix / explicit definition | Executed test IDs | | --- | --- | --- | | N4 | Reserve history uses (record, share); each multi-card payment/refund release restores only its own consumed reserve. Payment refunds use reversal, never an expense refund. | `N4-multicard-payment-reversal`, `N4-multishare-refund-reversal`, `N4-payment-refund-needs-reversal` | | N6 | Transactions and assignments outside Months are Problems, including canonical account, category and Budget bodies. | `N6-account-body`, `N6-budget-body`, `N6-category-body`, `N6-orphan-assign-body`, `N6-orphan-transaction-body` | | N1 | Hold duplicate/removal partial generations against the last accepted base across save orders and sync gaps. Preserve IDs and links; report moved history. Only explicit deletion ends a deletion-only hold. | `N1-add-first`, `N1-delete-first-sync-gap`, `N1-true-duplicate`, `N1-explicit-delete`, `N1-move-retains-links`, `N1-history-reports-move` | | N2 | Keep previous-bank-ids epochs and automatically retain prior bank-id on an account save using trusted history. Historical import source lines stay unchanged. | `N2-bank-epochs`, `N2-wrong-bank-epoch` | | N3 | Persist one not match link per distinct pair; repeated equal amounts remain independent and other pairs still require review. | `N3-not-match`, `N3-not-match-scope`, `N3-decision-is-pair-specific` | | N5 | Accept opaque Calternal note metadata, including multiline tags and table widths, while rejecting unknown Money fields. | `N5-note-frontmatter`, `N5-multiline-note-metadata`, `N5-unknown-money-key` | | N10 | Quote YAML-interpreted values, preserve every user link label and patch only selected record/note spans. Check financial equivalence and textual fixed points on every valid fixture and fuzz input. | `N10-yaml-labels-fixed-point`, `N10-selected-yaml-and-reference-labels`, `N10-saved-yaml-scalar-types`, `N10-untouched-bytes`, `N10-single-record-preserves-all-other-files`, `N10-all-valid-fixtures-fixed-point`, `N10-generated-roundtrip-fuzz` | | N7 | Unsigned shares inherit parent direction; explicit signs express opposite-direction returns. | `N7-unsigned-shares` | | N8 | Reject explicit plus with from instead of silently debiting. | `N8-plus-from` | | N9 | Provisional IDs use content plus identical-content occurrence, not line numbers; server ID persistence requires compare-and-swap. | `N9-content-identity`, `N9-selective-save-keeps-identical-neighbour-identity` | | N12 | Permit an RTA withdrawal with a visible direction warning; explain that income uses in. | `N12-rta-withdrawal-warning` | | N15 | Define duplicate entity-note IDs as Problems; do not guess which account identity to replace. An explicit intentional copy receives a fresh ID before adoption. | `N15-entity-copy-problem` | | N16 | Read first provider/epoch and final stage; retain internal spaces in the literal source ID. | `N16-spaced-import-id` | | N13 | Explain negative RTA as the category restoration from a refund that cleared unfunded card debt; no invented reserve or cash. | `N13-unfunded-refund-explanation` | | Readability | Generate collision-checked eight-character base32 IDs for app-saved records, shares and ID-less entity notes; retain user labels. | `short-ids-collision-checked`, `short-ids-collision-negative`, `N10-yaml-labels-fixed-point` | | O-14 owner answer | Read wikilinks and unambiguous shortest paths by default; write standard Markdown angle links with retained labels. | `owner-links-default`, `owner-shortest-folder-paths`, `obsidian-negative` | | O-20 owner answer | Human edits win. A trusted automation may still settle unchanged bank fields while preserving user category/payee/memo edits; editing bank fields revokes that authority. | `owner-bank-fields-default`, `ownership-negative`, `automation-restored-negative` | | Gate shuffle | Move funded cash/card/income records across three month files as well as reorder them; compare invariant aggregate money. | `metamorphic-across-month-files`, `metamorphic` | | Opus permanent inputs | Preserve 52 literal file inputs from rerun_v6.py, probes2.py and probes3.py, including corrected original F2-3 paid-from evidence; execute documented v7 expectations. | `opus2-rerun-v6-F2-3`, `opus2-probes2-N4b`, `opus2-probes3-F2x-6` | Evidence: N4 now restores reserves to card 100000 / card2 200000 minor units and RTA 9700000 after a bounced split payment, matching the baseline. Reversal of a two-share refund restores 300000 rather than v6’s 400000. N6 covers timestamped records and orphan financial bullets in canonical note bodies; the final two orphan cases were reproduced as accepted before the check was extended. N1 tests both save orders, repeated partial arrivals across a sync gap, true duplicates, retained refund/share references and moved history. No moved record is re-identified. Read/write/read is checked for financial equality and repeated-write textual fixed points on all 183 valid fixture contexts and 1000 generated cases. Every such case also performs a real selective record save and compares all bytes outside that span and all other files. Invalid fixtures remain Problems. The 2000 malformed-input fuzz cases are still rejected. The 60 cross-month shuffles actually redistribute subsequent funded cash/card/income records among three month files; 20 original within-month permutations remain. All 76 normative rows have executed tests with the right polarity; none is uncovered. The 52 literal second-pass inputs comprise all file inputs captured from rerun_v6.py, probes2.py and probes3.py. Their original bytes remain in fixtures. V7 expectations explicitly change duplicate copies to holds, require epoch history for history-free reissues, and spell an opposite-sign share with an explicit plus. N9/N10 operations outside the scripts’ run wrappers have named direct tests. Readability, exact same specimens (Unicode chars including LF / physical lines): | Source | Original companions | v6 | v7 | | --- | ---: | ---: | ---: | | 41 handwritten specimens | 10266 / 282 | 8875 / 253 | 8875 / 253 | | 41 app-saved specimens, IDs included | 10266 / 282 | 10079 / 253 | 9371 / 253 | | Imported row, handwritten | 463 / 13 | 332 / 9 | 332 / 9 | | Imported row, app-saved | 463 / 13 | 356 / 9 | 342 / 9 | App-saved specimens use 708 fewer chars than v6 (7.0%) and 895 fewer than the original (8.7%), with 29 fewer lines than the original. The saved import uses 14 fewer chars than v6 and 121 fewer than the original. New record/share and ID-less entity IDs are eight collision-checked base32 characters. Existing IDs and all user labels remain. `measure-v7.py` reproduces the numbers; tables and logs stay outside source. Final gate command: `cd /tmp/money-v7-628 && timeout 180 python3 -I gate.py` on staging root@10.69.69.192. Staging root disk was 23%, tmp 2%. The local full-gate slot waiter was stopped only after recording and verifying its own PID/output; no other job was signalled. No perf measurement or product build is claimed. Gate output, verbatim: ```text spec coverage: 76/76 rules; 0 uncovered calternal-money v7 parsed-file gate: PASS second-pass finding map: 19/19 entries reference executed tests first-pass finding map: 52/52 entries reference executed tests tests: 443 passed; 125 negative cases Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked deliberate money-rule mutants: 18/18 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60 ``` No product code change, evidence commit, push, merge, deployment or issue closure. The latest owner link and bank-field ownership answers are defaults in both spec and engine. The research gate remains finite spec/tooling validation, with storage/editor/importer/UI integration left to product work.
Author
Owner

Cleanup complete: removed only this job’s /tmp/money-v7-628 scratch copies on staging and the perf VM. Local source and evidence remain in their designated research and /tmp directories. Staging remains below 60% disk. No other process or production VM was touched. Final gate and finding table are in comment 59653.

Cleanup complete: removed only this job’s /tmp/money-v7-628 scratch copies on staging and the perf VM. Local source and evidence remain in their designated research and /tmp directories. Staging remains below 60% disk. No other process or production VM was touched. Final gate and finding table are in comment 59653.
Author
Owner

Starting the third-pass availability fixes and documentation guide. Work stays in /home/kayg/Developer/calternal-research/money-auth, an existing research workspace outside Git. Branch: not applicable. Research base SHA: not applicable. No product code, commit, push, merge or deployment. I will record the nearby product checkout SHA only as context. I am reading the 71 probes, adding permanent gate cases for T1/T2/T3/T5/T7c/T8/T9a/T9b, and writing DOCS-calternal-money.md. Ambiguity choice: use a durable observation step with compare-and-swap for generated IDs and bank history; ordinary unlinked deletions apply immediately, while ambiguous deletions withhold dependent totals only.

Starting the third-pass availability fixes and documentation guide. Work stays in /home/kayg/Developer/calternal-research/money-auth, an existing research workspace outside Git. Branch: not applicable. Research base SHA: not applicable. No product code, commit, push, merge or deployment. I will record the nearby product checkout SHA only as context. I am reading the 71 probes, adding permanent gate cases for T1/T2/T3/T5/T7c/T8/T9a/T9b, and writing DOCS-calternal-money.md. Ambiguity choice: use a durable observation step with compare-and-swap for generated IDs and bank history; ordinary unlinked deletions apply immediately, while ambiguous deletions withhold dependent totals only.
Author
Owner

Third-pass findings confirmed in the research interpreter. Product checkout context SHA is a0785f1067; research branch/base/head are not applicable because this workspace is outside Git.

Finding Evidence Fix under test
T1 Layout rejected any missing explicit record before evaluating other records. Plain deletions apply and appear in version history. Ambiguous transfer/dependent deletions withhold dependent totals; unrelated postings continue.
T2 Epoch union existed in parsed metadata and only selected note saves wrote it. Observation writes epochs before accepting the next generation. Empty save selections still write mandatory epoch history. Removed history blocks that account's imports.
T3 The scan searched financial words in every non-month file. Only format: calternal-money opts in. A misplaced record in a marked note gives a note-scoped Problem.
T5 Content identity can attach to a newly typed copy before IDs reach disk. Observation persists IDs. Unobserved ambiguous history cannot offer a record-specific Undo.
T7c Non-relative links were resolved only as role-folder suffixes. Accept the full current budget path from vault root; reject other budgets.
T8 hidden meant both note hiding and category hiding. archived is Money's category key. hidden remains opaque Notes metadata.
T9a Every unlisted frontmatter property was rejected. Plugin properties are opaque. Reserved Money fields and money-* remain checked.
T9b The metadata parser required nonempty values. Blank optional values mean absent. Required values still need a value.

The local gate is waiting for a shared build slot. I am also preparing a run on the perf VM under /root/perf-vm.lock. No product integration or durable filesystem adapter is claimed by these research helpers.

Third-pass findings confirmed in the research interpreter. Product checkout context SHA is a0785f1067c617755fbb00605aa0d5bb39163569; research branch/base/head are not applicable because this workspace is outside Git. | Finding | Evidence | Fix under test | | --- | --- | --- | | T1 | Layout rejected any missing explicit record before evaluating other records. | Plain deletions apply and appear in version history. Ambiguous transfer/dependent deletions withhold dependent totals; unrelated postings continue. | | T2 | Epoch union existed in parsed metadata and only selected note saves wrote it. | Observation writes epochs before accepting the next generation. Empty save selections still write mandatory epoch history. Removed history blocks that account's imports. | | T3 | The scan searched financial words in every non-month file. | Only format: calternal-money opts in. A misplaced record in a marked note gives a note-scoped Problem. | | T5 | Content identity can attach to a newly typed copy before IDs reach disk. | Observation persists IDs. Unobserved ambiguous history cannot offer a record-specific Undo. | | T7c | Non-relative links were resolved only as role-folder suffixes. | Accept the full current budget path from vault root; reject other budgets. | | T8 | hidden meant both note hiding and category hiding. | archived is Money's category key. hidden remains opaque Notes metadata. | | T9a | Every unlisted frontmatter property was rejected. | Plugin properties are opaque. Reserved Money fields and money-* remain checked. | | T9b | The metadata parser required nonempty values. | Blank optional values mean absent. Required values still need a value. | The local gate is waiting for a shared build slot. I am also preparing a run on the perf VM under /root/perf-vm.lock. No product integration or durable filesystem adapter is claimed by these research helpers.
Author
Owner

Finished the third-pass spec/tooling fixes and the documentation guide. No product code changed. No commit, push, merge, deploy or issue close.

Branch, research base SHA and head SHA: not applicable. /home/kayg/Developer/calternal-research/money-auth is an existing workspace outside Git. Nearby product checkout context SHA: a0785f1067. Final research source fingerprint (SHA-256 over the named file hashes): 2750b7fb1403636c76aa4340bdfc7aeba4da4af3ed904ba8b56d65274b3b5bb1.

Finding Fix Permanent test IDs
T1 Apply ordinary deletions and retain undo history. Ambiguous gaps suppress only dependent totals across sync gaps and whole-month removals. T1-external-plain-delete, T1-dependent-delete-scoped, T1-sync-gap-chain, T1-confirm-ambiguous-delete, T1-whole-month-removal-scoped
T2 Persist bank epochs at observation under CAS, even on an empty save. Detect removed history and hold only affected imports. T2-durable-epoch-chain, T2-empty-selection-persists-epoch, T2-history-removal-imports-only, T2-stale-observation-rejected
T3 Only marked files participate; scan real money shapes and scope misplaced data to the note. T3-nonmoney-false-positive-scan, T3-money-misplaced-note-only, T3-money-note-prose-is-not-record
T5 Persist IDs at observation. Mark raw content-identity swaps ambiguous, preventing unsafe record Undo. T5-observed-identity-chain, T5-unobserved-history-no-unsafe-undo
T7c Read vault-root paths inside the current budget and write relative Markdown; reject cross-budget targets. T7c-vault-absolute-links, T7c-cross-budget-rejected
T8 Use archived for Money categories and keep hidden opaque for Notes. T8-archived-separate-from-hidden, T8-invalid-archive
T9a Keep plugin properties opaque while rejecting reserved unknown financial settings. T9a-plugin-properties-opaque, T9a-unknown-money-property
T9b Treat empty optional properties and fields as absent; keep required-value and duplicate checks. T9b-empty-optional-values, T9b-empty-required-value, T9b-blank-duplicates-still-invalid

The guide is /home/kayg/Developer/calternal-research/money-auth/DOCS-calternal-money.md. It has the requested layout, line-by-line explanation, all Money fields, full examples for all requested scenarios, Problems, Obsidian editing and limits. The gate reads 18 transaction scenarios and ten full file headers from the guide itself and checks them with the same money interpreter.

Evidence: the final gate ran on staging, with disk at 23%, using timeout 300 python3 -I -B /tmp/money-628-third-final/gate.py. All 485 tests passed, including 137 negative cases. All eight new source mutations and the previous 18 were caught. FINAL.md and calternal-money-v7.md are byte-identical. All supported Money field names appear in the guide.

The five supplied probe scripts were also rerun against the final interpreter in an isolated staging scratch directory. All five exited zero with zero CRASH lines. t2check.py reports previous-bank-ids persisted: True for both selected and bulk saves; T2-empty-selection-persists-epoch checks the missing third path. The probe scripts print diagnostics rather than assertions; the permanent tests above check the expected results.

The old O-7 probe's unmarked month now stays outside Money as requested. Its marked INR 1 payment counts; the unmarked INR 5 does not. Both original and captured second-pass expectations explicitly reflect that policy change. Ordinary prose bullets also remain harmless inside marked account notes when they do not describe money or links.

Observation returns the files that the app must durably replace before showing the next accepted version. It models compare-and-swap, missing-ID persistence and epoch persistence. Actual file storage and crash safety still need product tests; this task changed only the spec, research tools, tests and lasting guide. Ambiguous moves retain their accepted base across sync gaps. Ordinary unlinked deletions need no app confirmation and are visible in history. Unknown dependent totals are unavailable, never zero.

The local build-slot waiter and the two queued perf-lock waiters I started were stopped after staging provided the gate. No other job was stopped. There are no remaining blockers or owner questions.

Gate output, verbatim:

spec coverage: 84/84 rules; 0 uncovered
third-pass finding map: 8/8 entries reference executed tests
calternal-money v7 parsed-file gate: PASS
second-pass finding map: 19/19 entries reference executed tests
first-pass finding map: 52/52 entries reference executed tests
tests: 485 passed; 137 negative cases
Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
documentation: 18/18 transaction scenarios; 10/10 full frontmatter examples; parsed-file round trips checked
deliberate money-rule mutants: 26/26 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py
fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes
round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60
Finished the third-pass spec/tooling fixes and the documentation guide. No product code changed. No commit, push, merge, deploy or issue close. Branch, research base SHA and head SHA: not applicable. /home/kayg/Developer/calternal-research/money-auth is an existing workspace outside Git. Nearby product checkout context SHA: a0785f1067c617755fbb00605aa0d5bb39163569. Final research source fingerprint (SHA-256 over the named file hashes): 2750b7fb1403636c76aa4340bdfc7aeba4da4af3ed904ba8b56d65274b3b5bb1. | Finding | Fix | Permanent test IDs | | --- | --- | --- | | T1 | Apply ordinary deletions and retain undo history. Ambiguous gaps suppress only dependent totals across sync gaps and whole-month removals. | `T1-external-plain-delete`, `T1-dependent-delete-scoped`, `T1-sync-gap-chain`, `T1-confirm-ambiguous-delete`, `T1-whole-month-removal-scoped` | | T2 | Persist bank epochs at observation under CAS, even on an empty save. Detect removed history and hold only affected imports. | `T2-durable-epoch-chain`, `T2-empty-selection-persists-epoch`, `T2-history-removal-imports-only`, `T2-stale-observation-rejected` | | T3 | Only marked files participate; scan real money shapes and scope misplaced data to the note. | `T3-nonmoney-false-positive-scan`, `T3-money-misplaced-note-only`, `T3-money-note-prose-is-not-record` | | T5 | Persist IDs at observation. Mark raw content-identity swaps ambiguous, preventing unsafe record Undo. | `T5-observed-identity-chain`, `T5-unobserved-history-no-unsafe-undo` | | T7c | Read vault-root paths inside the current budget and write relative Markdown; reject cross-budget targets. | `T7c-vault-absolute-links`, `T7c-cross-budget-rejected` | | T8 | Use archived for Money categories and keep hidden opaque for Notes. | `T8-archived-separate-from-hidden`, `T8-invalid-archive` | | T9a | Keep plugin properties opaque while rejecting reserved unknown financial settings. | `T9a-plugin-properties-opaque`, `T9a-unknown-money-property` | | T9b | Treat empty optional properties and fields as absent; keep required-value and duplicate checks. | `T9b-empty-optional-values`, `T9b-empty-required-value`, `T9b-blank-duplicates-still-invalid` | The guide is /home/kayg/Developer/calternal-research/money-auth/DOCS-calternal-money.md. It has the requested layout, line-by-line explanation, all Money fields, full examples for all requested scenarios, Problems, Obsidian editing and limits. The gate reads 18 transaction scenarios and ten full file headers from the guide itself and checks them with the same money interpreter. Evidence: the final gate ran on staging, with disk at 23%, using timeout 300 python3 -I -B /tmp/money-628-third-final/gate.py. All 485 tests passed, including 137 negative cases. All eight new source mutations and the previous 18 were caught. FINAL.md and calternal-money-v7.md are byte-identical. All supported Money field names appear in the guide. The five supplied probe scripts were also rerun against the final interpreter in an isolated staging scratch directory. All five exited zero with zero CRASH lines. t2check.py reports previous-bank-ids persisted: True for both selected and bulk saves; T2-empty-selection-persists-epoch checks the missing third path. The probe scripts print diagnostics rather than assertions; the permanent tests above check the expected results. The old O-7 probe's unmarked month now stays outside Money as requested. Its marked INR 1 payment counts; the unmarked INR 5 does not. Both original and captured second-pass expectations explicitly reflect that policy change. Ordinary prose bullets also remain harmless inside marked account notes when they do not describe money or links. Observation returns the files that the app must durably replace before showing the next accepted version. It models compare-and-swap, missing-ID persistence and epoch persistence. Actual file storage and crash safety still need product tests; this task changed only the spec, research tools, tests and lasting guide. Ambiguous moves retain their accepted base across sync gaps. Ordinary unlinked deletions need no app confirmation and are visible in history. Unknown dependent totals are unavailable, never zero. The local build-slot waiter and the two queued perf-lock waiters I started were stopped after staging provided the gate. No other job was stopped. There are no remaining blockers or owner questions. Gate output, verbatim: ```text spec coverage: 84/84 rules; 0 uncovered third-pass finding map: 8/8 entries reference executed tests calternal-money v7 parsed-file gate: PASS second-pass finding map: 19/19 entries reference executed tests first-pass finding map: 52/52 entries reference executed tests tests: 485 passed; 137 negative cases Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked documentation: 18/18 transaction scenarios; 10/10 full frontmatter examples; parsed-file round trips checked deliberate money-rule mutants: 26/26 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60 ```
Author
Owner

Starting the approved final-check repair for #628. Work is limited to spec, Python research tooling, permanent gate cases and the guide under /home/kayg/Developer/calternal-research/money-auth. This directory is outside Git, as the existing README documents; branch: none, base repository reference: dev at a0785f1067. No product branch, push, merge or deployment is needed. I will reproduce F1–F7, verify YNAB cash advance and balance transfer rules against its support pages, make every final probe and guide example a permanent assertion, and post the findings table and full gate output here. Evidence stays outside the repository.

Starting the approved final-check repair for #628. Work is limited to spec, Python research tooling, permanent gate cases and the guide under /home/kayg/Developer/calternal-research/money-auth. This directory is outside Git, as the existing README documents; branch: none, base repository reference: dev at a0785f1067c617755fbb00605aa0d5bb39163569. No product branch, push, merge or deployment is needed. I will reproduce F1–F7, verify YNAB cash advance and balance transfer rules against its support pages, make every final probe and guide example a permanent assertion, and post the findings table and full gate output here. Evidence stays outside the repository.
Author
Owner

Final-check findings verified from the Opus outputs and new permanent assertions:

Finding Evidence before repair Required behavior / choice
F1 P1 Income 24000 plus cash advance 1000 gave RTA 25000; guide advance gave RTA 1000. Keep the approved RTA invariant; expose card debt to cover and exclude borrowed cash until covered.
F2 P1 Funded Card2 purchase 1000 then Card to Card2 transfer released the Card2 reserve and raised RTA from 23000 to 24000. Keep payment money on the original debt card, show the receiving debt card as unfunded. YNAB documents that payment money does not move automatically.
F3 P2 Held Travel import marked only merge target groceries; Travel still showed -100. Mark source, every merge step and target unavailable.
F4 P2 Checking assertion covering held import raised a whole-budget mismatch. Checking check waits; unrelated accounts still work.
F5 P2 opening-balance: 50000 INR was accepted as opaque and ignored. Reject unsupported financial properties; show actual opening records.
F6 P1 Unmarked Months/2026-10.md with dated 500 expense disappeared with no Problem. Month-scoped Problem, affected month and later RTA unavailable.
F7 P3 home: 840 INR on from was rejected although unsigned amount follows direction. Give home the same sign rule.

Source verification found a material correction to the request: YNAB itself DOES raise Ready to Assign for cash advances and leaves payment Available unchanged. Its current support page says so explicitly: https://support.ynab.com/en_us/credit-card-cash-advances-an-overview-Hy6PmlOC9 . The approved Calternal rule is therefore a deliberate safer difference, not a claim of identical YNAB behavior. I will implement the approved invariant and state the difference in the guide and spec. For balance transfers I chose YNAB's documented keep-reserve behavior: https://support.ynab.com/en_us/how-to-make-a-credit-card-balance-transfer-ry5ETLWJo . No clarification is needed for this unattended job.

Final-check findings verified from the Opus outputs and new permanent assertions: | Finding | Evidence before repair | Required behavior / choice | | --- | --- | --- | | F1 P1 | Income 24000 plus cash advance 1000 gave RTA 25000; guide advance gave RTA 1000. | Keep the approved RTA invariant; expose card debt to cover and exclude borrowed cash until covered. | | F2 P1 | Funded Card2 purchase 1000 then Card to Card2 transfer released the Card2 reserve and raised RTA from 23000 to 24000. | Keep payment money on the original debt card, show the receiving debt card as unfunded. YNAB documents that payment money does not move automatically. | | F3 P2 | Held Travel import marked only merge target groceries; Travel still showed -100. | Mark source, every merge step and target unavailable. | | F4 P2 | Checking assertion covering held import raised a whole-budget mismatch. | Checking check waits; unrelated accounts still work. | | F5 P2 | opening-balance: 50000 INR was accepted as opaque and ignored. | Reject unsupported financial properties; show actual opening records. | | F6 P1 | Unmarked Months/2026-10.md with dated 500 expense disappeared with no Problem. | Month-scoped Problem, affected month and later RTA unavailable. | | F7 P3 | home: 840 INR on from was rejected although unsigned amount follows direction. | Give home the same sign rule. | Source verification found a material correction to the request: YNAB itself DOES raise Ready to Assign for cash advances and leaves payment Available unchanged. Its current support page says so explicitly: https://support.ynab.com/en_us/credit-card-cash-advances-an-overview-Hy6PmlOC9 . The approved Calternal rule is therefore a deliberate safer difference, not a claim of identical YNAB behavior. I will implement the approved invariant and state the difference in the guide and spec. For balance transfers I chose YNAB's documented keep-reserve behavior: https://support.ynab.com/en_us/how-to-make-a-credit-card-balance-transfer-ry5ETLWJo . No clarification is needed for this unattended job.
Author
Owner

Current parsed-file gate passes 599 tests, 91/91 rules with zero uncovered, 77/77 final-review input fixtures, 23/23 guide scenarios and 33/33 mutants. Historical sets 1–5 also pass. The inherited recursive historical run is temporarily blocked by a missing read-only fixture in the isolated remote copy: money-fixtures/actual-repo/nynab/ynab5-demo-budget.json (FileNotFoundError). I am copying the required fixture tree into that scratch directory and rerunning; no product source is involved. One additional regression found and fixed: a cashback clearing advance debt must release its borrowed-cash exclusion, and reversal must restore it. F1-advance-cashback-reversal now passes after failing with (100000, 0) for the stale exclusion.

Current parsed-file gate passes 599 tests, 91/91 rules with zero uncovered, 77/77 final-review input fixtures, 23/23 guide scenarios and 33/33 mutants. Historical sets 1–5 also pass. The inherited recursive historical run is temporarily blocked by a missing read-only fixture in the isolated remote copy: money-fixtures/actual-repo/nynab/ynab5-demo-budget.json (FileNotFoundError). I am copying the required fixture tree into that scratch directory and rerunning; no product source is involved. One additional regression found and fixed: a cashback clearing advance debt must release its borrowed-cash exclusion, and reversal must restore it. F1-advance-cashback-reversal now passes after failing with (100000, 0) for the stale exclusion.
Author
Owner

Two final edge checks are now permanent. F6-later-totals-wait verifies that an unmarked October file cannot leave November categories or final account totals looking complete: September snapshots remain numeric, while October onward and final aggregates wait. Merely marking RTA unavailable would still leave a silent partial balance. F1-advance-cashback-reversal first failed with a stale 100000-minor-unit borrowed-cash exclusion after the card debt reached zero; it now clears the exclusion and restores it on reversal. Historical sets 1–5 pass. The missing inherited-suite fixture tree has been copied into isolated staging scratch (disk remains 23%); the full inherited rerun is in progress. The final current gate and character-count refresh are running against the completed source snapshot.

Two final edge checks are now permanent. F6-later-totals-wait verifies that an unmarked October file cannot leave November categories or final account totals looking complete: September snapshots remain numeric, while October onward and final aggregates wait. Merely marking RTA unavailable would still leave a silent partial balance. F1-advance-cashback-reversal first failed with a stale 100000-minor-unit borrowed-cash exclusion after the card debt reached zero; it now clears the exclusion and restores it on reversal. Historical sets 1–5 pass. The missing inherited-suite fixture tree has been copied into isolated staging scratch (disk remains 23%); the full inherited rerun is in progress. The final current gate and character-count refresh are running against the completed source snapshot.
Author
Owner

Finished the approved spec/tooling/guide fixes for #628. Work remains under /home/kayg/Developer/calternal-research/money-auth, outside Git. Branch and head SHA: not applicable; no commit was created. The product repository stays at a0785f1067 with no tracked changes. No push, merge, deployment or issue closure.

Finding Fixed behavior Permanent test IDs
F1 P1 Income 24000 plus a 1000 advance leaves RTA 24000. The guide's 1000 advance plus 30 fee leaves RTA 0 and card debt to cover 1030. Borrowed cash is excluded until covered or repaid. F1-cash-advance, F1-cash-advance-not-income, F1-funded-fee-split, F1-advance-fund-pay-reverse, F1-advance-unfunded-payment, F1-advance-carry, F1-foreign-cash-advance, F1-home-change-exclusion, F1-advance-cashback-reversal, docs-cash-advance
F2 P1 Debt moves without being paid. The old debt card keeps its payment reserve; the card taking on debt shows its unfunded amount. RTA stays 23000 in the final probe. App card-to-bank moves use the advance rule. F2-balance-transfer-reserve-stays, F2-balance-transfer-not-payment, F2-app-card-bank-card, F2-advance-debt-transfer-reversal, docs-balance-transfer
F3 P2 Source, intermediate and target categories all wait when a merged row is held. F3-held-merged-category, F3-held-merge-chain
F4 P2 A check over held rows waits for that account; unrelated account checks still run. F4-held-account-check, F4-unheld-account-check
F5 P2 Unsupported balance/opening/starting/debt properties and unknown amount-valued properties are Problems. Known Notes metadata remains allowed. Opening cash, card debt and loan debt have executable dated examples. F5-money-looking-property, F5-harmless-note-properties, docs-opening-cash, docs-opening-card-debt, docs-opening-loan-debt
F6 P1 An unmarked canonical month with dated money candidates raises a month Problem. That month, later months and final aggregates wait; earlier snapshots remain valid. No missing payment is silently treated as zero. F6-unmarked-month, F6-unmarked-date-only, F6-later-totals-wait, F6-unmarked-prose-note
F7 P3 Unsigned home follows its leg/share, matching amount. Matching negative outflow spelling stays valid; conflicting signs fail. F7-unsigned-home, F7-plus-home-conflict, F7-split-home-and-destination, docs-foreign-account

FINAL.md and calternal-money-v7.md are identical. The guide includes the opening balances, balance transfer, corrected advance, ordinary bank import names such as checking-card-1, consistent renamed Food links, and scoped Problems. Every guide transaction has literal expected account/category/reserve/RTA totals and a parsed-file save round trip. All 11 YAML blocks are exercised. The 77 literal file evaluations from the final review are permanent fixtures, alongside the direct N9/N10/T5 history and T2 save-mode checks. Finding maps cover all seven final findings plus the earlier maps. Seven new source mutants reintroduce the seven failures and are caught.

Source verification corrects an assumption in the task: YNAB cash advances explicitly describes an increase in Ready to Assign and unchanged payment Available until assignment. Calternal deliberately follows the approved rule that borrowed cash cannot raise RTA. Both spec and guide say this is a difference from YNAB. YNAB transfer transactions describes the transfer legs. YNAB balance transfers says payment money does not move automatically, so Calternal keeps the old reserve and shows new unfunded debt. The web pages were read in full through Firecrawl.

Final current gate on isolated staging scratch, exit 0. Output verbatim:

spec coverage: 91/91 rules; 0 uncovered
final-check finding map: 7/7 entries reference executed tests
Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked
third-pass finding map: 8/8 entries reference executed tests
calternal-money v7 parsed-file gate: PASS
second-pass finding map: 19/19 entries reference executed tests
first-pass finding map: 52/52 entries reference executed tests
tests: 601 passed; 173 negative cases
Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
documentation: 23/23 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked
deliberate money-rule mutants: 33/33 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py
fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes
round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60

Readability refresh: the same 41 specimens measure [8875, 253] handwritten and [9371, 253] after app save (characters, lines); the imported specimen measures [332, 9] handwritten and [342, 9] saved. These are text counts, not reading-speed claims.

The final tested remote source matches the local source for all 14 changed/current source files. FINAL.md SHA-256: dd0ac8d9217af13602232e76c724b5a241654d622f9fa8d4fa5c8e68e4ae9ebe; guide SHA-256: 0d30245d24cac6659b54d407be3b09ff67b91f5178cdbebf1fe47ad108c60281. Evidence, measurement output and source hashes stay in scratch and this issue, outside the product repository. This is a finite research gate; product storage, importer, native/WASM and UI integration remain product acceptance work.

Historical sets 1–5 output verbatim:

historical test set 1: PASS (final v5 reference, current accumulated corpus)
historical test set 2: PASS (final v5 reference, current accumulated corpus)
historical test set 3: PASS (final v5 reference, current accumulated corpus)
historical test set 4: PASS (final v5 reference, current accumulated corpus)
historical test set 5: PASS (final v5 reference, current accumulated corpus)
Historical test sets 1..5: PASS; retired v1-v4 models are not v6 oracles

The missing fixture setup issue was resolved and the inherited suite reran fully, exit 0, with no reuse flags. Its output verbatim follows. Its NOT CLEAN line describes the frozen round-9 design ledger (three historical P2 entries), not a failure of the current 601-test Money gate. No old tax/investment fixtures are adopted as current Money product policy.

Inherited suites through note-file link bridge: PASS
{"counts": {"adapted_unique_inputs": 195927, "file_links_checked": 2042323, "parser_calls": 3473182}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"}
calternal-money round-9 research gate: PASS
Previous suites: fresh recursive execution
tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"}
lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"}
shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"}
refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"}
wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500}
search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"}
archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124}
composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33}
readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446}
Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0
Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution

This job's perf and staging scratch directories were removed after collecting evidence. Staging disk after cleanup:

Filesystem     1024-blocks     Used Available Capacity Mounted on
/dev/sda1        102996088 21835440  76925216      23% /
Finished the approved spec/tooling/guide fixes for #628. Work remains under /home/kayg/Developer/calternal-research/money-auth, outside Git. Branch and head SHA: not applicable; no commit was created. The product repository stays at a0785f1067c617755fbb00605aa0d5bb39163569 with no tracked changes. No push, merge, deployment or issue closure. | Finding | Fixed behavior | Permanent test IDs | | --- | --- | --- | | F1 P1 | Income 24000 plus a 1000 advance leaves RTA 24000. The guide's 1000 advance plus 30 fee leaves RTA 0 and card debt to cover 1030. Borrowed cash is excluded until covered or repaid. | F1-cash-advance, F1-cash-advance-not-income, F1-funded-fee-split, F1-advance-fund-pay-reverse, F1-advance-unfunded-payment, F1-advance-carry, F1-foreign-cash-advance, F1-home-change-exclusion, F1-advance-cashback-reversal, docs-cash-advance | | F2 P1 | Debt moves without being paid. The old debt card keeps its payment reserve; the card taking on debt shows its unfunded amount. RTA stays 23000 in the final probe. App card-to-bank moves use the advance rule. | F2-balance-transfer-reserve-stays, F2-balance-transfer-not-payment, F2-app-card-bank-card, F2-advance-debt-transfer-reversal, docs-balance-transfer | | F3 P2 | Source, intermediate and target categories all wait when a merged row is held. | F3-held-merged-category, F3-held-merge-chain | | F4 P2 | A check over held rows waits for that account; unrelated account checks still run. | F4-held-account-check, F4-unheld-account-check | | F5 P2 | Unsupported balance/opening/starting/debt properties and unknown amount-valued properties are Problems. Known Notes metadata remains allowed. Opening cash, card debt and loan debt have executable dated examples. | F5-money-looking-property, F5-harmless-note-properties, docs-opening-cash, docs-opening-card-debt, docs-opening-loan-debt | | F6 P1 | An unmarked canonical month with dated money candidates raises a month Problem. That month, later months and final aggregates wait; earlier snapshots remain valid. No missing payment is silently treated as zero. | F6-unmarked-month, F6-unmarked-date-only, F6-later-totals-wait, F6-unmarked-prose-note | | F7 P3 | Unsigned home follows its leg/share, matching amount. Matching negative outflow spelling stays valid; conflicting signs fail. | F7-unsigned-home, F7-plus-home-conflict, F7-split-home-and-destination, docs-foreign-account | FINAL.md and calternal-money-v7.md are identical. The guide includes the opening balances, balance transfer, corrected advance, ordinary bank import names such as checking-card-1, consistent renamed Food links, and scoped Problems. Every guide transaction has literal expected account/category/reserve/RTA totals and a parsed-file save round trip. All 11 YAML blocks are exercised. The 77 literal file evaluations from the final review are permanent fixtures, alongside the direct N9/N10/T5 history and T2 save-mode checks. Finding maps cover all seven final findings plus the earlier maps. Seven new source mutants reintroduce the seven failures and are caught. Source verification corrects an assumption in the task: [YNAB cash advances](https://support.ynab.com/en_us/credit-card-cash-advances-an-overview-Hy6PmlOC9) explicitly describes an increase in Ready to Assign and unchanged payment Available until assignment. Calternal deliberately follows the approved rule that borrowed cash cannot raise RTA. Both spec and guide say this is a difference from YNAB. [YNAB transfer transactions](https://support.ynab.com/en_us/transfer-transactions-a-guide-HJOsZz4Jj) describes the transfer legs. [YNAB balance transfers](https://support.ynab.com/en_us/how-to-make-a-credit-card-balance-transfer-ry5ETLWJo) says payment money does not move automatically, so Calternal keeps the old reserve and shows new unfunded debt. The web pages were read in full through Firecrawl. Final current gate on isolated staging scratch, exit 0. Output verbatim: ```text spec coverage: 91/91 rules; 0 uncovered final-check finding map: 7/7 entries reference executed tests Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked third-pass finding map: 8/8 entries reference executed tests calternal-money v7 parsed-file gate: PASS second-pass finding map: 19/19 entries reference executed tests first-pass finding map: 52/52 entries reference executed tests tests: 601 passed; 173 negative cases Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked documentation: 23/23 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked deliberate money-rule mutants: 33/33 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60 ``` Readability refresh: the same 41 specimens measure [8875, 253] handwritten and [9371, 253] after app save (characters, lines); the imported specimen measures [332, 9] handwritten and [342, 9] saved. These are text counts, not reading-speed claims. The final tested remote source matches the local source for all 14 changed/current source files. FINAL.md SHA-256: dd0ac8d9217af13602232e76c724b5a241654d622f9fa8d4fa5c8e68e4ae9ebe; guide SHA-256: 0d30245d24cac6659b54d407be3b09ff67b91f5178cdbebf1fe47ad108c60281. Evidence, measurement output and source hashes stay in scratch and this issue, outside the product repository. This is a finite research gate; product storage, importer, native/WASM and UI integration remain product acceptance work. Historical sets 1–5 output verbatim: ```text historical test set 1: PASS (final v5 reference, current accumulated corpus) historical test set 2: PASS (final v5 reference, current accumulated corpus) historical test set 3: PASS (final v5 reference, current accumulated corpus) historical test set 4: PASS (final v5 reference, current accumulated corpus) historical test set 5: PASS (final v5 reference, current accumulated corpus) Historical test sets 1..5: PASS; retired v1-v4 models are not v6 oracles ``` The missing fixture setup issue was resolved and the inherited suite reran fully, exit 0, with no reuse flags. Its output verbatim follows. Its NOT CLEAN line describes the frozen round-9 design ledger (three historical P2 entries), not a failure of the current 601-test Money gate. No old tax/investment fixtures are adopted as current Money product policy. ```text Inherited suites through note-file link bridge: PASS {"counts": {"adapted_unique_inputs": 195927, "file_links_checked": 2042323, "parser_calls": 3473182}, "mode": "fresh full inherited recursive execution, no reuse flags", "output_sha256": "2c07679ee547dd128347f89faa4fdcd3b94e45a1cc833cac2f3b2d597d12c966", "scope": "inherited semantics retained via exact reversible link adapter; note metadata validation and new owner fields run in gates v1-v4 separately"} calternal-money round-9 research gate: PASS Previous suites: fresh recursive execution tax_evidence: {"identical_gross_purchase_minor": 118000, "identical_net_salary_minor": 9000000, "negative_cases": 9, "possible_tax_minor": [18000, 6000], "possible_tds_minor": [1000000, 1500000], "scope": "single-item and simple payroll bridges; no tax liability/ITC/filing-policy computation"} lots: {"negative_cases": 5, "partial_disposal_quantity": "7.5", "possible_realized_economic_gains_minor": [25000, 15000], "remaining_basis_minor": 140000, "reorder_equal": true, "same_sale_proceeds_minor": 75000, "scope": "explicit synthetic uniform-cost allocations; no real security support or taxable gain calculation"} shared: {"claims_added_to_cash": 0, "initial_claims_minor": 900000, "months_with_receipts": 4, "net_cash_minor": -500000, "participants": 4, "remaining_claims_minor": {"claim-dev": 200000, "claim-mira": 0, "claim-noor": 0}, "scope": "same-unit exact claims/cash; no payable/novation/full envelope engine"} refunds: {"actual_received_inr_minor": 855000, "cancelled_usd_minor": 10000, "dispute_final_cash_minor": 845000, "fx_inr_minor": 15000, "historical_basis_minor": 840000, "interest_free_total_liability_minor": 1223600, "negative_cases": 9, "origin_month": "2026-09", "refund_months": ["2026-10", "2026-12"], "scope": "toy lineage/cash/basis and EMI liability; no full card reserves or settled-person payable implementation"} wallets: {"bank_minor": 400000, "budget_expense_on_acquisition_only_minor": 100000, "consolidated_cash_minor": 467500, "restricted_voucher_remaining_minor": 75000, "scope": "synthetic wallet components, not current provider limits or restricted-cash solvency engine", "wallet_minor": 67500, "wallet_spending_minor": 32500} search_access: {"absent_optional_record_findable": true, "indexed_records": 3, "memo_colons_preserved": true, "memo_numbers_posted": 0, "payee_text_and_entity_matches": 2, "place_current_label_findable": true, "raw_accessibility": "source review only; no NVDA/VoiceOver/Orca/editor session; M132 retained, no new severity from unmeasured audible cost"} archive: {"all_source_bytes_restored": true, "deterministic_retry": true, "month_end_snapshots_equal": 120, "months": 120, "partial_generations_withheld": 124, "scope": "synthetic cash and exact-byte envelope only; no actual /2 syntax, full report migration or real restore-client implementation", "source_files": 124} composer: {"automations_no_cash": 2, "classes": 21, "committed_records": 0, "coverage": "each unchanged M162 phrase mapped once; curated preview oracle, no NLP/UI execution", "phrases": 35, "unresolved_money_drafts": 33} readability: {"mandatory_delta_chars": 0, "mandatory_delta_lines": 0, "new_snippet_chars": 4814, "new_snippet_lines": 115, "new_snippets": 15, "r8_chars": 10153, "r8_lines": 284, "r9_chars": 10153, "r9_lines": 284, "scenarios": 41, "spec_r8_chars": 69439, "spec_r8_lines": 393, "spec_r9_chars": 85957, "spec_r9_lines": 446} Findings: 0 P1, 3 P2, 0 P3; NOT CLEAN; consecutive clean rounds: 0 Scope: finite design fixtures and curated previews; no product engine, full envelope/card replay, tax filing rules, actual /2 migrator, assistive technology or NLP/UI execution ``` This job's perf and staging scratch directories were removed after collecting evidence. Staging disk after cleanup: ```text Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda1 102996088 21835440 76925216 23% / ```
Author
Owner

Starting the last #628 reserve repair in research tooling and the two Money documents. Planned docs branch: docs/money-format, based on origin/dev at 074af46183. No product changes until the complete gate passes. I will add a readable explicit reserve move, rerun all suites and Opus probes, then open a documentation-only PR to dev. No merge or deployment.

Starting the last #628 reserve repair in research tooling and the two Money documents. Planned docs branch: docs/money-format, based on origin/dev at 074af46183b8afe4a108d1553cf4c649eceb068b. No product changes until the complete gate passes. I will add a readable explicit reserve move, rerun all suites and Opus probes, then open a documentation-only PR to dev. No merge or deployment.
Author
Owner

Last-check F2 is reproduced in last-semantics-output.txt: B2 has cash 23000 INR, zero debt on both cards, Card reserve 1000 INR, and RTA 22000 INR. The repair adds a separate dated move: payment CARD AMOUNT to payment OTHER-CARD record; to Ready to Assign releases only reserve above current debt. Bank transfers still retain the old reserve. The guide now says to move the held money to the new card, with a complete purchase → debt transfer → reserve move → payment example. Permanent regression F2-reserve-move-pay-chain asserts RTA 23000 INR, zero debt and zero reserves; overdraw is a Problem. Full validation is running before any product worktree is created.

Last-check F2 is reproduced in last-semantics-output.txt: B2 has cash 23000 INR, zero debt on both cards, Card reserve 1000 INR, and RTA 22000 INR. The repair adds a separate dated move: payment CARD AMOUNT to payment OTHER-CARD record; to Ready to Assign releases only reserve above current debt. Bank transfers still retain the old reserve. The guide now says to move the held money to the new card, with a complete purchase → debt transfer → reserve move → payment example. Permanent regression F2-reserve-move-pay-chain asserts RTA 23000 INR, zero debt and zero reserves; overdraw is a Problem. Full validation is running before any product worktree is created.
Author
Owner

The last-check F2 repair passes the current parsed-file gate. Test F2-reserve-move-pay-chain ends at RTA 23000 INR after purchase, debt transfer, explicit reserve move and payment; both card balances and reserves are zero. F2-reserve-release-rta checks the excess-release alternative; F2-reserve-move-too-much rejects 1001 INR against 1000 INR held. The move leaves bank balances unchanged, reduces the source funding pools and creates destination payment coverage. All 92 rules have positive and negative coverage. Full current gate output follows verbatim; historical and raw Opus reruns are still running.

spec coverage: 92/92 rules; 0 uncovered
final-check finding map: 7/7 entries reference executed tests
Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked
third-pass finding map: 8/8 entries reference executed tests
calternal-money v7 parsed-file gate: PASS
second-pass finding map: 19/19 entries reference executed tests
first-pass finding map: 52/52 entries reference executed tests
tests: 613 passed; 177 negative cases
Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
documentation: 24/24 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked
deliberate money-rule mutants: 36/36 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py
fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes
round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60
The last-check F2 repair passes the current parsed-file gate. Test F2-reserve-move-pay-chain ends at RTA 23000 INR after purchase, debt transfer, explicit reserve move and payment; both card balances and reserves are zero. F2-reserve-release-rta checks the excess-release alternative; F2-reserve-move-too-much rejects 1001 INR against 1000 INR held. The move leaves bank balances unchanged, reduces the source funding pools and creates destination payment coverage. All 92 rules have positive and negative coverage. Full current gate output follows verbatim; historical and raw Opus reruns are still running. ```text spec coverage: 92/92 rules; 0 uncovered final-check finding map: 7/7 entries reference executed tests Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked third-pass finding map: 8/8 entries reference executed tests calternal-money v7 parsed-file gate: PASS second-pass finding map: 19/19 entries reference executed tests first-pass finding map: 52/52 entries reference executed tests tests: 613 passed; 177 negative cases Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked documentation: 24/24 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked deliberate money-rule mutants: 36/36 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60 ```
Author
Owner

All 24 Opus scripts have now been rerun against a fresh copy of the repaired model, including last_semantics.py and the guide-derived definitions in last_docs_examples.py. Original probes are preserved; their temporary copies only point at the current model, add Card2 to the new guide scenario, and append the repaired B7/B8 checks. The existing captured-input gate checks the expected old/new format decisions separately. The old B2 chain still demonstrates the need for an explicit move; it is deliberately not an automatic side effect of the bank transfer. The repaired chain and release alternative both pass:

B7 move held money to Card2, then pay: expected RTA 23000
   cash 23000.00 | cards {'card:INR': 0.0, 'card2:INR': 0.0} | RTA 23000.00 | Available {'groceries': 0.0} | reserves {'card': 0.0, 'card2': 0.0} | cash-(RTA+Avail+reserves) = 0.00
B7/B8 reserve move and excess release: PASS, RTA 23000

All 24 guide scenarios and 11 YAML blocks evaluate. The inherited recursive historical suites are still running; no product documentation worktree has been created yet.

All 24 Opus scripts have now been rerun against a fresh copy of the repaired model, including last_semantics.py and the guide-derived definitions in last_docs_examples.py. Original probes are preserved; their temporary copies only point at the current model, add Card2 to the new guide scenario, and append the repaired B7/B8 checks. The existing captured-input gate checks the expected old/new format decisions separately. The old B2 chain still demonstrates the need for an explicit move; it is deliberately not an automatic side effect of the bank transfer. The repaired chain and release alternative both pass: ```text B7 move held money to Card2, then pay: expected RTA 23000 cash 23000.00 | cards {'card:INR': 0.0, 'card2:INR': 0.0} | RTA 23000.00 | Available {'groceries': 0.0} | reserves {'card': 0.0, 'card2': 0.0} | cash-(RTA+Avail+reserves) = 0.00 B7/B8 reserve move and excess release: PASS, RTA 23000 ``` All 24 guide scenarios and 11 YAML blocks evaluate. The inherited recursive historical suites are still running; no product documentation worktree has been created yet.
Author
Owner

All validation is complete: the current v7 gate, accumulated historical suites 1–5, fresh inherited recursive rounds 2–9, archived v6 gate and all 24 Opus scripts pass. Step 3 has now started. Created docs/money-format in /home/kayg/Developer/calternal-wt-moneydocs from origin/dev at 074af46183. Fetched origin and checked ADR numbers across all branches: 0056 is the largest, so 0057 is free. The worktree contains only docs/money/format.md, docs/money/spec.md and docs/adr/0057-money-files.md. The guide and spec are byte-identical to the validated final sources. ADR status is proposed, with acceptance pending kayg.

All validation is complete: the current v7 gate, accumulated historical suites 1–5, fresh inherited recursive rounds 2–9, archived v6 gate and all 24 Opus scripts pass. Step 3 has now started. Created docs/money-format in /home/kayg/Developer/calternal-wt-moneydocs from origin/dev at 074af46183b8afe4a108d1553cf4c649eceb068b. Fetched origin and checked ADR numbers across all branches: 0056 is the largest, so 0057 is free. The worktree contains only docs/money/format.md, docs/money/spec.md and docs/adr/0057-money-files.md. The guide and spec are byte-identical to the validated final sources. ADR status is proposed, with acceptance pending kayg.
Author
Owner

Finished #628 last-check F2 and prepared the documentation PR.

PR: #634
Branch: docs/money-format → dev
Base SHA: 074af46183
Head SHA: 3626f2e55f

The PR is open and unmerged for kayg. ADR 0057 is proposed pending kayg. The commit contains exactly docs/money/format.md, docs/money/spec.md and docs/adr/0057-money-files.md. Both Money documents are byte-identical to the validated final sources. No research tooling or evidence was committed. The committed diff check and worktree are clean.

Fix: a dated move: payment CARD AMOUNT to payment OTHER-CARD moves held payment reserve. A move to Ready to Assign releases only reserve above current debt. F2-reserve-move-pay-chain checks the funded 1000 INR purchase, debt transfer to Card2, reserve move and Checking payment: RTA ends at 23000 INR with both card balances and reserves zero. F2-reserve-release-rta checks the release alternative; F2-reserve-move-too-much rejects an overdraw. Partial moves, carry, nonnegative reserves, link writing and payment reversal are checked.

Fresh accumulated historical suites 1–5, inherited recursive rounds 2–9 and the archived v6 gate pass. The inherited bridge used no reuse flags and made 3482612 parser calls. All 24 Opus scripts were rerun against the final model, including last_semantics.py with the repaired B7/B8 chains asserted at RTA 23000 INR. Temporary copies preserve the original probes and point at the final model. The oldest guide harness also needed current account definitions: Card2 was missing and its bank import names predated the guide. Both guide runners now report all examples valid, without Problems. The guide-derived runner and permanent guide gate were already passing.

Final current gate output, verbatim:

spec coverage: 92/92 rules; 0 uncovered
final-check finding map: 7/7 entries reference executed tests
Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked
third-pass finding map: 8/8 entries reference executed tests
calternal-money v7 parsed-file gate: PASS
second-pass finding map: 19/19 entries reference executed tests
first-pass finding map: 52/52 entries reference executed tests
tests: 613 passed; 177 negative cases
Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92
readability specimens: 41/41 plus imported 450 INR; app save round trips checked
documentation: 24/24 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked
deliberate money-rule mutants: 36/36 killed by file tests
money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py
fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes
round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60

Final source/tooling SHA256 values, outside the product repo:

{
  "FINAL.md": "bfe39df6e29b55876a12d20bcca11db83120e07b29df19e7ddf37ac8a3a1c55e",
  "DOCS-calternal-money.md": "443caf9ab1ebe455db9a727864001f266cffd4bfcce532404d8394c76c5f4710",
  "model-v7.py": "9d5baf03c2d03816fe9c5d2d4685f8ebe85f2938a34778c45872e6a5f410147a",
  "gate-v7.py": "784f282f79b05862358249e6047234309f5060dc838bc48767620fec956ade02",
  "extra-v7-tests.py": "7508d8eedd34f5e0dfe4e60a5b37ceb22f4da6a1befd9424c948d84453f75f8d",
  "reserve-move-v7-tests.py": "6390fe0b782a426af09fd00923ac493b160240ece6f71a094844e54f3ef3f05c",
  "mutation-v7-tests.py": "80f7e87bb84f569b2f5517e180c3b84f044fc2a63edfe705522c2f1a3e90b36d",
  "third-pass-v7-tests.py": "060bbc3c36479093b05f75d459417b37e6a0d7d21709b1560c04113ea8081440"
}

No merge, deployment or issue closure was performed.

Finished #628 last-check F2 and prepared the documentation PR. PR: https://git.kayg.org/kayg/calternal/pulls/634 Branch: docs/money-format → dev Base SHA: 074af46183b8afe4a108d1553cf4c649eceb068b Head SHA: 3626f2e55f7818045db0623a6d96a5793fd3f586 The PR is open and unmerged for kayg. ADR 0057 is proposed pending kayg. The commit contains exactly docs/money/format.md, docs/money/spec.md and docs/adr/0057-money-files.md. Both Money documents are byte-identical to the validated final sources. No research tooling or evidence was committed. The committed diff check and worktree are clean. Fix: a dated move: payment CARD AMOUNT to payment OTHER-CARD moves held payment reserve. A move to Ready to Assign releases only reserve above current debt. F2-reserve-move-pay-chain checks the funded 1000 INR purchase, debt transfer to Card2, reserve move and Checking payment: RTA ends at 23000 INR with both card balances and reserves zero. F2-reserve-release-rta checks the release alternative; F2-reserve-move-too-much rejects an overdraw. Partial moves, carry, nonnegative reserves, link writing and payment reversal are checked. Fresh accumulated historical suites 1–5, inherited recursive rounds 2–9 and the archived v6 gate pass. The inherited bridge used no reuse flags and made 3482612 parser calls. All 24 Opus scripts were rerun against the final model, including last_semantics.py with the repaired B7/B8 chains asserted at RTA 23000 INR. Temporary copies preserve the original probes and point at the final model. The oldest guide harness also needed current account definitions: Card2 was missing and its bank import names predated the guide. Both guide runners now report all examples valid, without Problems. The guide-derived runner and permanent guide gate were already passing. Final current gate output, verbatim: ```text spec coverage: 92/92 rules; 0 uncovered final-check finding map: 7/7 entries reference executed tests Opus final review: 77/77 literal file evaluations; N9/N10/T5 history and all T2 save modes checked third-pass finding map: 8/8 entries reference executed tests calternal-money v7 parsed-file gate: PASS second-pass finding map: 19/19 entries reference executed tests first-pass finding map: 52/52 entries reference executed tests tests: 613 passed; 177 negative cases Opus probes: original 30/30; second-pass captured inputs: 52/52; prior source fixtures: 92/92 readability specimens: 41/41 plus imported 450 INR; app save round trips checked documentation: 24/24 transaction scenarios; 11/11 YAML examples (10 full notes plus marker); parsed-file round trips checked deliberate money-rule mutants: 36/36 killed by file tests money replay: postings, reserves, claims, share refunds, split transfers, FX, home changes use model-v7.py fuzz: 2000 invalid inputs rejected; 1000 generated valid inputs preserve read/write/read fixed points and untouched bytes round-trip fixtures: 183 valid fixtures; record-order permutations: 20; across-month-file shuffles: 60 ``` Final source/tooling SHA256 values, outside the product repo: ```json { "FINAL.md": "bfe39df6e29b55876a12d20bcca11db83120e07b29df19e7ddf37ac8a3a1c55e", "DOCS-calternal-money.md": "443caf9ab1ebe455db9a727864001f266cffd4bfcce532404d8394c76c5f4710", "model-v7.py": "9d5baf03c2d03816fe9c5d2d4685f8ebe85f2938a34778c45872e6a5f410147a", "gate-v7.py": "784f282f79b05862358249e6047234309f5060dc838bc48767620fec956ade02", "extra-v7-tests.py": "7508d8eedd34f5e0dfe4e60a5b37ceb22f4da6a1befd9424c948d84453f75f8d", "reserve-move-v7-tests.py": "6390fe0b782a426af09fd00923ac493b160240ece6f71a094844e54f3ef3f05c", "mutation-v7-tests.py": "80f7e87bb84f569b2f5517e180c3b84f044fc2a63edfe705522c2f1a3e90b36d", "third-pass-v7-tests.py": "060bbc3c36479093b05f75d459417b37e6a0d7d21709b1560c04113ea8081440" } ``` No merge, deployment or issue closure was performed.
Author
Owner

kayg (2026-10-21): accepted ADR 0057 — "if it has been break tested enough to cover edge cases and is stable to build architecture and ui on then yes". Evidence: 613 tests, 92/92 rules covered, 36/36 mutants killed, 24 guide scenarios, 11 YAML examples, 24 scripted Opus checks, four independent Opus passes and Codex rounds 1–9 plus v7. Merged as #634 into dev.

kayg (2026-10-21): accepted ADR 0057 — "if it has been break tested enough to cover edge cases and is stable to build architecture and ui on then yes". Evidence: 613 tests, 92/92 rules covered, 36/36 mutants killed, 24 guide scenarios, 11 YAML examples, 24 scripted Opus checks, four independent Opus passes and Codex rounds 1–9 plus v7. Merged as #634 into dev.
Author
Owner

kayg (2026-10-21) accepted ADR 0057: "if it has been break tested enough to cover edge cases and is stable to build architecture and ui on then yes". Evidence: 613 tests, 92/92 rules covered, 36/36 mutants killed, 24 guide scenarios, 11 YAML examples, 24 scripted Opus checks, four independent Opus passes, Codex rounds 1-9 plus v7. Docs PR #634.

kayg (2026-10-21) accepted ADR 0057: "if it has been break tested enough to cover edge cases and is stable to build architecture and ui on then yes". Evidence: 613 tests, 92/92 rules covered, 36/36 mutants killed, 24 guide scenarios, 11 YAML examples, 24 scripted Opus checks, four independent Opus passes, Codex rounds 1-9 plus v7. Docs PR #634.
Author
Owner

Closing during the 26 Oct handover cleanup: ADR 0057 was accepted by kayg (21 Oct) and landed (PRs #634, #648).

Closing during the 26 Oct handover cleanup: ADR 0057 was accepted by kayg (21 Oct) and landed (PRs #634, #648).
kayg closed this issue 2026-10-26 08:46:51 +00:00
Author
Owner

ADR 0003 evidence migration: docs/money/spec.md

Source commit: 3626f2e55f7818045db0623a6d96a5793fd3f586; snapshot from dev 55f35fcd. Full original source preserved below before repository removal/stripping. Design, code and test inputs are retained where applicable.

Original file (51,626 bytes): spec.md

ADR 0003 evidence migration: `docs/money/spec.md` Source commit: [3626f2e55f7818045db0623a6d96a5793fd3f586](https://git.kayg.org/kayg/calternal/commit/3626f2e55f7818045db0623a6d96a5793fd3f586); snapshot from dev `55f35fcd`. Full original source preserved below before repository removal/stripping. Design, code and test inputs are retained where applicable. Original file (51,626 bytes): [spec.md](https://git.kayg.org/attachments/c696ef2a-c316-4758-a9da-8cbd6a92d5d6)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#628
No description provided.