goalbuddy 0.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CONTRIBUTING.md +45 -0
  2. package/LICENSE +21 -0
  3. package/README.md +215 -0
  4. package/examples/extend-catalog-workflow/goal.md +53 -0
  5. package/examples/extend-catalog-workflow/notes/T001-extension-model-map.md +47 -0
  6. package/examples/extend-catalog-workflow/notes/T002-architecture-decision.md +48 -0
  7. package/examples/extend-catalog-workflow/notes/T003-implementation-summary.md +43 -0
  8. package/examples/extend-catalog-workflow/notes/T004-root-extend-folder.md +24 -0
  9. package/examples/extend-catalog-workflow/notes/T005-layout-cleanup.md +46 -0
  10. package/examples/extend-catalog-workflow/notes/T006-catalog-location.md +50 -0
  11. package/examples/extend-catalog-workflow/notes/T999-completion-audit.md +36 -0
  12. package/examples/extend-catalog-workflow/state.yaml +327 -0
  13. package/examples/github-pr-workflow-extension/pr-handoff.md +46 -0
  14. package/examples/improve-goal-maker/goal.md +51 -0
  15. package/examples/improve-goal-maker/notes/T001-repo-map.md +59 -0
  16. package/examples/improve-goal-maker/notes/T002-risk-map.md +37 -0
  17. package/examples/improve-goal-maker/state.yaml +224 -0
  18. package/goal-maker/SKILL.md +18 -0
  19. package/goal-maker/agents/README.md +23 -0
  20. package/goal-maker/agents/config-snippet.toml +5 -0
  21. package/goal-maker/agents/goal_judge.toml +29 -0
  22. package/goal-maker/agents/goal_scout.toml +26 -0
  23. package/goal-maker/agents/goal_worker.toml +28 -0
  24. package/goal-maker/agents/openai.yaml +6 -0
  25. package/goal-maker/scripts/check-goal-state.mjs +370 -0
  26. package/goal-maker/scripts/install-agents.mjs +28 -0
  27. package/goal-maker/templates/agents.md +48 -0
  28. package/goal-maker/templates/goal-prompt.txt +1 -0
  29. package/goal-maker/templates/goal.md +71 -0
  30. package/goal-maker/templates/note.md +22 -0
  31. package/goal-maker/templates/state.yaml +125 -0
  32. package/goalbuddy/SKILL.md +484 -0
  33. package/goalbuddy/agents/README.md +23 -0
  34. package/goalbuddy/agents/config-snippet.toml +5 -0
  35. package/goalbuddy/agents/goal_judge.toml +29 -0
  36. package/goalbuddy/agents/goal_scout.toml +26 -0
  37. package/goalbuddy/agents/goal_worker.toml +28 -0
  38. package/goalbuddy/agents/openai.yaml +6 -0
  39. package/goalbuddy/scripts/check-goal-state.mjs +370 -0
  40. package/goalbuddy/scripts/install-agents.mjs +28 -0
  41. package/goalbuddy/templates/agents.md +48 -0
  42. package/goalbuddy/templates/goal-prompt.txt +1 -0
  43. package/goalbuddy/templates/goal.md +71 -0
  44. package/goalbuddy/templates/note.md +22 -0
  45. package/goalbuddy/templates/state.yaml +125 -0
  46. package/internal/assets/extend-release.png +0 -0
  47. package/internal/assets/extend-release.svg +83 -0
  48. package/internal/assets/goal-maker-flow.png +0 -0
  49. package/internal/cli/check-publish-version.mjs +86 -0
  50. package/internal/cli/goal-maker.mjs +1061 -0
  51. package/package.json +65 -0
  52. package/plugins/goalbuddy/.codex-plugin/plugin.json +48 -0
  53. package/plugins/goalbuddy/README.md +29 -0
  54. package/plugins/goalbuddy/assets/goalbuddy-icon.svg +8 -0
  55. package/plugins/goalbuddy/skills/goalbuddy/SKILL.md +484 -0
  56. package/plugins/goalbuddy/skills/goalbuddy/agents/README.md +23 -0
  57. package/plugins/goalbuddy/skills/goalbuddy/agents/config-snippet.toml +5 -0
  58. package/plugins/goalbuddy/skills/goalbuddy/agents/goal_judge.toml +29 -0
  59. package/plugins/goalbuddy/skills/goalbuddy/agents/goal_scout.toml +26 -0
  60. package/plugins/goalbuddy/skills/goalbuddy/agents/goal_worker.toml +28 -0
  61. package/plugins/goalbuddy/skills/goalbuddy/agents/openai.yaml +6 -0
  62. package/plugins/goalbuddy/skills/goalbuddy/scripts/check-goal-state.mjs +370 -0
  63. package/plugins/goalbuddy/skills/goalbuddy/scripts/install-agents.mjs +28 -0
  64. package/plugins/goalbuddy/skills/goalbuddy/templates/agents.md +48 -0
  65. package/plugins/goalbuddy/skills/goalbuddy/templates/goal-prompt.txt +1 -0
  66. package/plugins/goalbuddy/skills/goalbuddy/templates/goal.md +71 -0
  67. package/plugins/goalbuddy/skills/goalbuddy/templates/note.md +22 -0
  68. package/plugins/goalbuddy/skills/goalbuddy/templates/state.yaml +125 -0
