goalbuddy 0.2.21 → 0.3.0
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.
- package/CONTRIBUTING.md +14 -5
- package/README.md +68 -55
- package/goalbuddy/SKILL.md +44 -14
- package/goalbuddy/agents/README.md +15 -8
- package/goalbuddy/extend/github-projects/README.md +105 -0
- package/goalbuddy/extend/github-projects/examples/goal-board-sync/state.yaml +63 -0
- package/goalbuddy/extend/github-projects/extension.yaml +43 -0
- package/goalbuddy/extend/github-projects/scripts/lib/github-projects.mjs +728 -0
- package/goalbuddy/extend/github-projects/scripts/lib/goal-state.mjs +362 -0
- package/goalbuddy/extend/github-projects/scripts/sync-github-project.mjs +193 -0
- package/goalbuddy/extend/github-projects/test/github-projects.test.mjs +267 -0
- package/goalbuddy/extend/local-goal-board/README.md +75 -0
- package/goalbuddy/extend/local-goal-board/assets/goalbuddy-mark.png +0 -0
- package/goalbuddy/extend/local-goal-board/examples/sample-goal/notes/T001-scout.md +3 -0
- package/goalbuddy/extend/local-goal-board/examples/sample-goal/state.yaml +124 -0
- package/goalbuddy/extend/local-goal-board/extension.yaml +37 -0
- package/goalbuddy/extend/local-goal-board/scripts/lib/goal-board.mjs +1225 -0
- package/goalbuddy/extend/local-goal-board/scripts/local-goal-board.mjs +258 -0
- package/goalbuddy/extend/local-goal-board/test/local-goal-board.test.mjs +146 -0
- package/goalbuddy/scripts/check-goal-state.mjs +24 -9
- package/goalbuddy/templates/state.yaml +18 -3
- package/internal/assets/goalbuddy-live-board.jpg +0 -0
- package/internal/cli/goal-maker.mjs +424 -31
- package/internal/cli/postinstall.mjs +3 -3
- package/package.json +7 -2
- package/plugins/goalbuddy/.claude-plugin/plugin.json +24 -0
- package/plugins/goalbuddy/.codex-plugin/plugin.json +5 -4
- package/plugins/goalbuddy/README.md +23 -13
- package/plugins/goalbuddy/agents/goal-judge.md +27 -0
- package/plugins/goalbuddy/agents/goal-scout.md +24 -0
- package/plugins/goalbuddy/agents/goal-worker.md +26 -0
- package/plugins/goalbuddy/commands/goal-prep.md +12 -0
- package/plugins/goalbuddy/skills/goalbuddy/SKILL.md +44 -14
- package/plugins/goalbuddy/skills/goalbuddy/agents/README.md +15 -8
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/README.md +105 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/examples/goal-board-sync/state.yaml +63 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/extension.yaml +43 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/scripts/lib/github-projects.mjs +728 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/scripts/lib/goal-state.mjs +362 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/scripts/sync-github-project.mjs +193 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/github-projects/test/github-projects.test.mjs +267 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/README.md +75 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/assets/goalbuddy-mark.png +0 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/examples/sample-goal/notes/T001-scout.md +3 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/examples/sample-goal/state.yaml +124 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/extension.yaml +37 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/scripts/lib/goal-board.mjs +1225 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/scripts/local-goal-board.mjs +258 -0
- package/plugins/goalbuddy/skills/goalbuddy/extend/local-goal-board/test/local-goal-board.test.mjs +146 -0
- package/plugins/goalbuddy/skills/goalbuddy/scripts/check-goal-state.mjs +24 -9
- package/plugins/goalbuddy/skills/goalbuddy/templates/state.yaml +18 -3
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
id: github-projects
|
|
2
|
+
name: GitHub Projects
|
|
3
|
+
kind: integration
|
|
4
|
+
version: 0.1.1
|
|
5
|
+
source_of_truth: local
|
|
6
|
+
description: Mirror GoalBuddy state.yaml tasks into GitHub Projects with dry-run planning, ProjectV2 fields, draft issue upserts, and one Goal Board view.
|
|
7
|
+
local_use_prompt: Run the bundled GitHub Projects sync script for docs/goals/<slug>/state.yaml. Use --dry-run first unless the user has approved live GitHub writes, then run the same script with GITHUB_TOKEN or GH_TOKEN and --project-id or --owner plus --project-number. Do not use Computer Use, browser automation, the GitHub web UI, or gh project as a fallback.
|
|
8
|
+
use_when:
|
|
9
|
+
- A long-running GoalBuddy board needs stakeholder visibility in GitHub Projects.
|
|
10
|
+
- The team wants one-way sync from state.yaml into ProjectV2 draft issues.
|
|
11
|
+
- The PM needs a safe dry-run plan before using GitHub credentials.
|
|
12
|
+
- GoalBuddy receipts, verification commands, allowed files, owners, role/agent fields, credential gates, and dependencies should appear in a GitHub board.
|
|
13
|
+
activation: publish_handoff
|
|
14
|
+
outputs:
|
|
15
|
+
- GitHub Projects dry-run plan
|
|
16
|
+
- GitHub ProjectV2 draft issue sync
|
|
17
|
+
- Goal Board ProjectV2 view
|
|
18
|
+
requires_approval: true
|
|
19
|
+
safe_by_default: false
|
|
20
|
+
reads:
|
|
21
|
+
- docs/goals/<slug>/state.yaml
|
|
22
|
+
- GITHUB_PROJECT_ID
|
|
23
|
+
- GITHUB_PROJECT_OWNER
|
|
24
|
+
- GITHUB_PROJECT_NUMBER
|
|
25
|
+
writes:
|
|
26
|
+
- GitHub ProjectV2 draft issues
|
|
27
|
+
- GitHub ProjectV2 fields
|
|
28
|
+
- GitHub ProjectV2 Goal Board view
|
|
29
|
+
side_effects:
|
|
30
|
+
- Live sync creates or updates GitHub Project draft issues, fields, and views.
|
|
31
|
+
agent_instructions:
|
|
32
|
+
- Use the bundled sync script for all live GitHub Projects writes.
|
|
33
|
+
- Do not use Computer Use, browser automation, or the GitHub web UI to create or repair Project views.
|
|
34
|
+
- Do not replace the bundled script with gh project commands; the script uses GraphQL plus the REST Project views endpoint.
|
|
35
|
+
- Do not claim ProjectV2 board views are UI-only; the GitHub REST Project views API supports creating board-layout views.
|
|
36
|
+
auth:
|
|
37
|
+
env:
|
|
38
|
+
- GITHUB_TOKEN
|
|
39
|
+
supports:
|
|
40
|
+
dry_run: true
|
|
41
|
+
live_github_projects: true
|
|
42
|
+
credentials_required: true
|
|
43
|
+
one_way_sync: true
|