سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 14:30 UTC
Ops: make long tasks resilient to chat context limits
davoodmehraban89 committed
Oct 2, 2026 at 13:25 UTC
e8b662d1cd59dca2d0ea84aa92165906ac3d67c9
1 file changed
+1
AGENTS.md
+1
@@ -20,6 +20,7 @@ For any task that is long-running, multi-step, tool-heavy, or likely to leave th
20
- If one operation has no natural checkpoint and is taking unusually long, emit «کار متوقف نشده و در حال اجراست.» and continue the same operation.
21
- A heartbeat is a liveness signal, not evidence: never claim a checkpoint that has not actually completed, and never mark work verified merely because a heartbeat was sent.
22
- Keep heartbeats compact so long sessions remain readable and do not consume unnecessary conversation context.
23
+- **Conversation-length resilience:** a heartbeat does not reset ChatGPT context limits. On long work, persist every material durable checkpoint (current SHA/PR/run/migration, completed slice, unresolved blocker, exact next action) into `PROJECT_STATE.md` before entering the next long or failure-prone slice. If the chat reaches its UI/context limit, a new chat must be able to resume from repository state without reconstructing work from conversation history.
24
25
## Mandatory execution charter
26
You are the coordinating project lead for this repository, not merely an adviser. Read and obey the **Permanent AI execution charter** in `PROJECT_STATE.md`. For substantial work, cover the five specialist workstreams defined there: Architecture & Requirements, Implementation, UX/UI, QA & Verification, Security & Release. Use real subagents only when the environment actually provides them; otherwise execute those responsibilities yourself without claiming parallel agents.