@@ -0,0 +1,125 @@
1
+ # GoalBuddy v2 state.yaml
2
+ # Board truth lives here. goal.md is the editable charter; notes/ holds long receipts only.
3
+
4
+ version: 2
5
+
6
+ goal:
7
+ title: "<Goal title>"
8
+ slug: "<goal-slug>"
9
+ kind: open_ended # specific | open_ended | existing_plan | recovery | audit
10
+ tranche: "<continuous execution: complete successive safe verified slices until the full original outcome is complete>"
11
+ status: active # active | blocked | done
12
+ intake:
13
+ original_request: "<shortest faithful user request>"
14
+ interpreted_outcome: "<one sentence>"
15
+ input_shape: vague # vague | specific | existing_plan | recovery | audit
16
+ audience: unknown
17
+ authority: requested # requested | approved | inferred | needs_approval | blocked
18
+ proof_type: artifact # test | demo | artifact | metric | review | source_backed_answer | decision
19
+ completion_proof: "<observable signal that proves the full original outcome is complete>"
20
+ likely_misfire: "<how GoalBuddy could succeed at the wrong thing>"
21
+ blind_spots_considered: []
22
+ existing_plan_facts: []
23
+
24
+ rules:
25
+ pm_owns_state: true
26
+ one_active_task: true
27
+ max_write_workers: 1
28
+ no_implementation_without_worker_or_pm_task: true
29
+ no_completion_without_judge_or_pm_audit: true
30
+ planning_is_not_completion: true
31
+ queued_required_worker_blocks_completion: true
32
+ continuous_until_full_outcome: true
33
+ missing_input_or_credentials_do_not_stop_goal: true
34
+ preserve_and_validate_existing_plan: true
35
+ intake_misfire_must_be_audited: true
36
+
37
+ agents:
38
+ scout: installed
39
+ worker: installed
40
+ judge: installed
41
+
42
+ active_task: T001
43
+
44
+ tasks:
45
+ - id: T001
46
+ type: scout
47
+ assignee: Scout
48
+ status: active
49
+ reasoning_hint: default # default | low | medium | high | xhigh
50
+ objective: "Map repo purpose, architecture, verification commands, health signals, and improvement candidates."
51
+ inputs:
52
+ - README.md
53
+ - package.json
54
+ - docs
55
+ - tests
56
+ constraints:
57
+ - "Read-only."
58
+ - "Do not edit implementation files."
59
+ - "Prefer concrete file-path evidence over generic advice."
60
+ expected_output:
61
+ - "Repo map"
62
+ - "Verification commands"
63
+ - "Ranked improvement candidates"
64
+ - "Candidate next tasks"
65
+ receipt: null
66
+ - id: T002
67
+ type: judge
68
+ assignee: Judge
69
+ status: queued
70
+ reasoning_hint: default
71
+ objective: "Review Scout findings and choose the first safe implementation task."
72
+ inputs:
73
+ - "T001 receipt"
74
+ constraints:
75
+ - "Do not implement."
76
+ - "Pick small reviewable work."
77
+ expected_output:
78
+ - "Decision"
79
+ - "Exact Worker objective"
80
+ - "allowed_files"
81
+ - "verify"
82
+ - "stop_if"
83
+ - "Blocked or deferred tasks"
84
+ receipt: null
85
+ - id: T003
86
+ type: worker
87
+ assignee: Worker
88
+ status: queued
89
+ reasoning_hint: default
90
+ objective: "Execute the first safe implementation task selected by Judge."
91
+ allowed_files: []
92
+ verify: []
93
+ stop_if:
94
+ - "Need files outside allowed_files."
95
+ - "Behavior is ambiguous."
96
+ - "Verification fails twice."
97
+ receipt: null
98
+ - id: T999
99
+ type: judge
100
+ assignee: Judge
101
+ status: queued
102
+ reasoning_hint: default
103
+ objective: "Audit whether the implemented slice satisfies the original user outcome for this tranche."
104
+ inputs:
105
+ - "All done task receipts"
106
+ - "Last verification"
107
+ - "Current dirty diff"
108
+ constraints:
109
+ - "Do not implement."
110
+ - "Reject completion if required Worker work is still queued or active."
111
+ - "Reject completion if the broader original outcome still has safe local follow-up slices."
112
+ - "Reject stopping only because a slice needs owner input, credentials, production access, destructive operations, or policy decisions."
113
+ expected_output:
114
+ - "complete | not_complete"
115
+ - "full_outcome_complete: true | false"
116
+ - "missing evidence"
117
+ - "next task if not complete"
118
+ receipt: null
119
+
120
+ checks:
121
+ dirty_fingerprint: unknown
122
+ last_verification:
123
+ result: unknown
124
+ task: null
125
+ commands: []