You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Clearfolio's autonomous development loop diagnosable and resumable when an hourly invocation ends at a platform/tool boundary. Operators must be able to distinguish scheduling, run admission, queue construction, repository execution, clean budget continuation, and failure instead of receiving only a generic task-error sentence with no durable execution identity.
Fresh incident evidence — 2026-08-10
The external hourly control plane has repeatedly returned only:
There was a problem with your scheduled task.
The connected repository state proves that Clearfolio work can continue and that multiple PR/issue lanes exist, but the available external task interface does not expose an exception type, failing phase, action receipt, checkpoint, or stack trace for those generic failures. Therefore the internal cause must not be invented.
Repository-local Draft PR #271 defines a future GitHub Actions OpenCode development path, but it is not protected-main behavior and is dependency-gated behind #270 plus the central .github control plane. It cannot be treated as evidence that the currently failing external scheduler invocation executed successfully.
Current RCA classification
Observed symptom: generic external scheduled-task failure after an execution-oriented prompt.
Proven missing control: no durable, user-visible phase/action/checkpoint receipt links the scheduled invocation to exact Clearfolio repository evidence.
Supported hypotheses requiring telemetry: practical invocation/tool-budget exhaustion; connector/provider failure; prompt/control-plane transport failure; repository action failure; or another platform boundary.
Rejected behavior: choosing one hidden cause without evidence, treating scheduler activation as repository execution, or treating the generic error as repository completion.
Required control contract
Keep the external scheduler a thin control plane and repository documents as detailed authority, while introducing a privacy-safe execution receipt model equivalent to:
automation_run
automation_checkpoint
queue_snapshot
deferred_lane
action_receipt
failure_envelope
continuation_handoff
Each run must record, where the platform permits:
immutable run identity and scheduler prompt/control version or digest;
scheduled/admitted/started/completed/failed/budget-continuation phases as separate states;
protected-main SHA plus exact PR/issue identities observed at queue construction, explicitly historical after the run;
last completed atomic action and its exact repository evidence identity;
current atomic action, if any, and whether it committed, failed, or was safely abandoned;
controlled failure category and failing phase without secrets, raw document content, tokens, tenant/subject identifiers, provider-controlled exception text, or stack traces exposed to users;
deferred lanes keyed by exact PR/head/live-base/run/review identity;
clean budget_continuation before a hard boundary when available signals show that a new multi-step mutation cannot be verified safely;
next-run handoff that always starts with fresh GitHub state and treats the checkpoint as historical evidence, never current authority;
no temporary/self-modifying/competing writer workflow and no knowingly broken non-test-only branch head left behind.
Prompt and repository authority
The scheduler prompt remains a concise execution policy, not a duplicated PRD/TRD/architecture corpus.
AGENTS.md, canonical product/architecture/security/operability documents, current code and live GitHub policy remain detailed authority.
Prompt edits and documentation updates have zero completion credit while safe product work exists.
A generic scheduled-task error is local control-plane debt and must hand off to another safe repository lane in the same invocation when tools remain available.
Repository-local OpenCode automation uses NVIDIA_NIM_API_KEY only through GitHub Secrets and never COPILOT_GITHUB_TOKEN as a development-model credential.
Test-first acceptance
Add deterministic contract tests before implementation/documentation changes for at least:
activation without execution is not success;
run-start without queue construction is distinguishable;
generic connector/provider failure records a controlled failing phase and last safe checkpoint;
hard-budget simulation produces budget_continuation, not a generic failure and not repository completion;
failure after a test-only RED head either reaches GREEN in the same run or leaves an explicit safe test-only continuation state;
partial contents/ref mutation uses exact-parent/blob/ref identity and cannot claim completion after CAS movement;
duplicate/overlapping invocation is rejected or branch-locally deferred by writer lease;
next run refetches all live identities rather than trusting checkpoint SHAs;
receipts contain no raw secrets, tokens, document content, tenant/subject values or uncontrolled exception messages;
docs/TRACEABILITY.md and docs/DOCUMENTATION_ASSESSMENT.md maturity;
machine-checkable documentation contracts;
CHANGELOG.md.
Scope / ownership
This is the Clearfolio leaf contract for autonomous-run reliability. The external scheduler platform and central .github control plane remain separate authorities; the Clearfolio writer must not mutate other repositories or claim unsupported platform internals. Repository-local PR #271 may adopt the same semantic contract after its stack dependencies stabilize, but it must not be churned or merged ahead of #270/central prerequisites merely to conceal the external scheduler incident.
Buyer/operator outcome
Make Clearfolio's autonomous development loop diagnosable and resumable when an hourly invocation ends at a platform/tool boundary. Operators must be able to distinguish scheduling, run admission, queue construction, repository execution, clean budget continuation, and failure instead of receiving only a generic task-error sentence with no durable execution identity.
Fresh incident evidence — 2026-08-10
The external hourly control plane has repeatedly returned only:
The connected repository state proves that Clearfolio work can continue and that multiple PR/issue lanes exist, but the available external task interface does not expose an exception type, failing phase, action receipt, checkpoint, or stack trace for those generic failures. Therefore the internal cause must not be invented.
Repository-local Draft PR #271 defines a future GitHub Actions OpenCode development path, but it is not protected-main behavior and is dependency-gated behind #270 plus the central
.githubcontrol plane. It cannot be treated as evidence that the currently failing external scheduler invocation executed successfully.Current RCA classification
Required control contract
Keep the external scheduler a thin control plane and repository documents as detailed authority, while introducing a privacy-safe execution receipt model equivalent to:
automation_runautomation_checkpointqueue_snapshotdeferred_laneaction_receiptfailure_envelopecontinuation_handoffEach run must record, where the platform permits:
budget_continuationbefore a hard boundary when available signals show that a new multi-step mutation cannot be verified safely;Prompt and repository authority
AGENTS.md, canonical product/architecture/security/operability documents, current code and live GitHub policy remain detailed authority.NVIDIA_NIM_API_KEYonly through GitHub Secrets and neverCOPILOT_GITHUB_TOKENas a development-model credential.Test-first acceptance
Add deterministic contract tests before implementation/documentation changes for at least:
budget_continuation, not a generic failure and not repository completion;Documentation updates
Reconcile the canonical documentation line with:
docs/OPERABILITY.mdincident/continuation procedure;docs/DATA_MODEL.mdconceptual entities and persistence ownership (do not invent a database if the external platform owns storage);docs/UML.mdschedule → admission → fresh queue → atomic action → receipt → continuation/failure flow;docs/TRACEABILITY.mdanddocs/DOCUMENTATION_ASSESSMENT.mdmaturity;CHANGELOG.md.Scope / ownership
This is the Clearfolio leaf contract for autonomous-run reliability. The external scheduler platform and central
.githubcontrol plane remain separate authorities; the Clearfolio writer must not mutate other repositories or claim unsupported platform internals. Repository-local PR #271 may adopt the same semantic contract after its stack dependencies stabilize, but it must not be churned or merged ahead of #270/central prerequisites merely to conceal the external scheduler incident.