Skip to content

#67: Cockpit mode — Slice A: interactive cockpit (drive /grill→/to-issues from inside)#69

Merged
lsfera merged 1 commit into
mainfrom
agent/issue-67
Jun 28, 2026
Merged

#67: Cockpit mode — Slice A: interactive cockpit (drive /grill→/to-issues from inside)#69
lsfera merged 1 commit into
mainfrom
agent/issue-67

Conversation

@lsfera

@lsfera lsfera commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Closes #67

Implemented autonomously by the AFK orchestrator in an isolated, git-isolated sandbox.

Commits: 837f5a6

…age (#67)

Slice A of cockpit mode: a human can run
`docker compose exec -it devcontainer cockpit` and drive the full
/grill-me-with-docs → /to-prd → /to-issues workflow entirely from inside
the devcontainer with only the published image, the compose file, and
exported credentials.

Changes:
- Dockerfile: add AGENTIC_IN_CONTAINER=1 ENV marker (ADR-0018); bake
  `cockpit` shim and cockpit-settings.json into the image
- .dockerignore: allow `cockpit` and `cockpit-settings.json` into the
  Docker build context
- docker-compose.yml: forward GH_TOKEN, GITHUB_TOKEN, ANTHROPIC_API_KEY,
  CLAUDE_CODE_OAUTH_TOKEN from host env into the container (credential
  passthrough, no committed values)
- claude-persist-setup: install baked /opt/agentic-settings/settings.json
  into ~/.claude/settings.json (pre-allows gh, git, afk, hitl)
- exec.md: context-aware dispatch — Bash in cockpit mode, docker MCP on host
- main.ts: add pure `parseOrchEnv` and `resolveCredentials` functions with
  env-wins-over-orchestrator.env semantics and cockpit marker detection
- reduce.test.ts: 15 new unit tests covering parseOrchEnv and resolveCredentials
  (env-only, orchEnv-only, env-wins, missing → undefined, cockpit flag)
- CLAUDE.md: document both host-driven and cockpit modes
- docs/adr/0018: record the decision and relate it to ADR-0006/0011/0016/0017
@lsfera lsfera enabled auto-merge (squash) June 28, 2026 10:27
@lsfera lsfera merged commit fb25237 into main Jun 28, 2026
3 checks passed
@lsfera lsfera deleted the agent/issue-67 branch June 28, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cockpit mode — Slice A: interactive cockpit (drive /grill→/to-issues from inside)

1 participant