Skip to content

Feat/dod gate#4

Merged
moshloop merged 11 commits intomainfrom
feat/dod-gate
Mar 20, 2026
Merged

Feat/dod gate#4
moshloop merged 11 commits intomainfrom
feat/dod-gate

Conversation

@moshloop
Copy link
Member

No description provided.

…kens to history

- Combine TaskCreate/TodoWrite under "Task" display name
- Rename AskUserQuestion to "Ask" in display
- Rename Status column to Safe in history output
- Add duration/tokens/cost summary to captain history
- Fix unused vars in main.go (lint)
- Paths field: json:"-" to hide from JSON (table-only display field)
- Add BinariesDisplay (json:"-") for comma-joined table rendering
- Binaries []string: pretty:"-" for JSON-only output
Changed json:"-" to proper field names so captain history --json
includes the same data as the table view.
Adds a Definition of Done (DoD) system that enforces command checks before Claude stops working. Includes CLI commands to set/check/clear/run/status/install DoD checks, plus Claude Code Stop hook integration and skill definitions for user-facing commands.
Standardize struct field alignment, variable spacing, and test structure for consistent code style.
Remove component presets (minimal/dev/full/ci) in favor of a single
preset concept: sandbox-runtime presets (golang, npm, docker, etc.).
All components are now selected by default. The --preset flag maps
to sandbox-runtime presets. Image tag is derived from preset list.

- Delete pkg/container/presets.go
- Rename SandboxPresets → Presets in SandboxConfig
- Rename Preset → Name in GenerateInput/templateData
- Remove Preset from BuildInput (use Tag directly)
- Add unix socket volume mounts from preset network config
- Enhance sandbox presets command with field mapping table
Introduces container sandbox builder (discover/generate/build/run), projects lifecycle management (list/clean), enhanced SRT generation with environment variable handling, and sandbox preset system with support for golang, npm, python, rust, docker, aws, gcp, azure, kubernetes, playwright, and more. Adds support for component selection, interactive TUI, JSON configuration patching, cloud token acquisition, and comprehensive test coverage.
…ace directive

Update sandbox-runtime dependency from local development path to published v1.0.2 release. Removes local file system replace directive and cleans up unused transitive dependencies.
Updated go.sum with new and pinned dependency versions. Normalized test fixtures from macOS-specific paths to platform-agnostic Linux paths for consistency in test environments.
When a multi-statement script contains a heredoc, report B-2 (heredoc
not allowed) instead of B-1 (compound commands). This gives more
actionable feedback since the heredoc is the specific construct to fix.

Also refactors the hook CLI: extracts bash-check as a dedicated
PreToolUse hook command under `captain hook bash-check`, renames
install flag from --global to --user for clarity, and consolidates
hook/install logic into pkg/cli/hook.go. Renames HookOutput.Reason to
PermissionDecisionReason to match Claude Code hook spec.
@moshloop moshloop merged commit 3df530e into main Mar 20, 2026
5 of 7 checks passed
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.

1 participant