Skip to content

T-NXAM-task-doc-edit-commit-on-main

Status: closed/superseded · Impact: medium · Complexity: small

This task closes a gap on the sdlc-plugin (dev) repo surfaced while working T-U6W3-document-moon-npm-script-wrapping on https://github.com/sksizer/markdown-contract: the /sdlc:task-work Step 5 task-body fix lands edits on origin/main, but there is no sanctioned CLI verb for that push, so the flow falls back to an ad-hoc default-branch push the sandbox guard blocks. Add a sdlc task doc-edit --commit-on main helper that mirrors the existing ephemeral-worktree push so those edits get a first-class, sanctioned path to origin/main.

The relevance-driven task-doc body fix in /sdlc:task-work Step 5 (landing task-body edits on origin/main before the readiness gate) has no sanctioned CLI verb — an ad-hoc git push origin HEAD:main is blocked by the sandbox default-branch-push guard, even though the flow’s own ensure_ready_mutate.ts / start_task.ts push to main fine via an ephemeral worktree. Add a small sdlc task doc-edit --commit-on main helper that mirrors that ephemeral-worktree push so task-body edits get a first-class, sanctioned path to origin/main instead of being folded into the implementation PR.

T-U6W3-document-moon-npm-script-wrapping

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

TBD — receiver to fill before promoting from planning/draft.

Spawned by /sdlc:spawn-task-pr on 2026-07-02 UTC from T-U6W3-document-moon-npm-script-wrapping in https://github.com/sksizer/markdown-contract.

  • Duplicate draft proposed in #625 (T-LCTU-task-amend-on-main-verb); folded by /sdlc:consolidate-task-prs into this task.

← Back to Tasks