Skip to content

Codex: report inactive workflow before project initialization (T36) #305

Closed

Description

@erickb336

Sage task T36. Parent: #88.

A fresh Codex session finds the installed Sage skill when asked sage help. Its status command then fails with ENOENT when the project has no Sage logbook. The help answer cannot report the workflow state normally.

The installed helper resolves the logbook directory before it handles a read-only status request. Existing workflow tests initialize the logbook first.

Expected result:

  • A new project reports Sage off, autopilot off, publisher unverified, and no publications.
  • Status creates no logbook, directories, or session state.
  • Mutating actions still require initialization.
  • Existing malformed or unreadable state remains an error.
  • Existing initialized projects retain their behavior.

Scope: packages/sage-codex/skills/sage/workflow.mjs and behavior tests. Keep native permissions and protected-runtime checks unchanged. This does not establish unattended controller support.

Verification: direct CLI regression, detached-main failure evidence, repository build/check/tests, and two independent clean code/security/QA cycles. Repeat the installed fresh-session check after release.

Activity

  1. added
    codex
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codex

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions