Repository navigation
ledger_health: time-bounded runtime probe (out of time is unverified, never ok) - #343
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 reasontime-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