Skip to content

Add guarded publication to the active Codex Sage workflow (T35) #303

Closed

Description

@erickb336

Sage task T35
Parent: #88.

The owner chose a working workflow inside an active Codex task as the next delivery. The installed skill already guides a chief, lead and specialists. It lacks persisted session mode and a guarded publication operation.

Scope

  • Add a small session helper under packages/sage-codex/skills/sage/ for the existing Sage and autopilot phrases.
  • Start new sessions off. Require Sage on and recorded publisher verification before autopilot can start.
  • Register manual workflow tasks explicitly. Preserve native permissions and all protected API refusals.
  • Reuse core task, finding, gate, review and merge checks. Require the reviewed commit, settled specialists and successful live GitHub checks.
  • Submit one expected-head squash merge through the direct GitHub REST endpoint. Persist intent first and reconcile uncertain results without a duplicate submission.
  • Keep the first release to github.com and same-repository PRs. Update local task state through the state tool.

Acceptance

  • Focused tests cover mode changes, successful gated publication, refusals and uncertain-result recovery, including the CLI with a fake GitHub service.
  • Build, package checks and the full suite pass. Use fake process tools for tests; tests never perform real merges.
  • Two independent code, security and QA cycles pass on the final commit.
  • Document the active-task scope and procedural trust limits. Verify the installed path separately before reporting it ready.

This is an opt-in procedural workflow, not an unattended controller or global native enforcement. It does not resolve #239, #243, #246, #266 or #295, or complete #88. The native research stays preserved. Claude-active changes and board work remain outside this task.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions