#67: Cockpit mode — Slice A: interactive cockpit (drive /grill→/to-issues from inside)#69
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #67
Implemented autonomously by the AFK orchestrator in an isolated, git-isolated sandbox.
Commits: 837f5a6