chore: update session state and token checkpoints

This commit is contained in:
TheFlow 2025-10-26 11:35:07 +13:00
parent 4aed0aa5cf
commit 50f860ed30
3 changed files with 16 additions and 15 deletions

View file

@ -2470,7 +2470,7 @@
"id": "inst_075", "id": "inst_075",
"text": "AFTER each response, check <system-warning> for current token count. IF token count > next_checkpoint value in .claude/token-checkpoints.json, MUST run: node scripts/check-token-checkpoint.js --tokens [current]/[budget]. This generates pressure report and marks checkpoint as completed. Checkpoints are at 25% (50k), 50% (100k), 75% (150k). Checking checkpoints is MANDATORY, not optional. Token budget awareness prevents context window exhaustion and maintains quality.", "text": "AFTER each response, check <system-warning> for current token count. IF token count > next_checkpoint value in .claude/token-checkpoints.json, MUST run: node scripts/check-token-checkpoint.js --tokens [current]/[budget]. This generates pressure report and marks checkpoint as completed. Checkpoints are at 25% (50k), 50% (100k), 75% (150k). Checking checkpoints is MANDATORY, not optional. Token budget awareness prevents context window exhaustion and maintains quality.",
"timestamp": "2025-10-22T23:43:14.646Z", "timestamp": "2025-10-22T23:43:14.646Z",
"quadrant": "rules", "quadrant": "SYSTEM",
"persistence": "HIGH", "persistence": "HIGH",
"temporal_scope": "PERMANENT", "temporal_scope": "PERMANENT",
"verification_required": "MANDATORY", "verification_required": "MANDATORY",

View file

@ -43,13 +43,13 @@
"last_deliberation": null "last_deliberation": null
}, },
"FileEditHook": { "FileEditHook": {
"timestamp": "2025-10-24T22:50:31.421Z", "timestamp": "2025-10-25T22:29:05.152Z",
"file": "/home/theflow/projects/tractatus/public/js/admin/audit-analytics.js", "file": "/home/theflow/projects/tractatus/public/architecture.html",
"result": "passed" "result": "passed"
}, },
"FileWriteHook": { "FileWriteHook": {
"timestamp": "2025-10-24T22:27:56.671Z", "timestamp": "2025-10-25T22:24:31.911Z",
"file": "/home/theflow/projects/tractatus/AUDIT_ANALYTICS_IMPROVEMENTS.md", "file": "/home/theflow/projects/tractatus/public/locales/en/architecture.json",
"result": "passed" "result": "passed"
} }
}, },
@ -58,25 +58,26 @@
"tokens": 30000 "tokens": 30000
}, },
"alerts": [], "alerts": [],
"last_updated": "2025-10-24T22:50:31.421Z", "last_updated": "2025-10-25T22:29:05.152Z",
"initialized": true, "initialized": true,
"framework_components": { "framework_components": {
"CrossReferenceValidator": { "CrossReferenceValidator": {
"message": 0, "message": 0,
"tokens": 0, "tokens": 0,
"timestamp": "2025-10-24T22:51:16.215Z", "timestamp": "2025-10-25T22:34:53.907Z",
"last_validation": "2025-10-24T22:51:16.215Z", "last_validation": "2025-10-25T22:34:53.907Z",
"validations_performed": 1570 "validations_performed": 2004
}, },
"BashCommandValidator": { "BashCommandValidator": {
"message": 0, "message": 0,
"tokens": 0, "tokens": 0,
"timestamp": null, "timestamp": null,
"last_validation": "2025-10-24T22:51:16.216Z", "last_validation": "2025-10-25T22:34:53.908Z",
"validations_performed": 1058, "validations_performed": 1403,
"blocks_issued": 118 "blocks_issued": 159
} }
}, },
"action_count": 1058, "action_count": 1403,
"auto_compact_events": [] "auto_compact_events": [],
"background_processes": []
} }

View file

@ -23,5 +23,5 @@
], ],
"next_checkpoint": 50000, "next_checkpoint": 50000,
"overdue": false, "overdue": false,
"last_check": "2025-10-24T22:36:38.149Z" "last_check": "2025-10-25T22:11:16.222Z"
} }