Skip to content

[FREEZE-EXCEPTION] docs(ECO-005): disambiguate healthy/N=12 vs Veterano/N=24 solvency figures#440

Merged
alrimarleskovar merged 1 commit into
mainfrom
claude/fix-eco005-doc-pool-disambiguation
May 31, 2026
Merged

[FREEZE-EXCEPTION] docs(ECO-005): disambiguate healthy/N=12 vs Veterano/N=24 solvency figures#440
alrimarleskovar merged 1 commit into
mainfrom
claude/fix-eco005-doc-pool-disambiguation

Conversation

@alrimarleskovar
Copy link
Copy Markdown
Owner

[FREEZE-EXCEPTION rationale: documentation-only, single-line clarity fix in the internal cryptoeconomic audit findings. No code, no behavior change. Removes a self-inconsistency a judge could flag.]

What

Internal review of the ECO-005 re-audit caught a narrative inconsistency in docs/security/internal-audit-findings.md line 107: the bullet mixed two distinct pools in one sentence.

  • +$2.756 is the healthy preset (Comprovado, N=12) at 6.5% APY — verified in-repo.
  • But the bullet's context is the pitch's +$4.152 claim, which derived from the tripleVeteranDefault scenario (Veterano, N=24).

Quoting the N=12 figure next to an N=24 discussion lets a reader (or hackathon judge) flag an apparent internal inconsistency in our own audit doc. The fix labels every figure by preset and notes the $4.152 claim was the Veterano/N=24 scenario.

What this PR deliberately does NOT do

The reviewer suggested also stating the Veterano/N=24 healthy analogue as +$3.205. That figure is not inserted here — it appears nowhere in the repo and could not be reproduced from the sandbox (no built SDK; and even if run, it'd be this session's execution, not an independently-captured datapoint). Baking an unverified number into a security doc is exactly what an audit doc shouldn't do. This edit only disambiguates the figures already present and verified in-repo.

If the team wants the +$3.205 datapoint recorded, it should land via a runSimulation run whose output is captured in-repo first (e.g. a fixture or a logged test), then cited.

The other two reviewer points — verified, no action needed

Logged here for the record (both checked against main HEAD):

  1. reserveLpInFloat invariance test (ECO-007) — does it force LP > 0? ✅ Yes. tests/economic_parity.spec.ts:723 sets kaminoApy: 500 explicitly "so the GF fills and the LP slice is non-zero", and line 730 asserts lpDistribution > 0 before checking the flag invariance. The CI guard is not trivial — it exercises the LP>0 case the reviewer's manual sweep (which only hit LP=0 with the GF cap absorbing yield) didn't reach.

  2. ECO-001 reachability guard — is it in parity.spec.ts and in the js lane? ✅ Yes. tests/parity.spec.ts:342-383 (describe("ECO-001 reachability — netSolvency must not leak into programs/")), and ci.yml:96 runs pnpm test:parity in the js lane. The reviewer's grep missed it (they only found economic_parity.spec.ts), but the guard is present and running.

Test plan

Documentation-only change to a single markdown line. No code paths touched; tsc/tests unaffected.

https://claude.ai/code/session_01YapZy1Z5gzbV5EammBkSQm


Generated by Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
round_financial Ignored Ignored Preview May 31, 2026 2:03pm

Internal review caught a narrative inconsistency in the ECO-005 bullet:
the sentence mixed two pools. "+$2.756" is the `healthy` preset
(Comprovado, N=12), but the bullet's context is the pitch's "+$4.152"
claim, which derived from the `tripleVeteranDefault` scenario (Veterano,
N=24). Quoting the N=12 figure next to a N=24 discussion lets a reader
(or judge) flag an internal inconsistency in our own audit doc.

Fix: label every figure by preset explicitly and note that the $4.152
claim was the Veterano/N=24 scenario, distinct from the +$2.756
healthy/N=12 figure. The conclusion (solvency is yield-backed, not by
construction) is unchanged.

Note: the reviewer suggested also stating the Veterano/N=24 healthy
analogue as "+$3.205". That figure is NOT inserted here — it does not
appear anywhere in the repo and could not be reproduced from the
sandbox (no built SDK + would be this session's execution, not the
reviewer's). Rather than bake an unverified number into a security doc,
this edit only disambiguates the figures already present and verified
in-repo. If the team wants the +$3.205 datapoint, it should land via a
runSimulation run whose output is captured in-repo first.

https://claude.ai/code/session_01YapZy1Z5gzbV5EammBkSQm
@alrimarleskovar alrimarleskovar force-pushed the claude/fix-eco005-doc-pool-disambiguation branch from 83ab599 to 7634d50 Compare May 31, 2026 14:03
@alrimarleskovar alrimarleskovar merged commit ca631d6 into main May 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants