feat(heartbeat): load current thin rules from managed automations - #4194
Merged
Merged
Conversation
Signed-off-by: huangruiteng <huangrt01@163.com>
Signed-off-by: huangruiteng <huangrt01@163.com>
huangruiteng
force-pushed
the
codex/managed-automation-updates
branch
from
September 10, 2026 13:30
2ecb640 to
fce998d
Compare
Collaborator
Author
|
Final maintainer review after owner approval of the compact bootstrap and a single-agent canary trial:
|
This was referenced Sep 10, 2026
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.
Summary
heartbeat-prompt --thinon every wake. Runtime upgrades then refresh execution rules without per-release host-store rewrites.upgrade-plan; support an explicit canary executable for a single-task trial.Product and authority review
Execution rules remain in the existing thin generator. Discovery proposes adoption, never authorizes overwriting custom instructions. The fallback is a qualified local SQLite/TOML compatibility adapter, not a stable Codex API. It requires the App closed; its dual-store writes have a durable recovery journal, not a false atomicity claim. No automatic scheduler/session migration or new capability is introduced. UI buttons and cloud/Windows adapters are out of scope.
Validation
2ecb6408d756968826781f226c6cbd0fcc69eec4loopx.clipreview and generated thin command against isolated fixture registry.upgrade-plan-smoke.py; exact wrapper readback is current, not perpetually stale.Coverage: no global install, no active goal promotion or mutation, no real host-store fault injection. Native App mutation will use its supported tool for the single-agent trial; offline apply remains closed-App only. PostgreSQL/Todo authority is unchanged. Recovery preserves per-task history rather than restoring a whole database.
Type and direction