Skip to content

ledger_health: time-bounded runtime probe (out of time is unverified, never ok) - #343

Merged
plur9 merged 1 commit into
mainfrom
fix/ledger-health-time-budget
Nov 14, 2026
Merged

plur9 merged 1 commit into
mainfrom
fix/ledger-health-time-budget

Conversation

@plur9

@plur9 plur9 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

datacore_status runs ledger_health.py inside the 30 s MCP limit (promise MOD-7). With no verified-prefix markers (fresh install, cleared state, or every test's isolated state folder) a full verify took over two minutes and the tool answered nothing. The JSON probe now stops starting new spaces and logs after a budget (DATACORE_LEDGER_HEALTH_BUDGET_S, default 20 s): the rest is unverified with reason time-budget, never verified, and markers from what was checked make the next call go further. --report (the scheduled check) still checks everything. Cold on dayshift: 22 s. Three tests written first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MrfsFw8X6iNzKLGMKxzKDR

…rified, never ok

datacore_status runs ledger_health.py inside the 30 s MCP limit (MOD-7). With
no verified-prefix markers (fresh install, cleared state, every test's isolated
state folder) the full verify took over two minutes and the tool answered
nothing. The JSON probe now stops starting new spaces and logs after a budget
(DATACORE_LEDGER_HEALTH_BUDGET_S, default 20 s): what is left is unverified
with reason time-budget, never verified; markers from what was checked make
the next call go further. --report (the scheduled check) still checks all.
Cold on dayshift: 22 s. Three tests written first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrfsFw8X6iNzKLGMKxzKDR
@plur9
plur9 merged commit bc5a22d into main Nov 14, 2026
10 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.

1 participant