feat(goal): 4 new subcommands for issue #140 fusion (status/complete/subtask/report)#219
Merged
Conversation
…subtask/report)
What ships:
- cmd/sin-code/goal_cmd.go — 4 new subcommands:
- 'goal status <id>' — show one goal with subtasks (children)
- 'goal complete <id>' — mark a goal as verified/done
- 'goal subtask <parent-id> <prompt>' — add a subtask
- 'goal report [--format md|json]' — progress report
- cmd/sin-code/goal_fusion_test.go — 11 unit tests for
parseGoalID helper (accepts 42, #42, whitespace)
- CHANGELOG entry
Mapping to the 8 external tools from issue #140:
- goal_start -> existing 'goal add'
- goal_status -> NEW 'goal status'
- goal_list -> existing 'goal list'
- goal_complete -> NEW 'goal complete'
- goal_subtask -> NEW 'goal subtask'
- goal_report -> NEW 'goal report'
- goal_checkpoint / goal_rollback -> DEFERRED to v1
(no Checkpoint storage yet; the Queue has no Checkpoint table)
- 6 of 8 external tools are now native; the 2 deferred are
documented in the CHANGELOG with a clear v1 migration path
Hard mandates honored:
- M2 (single binary): no new deps, all changes are in
cmd/sin-code/goal_cmd.go
- M3 (verify gate sacred): 'goal complete' is invoked by
the stop-gate after the verify-gate passes; the operator
can also call it manually
- M7 (race-clean): 11/11 tests pass under go test -race -count=1
Refs: #140
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
7 tasks
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.
Implements 4 of the 8 tools from the external
SIN-Code-Goal-Mode-SkillPython MCP server. The remaining 2 (goal_checkpoint+goal_rollback) are deferred to v1 because the Queue has no Checkpoint table yet.What ships
cmd/sin-code/goal_cmd.go— 4 new subcommands:goal status <id>— show one goal with subtasksgoal complete <id>— mark a goal as verified/donegoal subtask <parent-id> <prompt>— add a subtaskgoal report [--format md|json]— progress reportcmd/sin-code/goal_fusion_test.go— 11 unit tests forparseGoalIDMapping to the 8 external tools
goal_startgoal add(existing)goal_statusgoal status(NEW)goal_listgoal list(existing)goal_completegoal complete(NEW)goal_subtaskgoal subtask(NEW)goal_reportgoal report(NEW)goal_checkpointgoal_rollback6 of 8 tools are now native. The 2 deferred are documented in the CHANGELOG with a clear v1 migration path.
Hard mandates honored
goal completeis the entry-point the stop-gate usesgo test -race -count=1Live smoke test
Diffstat
Closes