Repository navigation
Report inactive Codex workflow before initialization (T36) - #306
Merged
Merged
Conversation
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.
Closes #305
Sage task T36
A new Codex project can ask for Sage status before it has a logbook. Previously that read failed with ENOENT. It now reports Sage off, autopilot off, an unverified publisher, and no publications without creating files.
The change applies only to status when storage is absent. Mutating actions still require initialization. Invalid paths, dangling links and malformed existing state still fail. Core rules, native permissions and publication checks are unchanged.
Validation at
521ddba9a6af1355af77507922fcab59650cf1f6:npm run build: built 336 files; exit 0.npm run check: all checks pass; exit 0.node --test packages/sage-codex/runtime/workflow.test.mjs: 9 tests passed, 0 failed.npm test: 1,981 passed, 0 failed/cancelled/skipped; actual exit 0.A detached
origin/maincheckout at5d2064989061adc8d56389dc617d7e7799d57b6fran the new tests. The fresh-status regression failed at its expected successful CLI exit assertion: actual 1, expected 0, with ENOENT for absent storage. The invalid-storage preservation control passed on main; it is not a regression failure. All tests put fake process commands first on PATH.The parent also checked the new helper against the actual disposable project that exposed the defect. Status exited 0 and no logbook was created. A fresh real-model session discovered the installed Sage skill before this fix; its status call exposed the original defect. The reviewed candidate is installed locally through the standard installer with an invocation-only local marketplace. All 213 package files match; settings and hooks are unchanged. The fresh real-model
sage helpcheck exited 0 and showed the correct off state and commands. That model did not call the status helper; a separate direct call to the installed helper in the same project/session exited 0 with no logbook created. CI passed 1,981/1,981. The installed guarded publisher merged this PR atc639a964a0dd484fd3d7521467b394c46119f7c3. The configured Git marketplace and standard installer now provide that release; all 213 files match, settings/hooks remain unchanged, and a fresh released status call creates no logbook. This PR does not complete the separate native controller guarantees tracked in #88.