Skip to content

Coding-agent subagents A5 (optional): a gated converge subagent asks for approval #384

Open

Description

@pdettori

Part of the Coding-agent subagents epic (#378). Item A5, optional for the demo. Depends on A2 (#381).

Goal

A demo act that shows the durable human gate: a subagent stops with a summary and a proposed action, and after mocactl approve it resumes and finishes.

Current state (verified on main @ 24c6f5e)

Scope

  1. Document the converge item shape and how a gate is requested, with a pinned public repo and ref.
  2. A runbook act: mocactl spawn --kind converge … → paused → watch or the hook shows the summary → mocactl approve → done with a verdict.
  3. Say which limits are shown and which are hidden: no bundle, no notification, and approval needs the laptop or an SSH session.

Acceptance

Out of scope

References

  • ADR-0016, ADR-0020, human-gate spec docs/specs/2026-06-28-human-gate-design.md

Working conventions (for a fresh session)

  • Workspace: git fetch, then create a worktree from rossoctl/main (never local main), under .worktrees/. Populate and build pi-fork (git submodule update --init --recursive && cd pi-fork && npm ci && npm run build), then pnpm install. A worktree without the pi-fork build does not typecheck.
  • Plans: write the plan with superpowers:writing-plans into docs/plans/<date>-<slug>.md. Plans are gitignored and never committed. Write it in chunks, one append per task.
  • Pre-flight table: list every process entrypoint, systemd unit, env example and shell/Go launcher whose boot contract changes, not only TypeScript call sites.
  • Tests: Redis on 6379 must be up. Use each package's own node_modules/.bin/vitest. vitest can exit non-zero with every test green, so grep the log for Errors. Redirect long output to /tmp/kagenti/.... make lint skips untracked files.
  • Commits: git commit -s with Assisted-By: Claude (Anthropic AI) <[email protected]>, never Co-Authored-By.
  • Shared KVM rig: alert the owner before using it, record a manifest of what you install, and verify cleanup.
  • Don't push or open PRs without the owner's go-ahead.

Activity

  1. added
    enhancement
    on Sep 30, 2026
  2. changed the title [-]Claude Code subagents A5 (optional): a gated converge subagent asks for approval[/-] [+]Coding-agent subagents A5 (optional): a gated converge subagent asks for approval[/+] on Oct 13, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions