bigpowers 2.86.6 → 2.86.7

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 (208) hide show
  1. package/.agents/skills/guard-git/SKILL.md +8 -8
  2. package/.agents/skills/kickoff-branch/SKILL.md +1 -1
  3. package/.agents/skills/migrate-spec/SKILL.md +52 -6
  4. package/.agents/skills/plan-work/SKILL.md +17 -5
  5. package/.agents/skills/publish-package/SKILL.md +15 -5
  6. package/.agents/skills/release-branch/SKILL.md +12 -8
  7. package/.agents/skills/seed-conventions/SKILL.md +20 -10
  8. package/.agents/skills/smoke-test/SKILL.md +9 -5
  9. package/.agents/skills/validate-contracts/SKILL.md +15 -6
  10. package/.agents/skills/wire-ci/SKILL.md +12 -5
  11. package/.agents/skills/write-document/SKILL.md +30 -4
  12. package/.cline/skills/guard-git/SKILL.md +8 -8
  13. package/.cline/skills/kickoff-branch/SKILL.md +1 -1
  14. package/.cline/skills/migrate-spec/SKILL.md +52 -6
  15. package/.cline/skills/plan-work/SKILL.md +17 -5
  16. package/.cline/skills/publish-package/SKILL.md +15 -5
  17. package/.cline/skills/release-branch/SKILL.md +12 -8
  18. package/.cline/skills/seed-conventions/SKILL.md +20 -10
  19. package/.cline/skills/smoke-test/SKILL.md +9 -5
  20. package/.cline/skills/validate-contracts/SKILL.md +15 -6
  21. package/.cline/skills/wire-ci/SKILL.md +12 -5
  22. package/.cline/skills/write-document/SKILL.md +30 -4
  23. package/.codebuddy/skills/guard-git/SKILL.md +8 -8
  24. package/.codebuddy/skills/kickoff-branch/SKILL.md +1 -1
  25. package/.codebuddy/skills/migrate-spec/SKILL.md +52 -6
  26. package/.codebuddy/skills/plan-work/SKILL.md +17 -5
  27. package/.codebuddy/skills/publish-package/SKILL.md +15 -5
  28. package/.codebuddy/skills/release-branch/SKILL.md +12 -8
  29. package/.codebuddy/skills/seed-conventions/SKILL.md +20 -10
  30. package/.codebuddy/skills/smoke-test/SKILL.md +9 -5
  31. package/.codebuddy/skills/validate-contracts/SKILL.md +15 -6
  32. package/.codebuddy/skills/wire-ci/SKILL.md +12 -5
  33. package/.codebuddy/skills/write-document/SKILL.md +30 -4
  34. package/.codex/skills/guard-git/SKILL.md +8 -8
  35. package/.codex/skills/kickoff-branch/SKILL.md +1 -1
  36. package/.codex/skills/migrate-spec/SKILL.md +52 -6
  37. package/.codex/skills/plan-work/SKILL.md +17 -5
  38. package/.codex/skills/publish-package/SKILL.md +15 -5
  39. package/.codex/skills/release-branch/SKILL.md +12 -8
  40. package/.codex/skills/seed-conventions/SKILL.md +20 -10
  41. package/.codex/skills/smoke-test/SKILL.md +9 -5
  42. package/.codex/skills/validate-contracts/SKILL.md +15 -6
  43. package/.codex/skills/wire-ci/SKILL.md +12 -5
  44. package/.codex/skills/write-document/SKILL.md +30 -4
  45. package/.copilot/skills/guard-git/SKILL.md +8 -8
  46. package/.copilot/skills/kickoff-branch/SKILL.md +1 -1
  47. package/.copilot/skills/migrate-spec/SKILL.md +52 -6
  48. package/.copilot/skills/plan-work/SKILL.md +17 -5
  49. package/.copilot/skills/publish-package/SKILL.md +15 -5
  50. package/.copilot/skills/release-branch/SKILL.md +12 -8
  51. package/.copilot/skills/seed-conventions/SKILL.md +20 -10
  52. package/.copilot/skills/smoke-test/SKILL.md +9 -5
  53. package/.copilot/skills/validate-contracts/SKILL.md +15 -6
  54. package/.copilot/skills/wire-ci/SKILL.md +12 -5
  55. package/.copilot/skills/write-document/SKILL.md +30 -4
  56. package/.hermes/skills/guard-git/SKILL.md +8 -8
  57. package/.hermes/skills/kickoff-branch/SKILL.md +1 -1
  58. package/.hermes/skills/migrate-spec/SKILL.md +52 -6
  59. package/.hermes/skills/plan-work/SKILL.md +17 -5
  60. package/.hermes/skills/publish-package/SKILL.md +15 -5
  61. package/.hermes/skills/release-branch/SKILL.md +12 -8
  62. package/.hermes/skills/seed-conventions/SKILL.md +20 -10
  63. package/.hermes/skills/smoke-test/SKILL.md +9 -5
  64. package/.hermes/skills/validate-contracts/SKILL.md +15 -6
  65. package/.hermes/skills/wire-ci/SKILL.md +12 -5
  66. package/.hermes/skills/write-document/SKILL.md +30 -4
  67. package/.kilocode/rules/guard-git.md +8 -8
  68. package/.kilocode/rules/kickoff-branch.md +1 -1
  69. package/.kilocode/rules/migrate-spec.md +52 -6
  70. package/.kilocode/rules/plan-work.md +17 -5
  71. package/.kilocode/rules/publish-package.md +15 -5
  72. package/.kilocode/rules/release-branch.md +12 -8
  73. package/.kilocode/rules/seed-conventions.md +20 -10
  74. package/.kilocode/rules/smoke-test.md +9 -5
  75. package/.kilocode/rules/validate-contracts.md +15 -6
  76. package/.kilocode/rules/wire-ci.md +12 -5
  77. package/.kilocode/rules/write-document.md +30 -4
  78. package/.mimocode/skills/guard-git/SKILL.md +8 -8
  79. package/.mimocode/skills/kickoff-branch/SKILL.md +1 -1
  80. package/.mimocode/skills/migrate-spec/SKILL.md +52 -6
  81. package/.mimocode/skills/plan-work/SKILL.md +17 -5
  82. package/.mimocode/skills/publish-package/SKILL.md +15 -5
  83. package/.mimocode/skills/release-branch/SKILL.md +12 -8
  84. package/.mimocode/skills/seed-conventions/SKILL.md +20 -10
  85. package/.mimocode/skills/smoke-test/SKILL.md +9 -5
  86. package/.mimocode/skills/validate-contracts/SKILL.md +15 -6
  87. package/.mimocode/skills/wire-ci/SKILL.md +12 -5
  88. package/.mimocode/skills/write-document/SKILL.md +30 -4
  89. package/.opencode/skills/guard-git/SKILL.md +8 -8
  90. package/.opencode/skills/kickoff-branch/SKILL.md +1 -1
  91. package/.opencode/skills/migrate-spec/SKILL.md +52 -6
  92. package/.opencode/skills/plan-work/SKILL.md +17 -5
  93. package/.opencode/skills/publish-package/SKILL.md +15 -5
  94. package/.opencode/skills/release-branch/SKILL.md +12 -8
  95. package/.opencode/skills/seed-conventions/SKILL.md +20 -10
  96. package/.opencode/skills/smoke-test/SKILL.md +9 -5
  97. package/.opencode/skills/validate-contracts/SKILL.md +15 -6
  98. package/.opencode/skills/wire-ci/SKILL.md +12 -5
  99. package/.opencode/skills/write-document/SKILL.md +30 -4
  100. package/.pi/package.json +1 -1
  101. package/.pi/prompts/guard-git.md +8 -8
  102. package/.pi/prompts/kickoff-branch.md +1 -1
  103. package/.pi/prompts/migrate-spec.md +52 -6
  104. package/.pi/prompts/plan-work.md +17 -5
  105. package/.pi/prompts/publish-package.md +15 -5
  106. package/.pi/prompts/release-branch.md +12 -8
  107. package/.pi/prompts/seed-conventions.md +20 -10
  108. package/.pi/prompts/smoke-test.md +9 -5
  109. package/.pi/prompts/validate-contracts.md +15 -6
  110. package/.pi/prompts/wire-ci.md +12 -5
  111. package/.pi/prompts/write-document.md +30 -4
  112. package/.pi/skills/guard-git/SKILL.md +8 -8
  113. package/.pi/skills/kickoff-branch/SKILL.md +1 -1
  114. package/.pi/skills/migrate-spec/SKILL.md +52 -6
  115. package/.pi/skills/plan-work/SKILL.md +17 -5
  116. package/.pi/skills/publish-package/SKILL.md +15 -5
  117. package/.pi/skills/release-branch/SKILL.md +12 -8
  118. package/.pi/skills/seed-conventions/SKILL.md +20 -10
  119. package/.pi/skills/smoke-test/SKILL.md +9 -5
  120. package/.pi/skills/validate-contracts/SKILL.md +15 -6
  121. package/.pi/skills/wire-ci/SKILL.md +12 -5
  122. package/.pi/skills/write-document/SKILL.md +30 -4
  123. package/.qwen/skills/guard-git/SKILL.md +8 -8
  124. package/.qwen/skills/kickoff-branch/SKILL.md +1 -1
  125. package/.qwen/skills/migrate-spec/SKILL.md +52 -6
  126. package/.qwen/skills/plan-work/SKILL.md +17 -5
  127. package/.qwen/skills/publish-package/SKILL.md +15 -5
  128. package/.qwen/skills/release-branch/SKILL.md +12 -8
  129. package/.qwen/skills/seed-conventions/SKILL.md +20 -10
  130. package/.qwen/skills/smoke-test/SKILL.md +9 -5
  131. package/.qwen/skills/validate-contracts/SKILL.md +15 -6
  132. package/.qwen/skills/wire-ci/SKILL.md +12 -5
  133. package/.qwen/skills/write-document/SKILL.md +30 -4
  134. package/.trae/skills/guard-git/SKILL.md +8 -8
  135. package/.trae/skills/kickoff-branch/SKILL.md +1 -1
  136. package/.trae/skills/migrate-spec/SKILL.md +52 -6
  137. package/.trae/skills/plan-work/SKILL.md +17 -5
  138. package/.trae/skills/publish-package/SKILL.md +15 -5
  139. package/.trae/skills/release-branch/SKILL.md +12 -8
  140. package/.trae/skills/seed-conventions/SKILL.md +20 -10
  141. package/.trae/skills/smoke-test/SKILL.md +9 -5
  142. package/.trae/skills/validate-contracts/SKILL.md +15 -6
  143. package/.trae/skills/wire-ci/SKILL.md +12 -5
  144. package/.trae/skills/write-document/SKILL.md +30 -4
  145. package/.windsurf/rules/guard-git.md +8 -8
  146. package/.windsurf/rules/kickoff-branch.md +1 -1
  147. package/.windsurf/rules/migrate-spec.md +52 -6
  148. package/.windsurf/rules/plan-work.md +17 -5
  149. package/.windsurf/rules/publish-package.md +15 -5
  150. package/.windsurf/rules/release-branch.md +12 -8
  151. package/.windsurf/rules/seed-conventions.md +20 -10
  152. package/.windsurf/rules/smoke-test.md +9 -5
  153. package/.windsurf/rules/validate-contracts.md +15 -6
  154. package/.windsurf/rules/wire-ci.md +12 -5
  155. package/.windsurf/rules/write-document.md +30 -4
  156. package/.zcode/skills/guard-git/SKILL.md +8 -8
  157. package/.zcode/skills/kickoff-branch/SKILL.md +1 -1
  158. package/.zcode/skills/migrate-spec/SKILL.md +52 -6
  159. package/.zcode/skills/plan-work/SKILL.md +17 -5
  160. package/.zcode/skills/publish-package/SKILL.md +15 -5
  161. package/.zcode/skills/release-branch/SKILL.md +12 -8
  162. package/.zcode/skills/seed-conventions/SKILL.md +20 -10
  163. package/.zcode/skills/smoke-test/SKILL.md +9 -5
  164. package/.zcode/skills/validate-contracts/SKILL.md +15 -6
  165. package/.zcode/skills/wire-ci/SKILL.md +12 -5
  166. package/.zcode/skills/write-document/SKILL.md +30 -4
  167. package/CHANGELOG.md +7 -0
  168. package/CONVENTIONS.md +2 -0
  169. package/package.json +1 -1
  170. package/scripts/generate-context-bundle.sh +6 -0
  171. package/scripts/generate-reference-nav.sh +89 -0
  172. package/scripts/generate-viz-graph.sh +4 -0
  173. package/scripts/golden-g13-script-orphans.sh +167 -0
  174. package/scripts/golden-g15-compliance-runner-selftest.sh +126 -0
  175. package/scripts/golden-g16-spec-version-gap.sh +72 -0
  176. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  177. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  178. package/scripts/lib/audit-compliance-report.sh +32 -7
  179. package/scripts/lib/audit-compliance-runner.sh +14 -1
  180. package/scripts/lib/golden-suite-gates.sh +23 -7
  181. package/scripts/lib/test-assertions.sh +4 -0
  182. package/scripts/snapshot-catalog-baseline.sh +4 -0
  183. package/scripts/test-adapter-render.sh +19 -21
  184. package/scripts/test-completeness-critic-scope.sh +18 -19
  185. package/scripts/test-generate-epics-wiki-zero-stories.sh +12 -13
  186. package/scripts/test-golden-g11-worktree-venv.sh +16 -18
  187. package/scripts/test-install-distribute-only.sh +27 -26
  188. package/scripts/test-install-hub.sh +25 -23
  189. package/scripts/test-setup-no-pyyaml.sh +16 -17
  190. package/scripts/test-target-contracts.sh +15 -13
  191. package/scripts/test-tombstone-mechanism.sh +31 -33
  192. package/skills/guard-git/REFERENCE.md +8 -8
  193. package/skills/kickoff-branch/SKILL.md +1 -1
  194. package/skills/migrate-spec/REFERENCE.md +52 -6
  195. package/skills/plan-work/REFERENCE.md +17 -5
  196. package/skills/publish-package/REFERENCE.md +15 -5
  197. package/skills/release-branch/REFERENCE.md +12 -8
  198. package/skills/seed-conventions/REFERENCE.md +20 -10
  199. package/skills/smoke-test/REFERENCE.md +9 -5
  200. package/skills/validate-contracts/REFERENCE.md +15 -6
  201. package/skills/wire-ci/REFERENCE.md +12 -5
  202. package/skills/write-document/REFERENCE.md +30 -4
  203. package/skills-lock.json +1 -1
  204. package/scripts/add-model-frontmatter.sh +0 -32
  205. package/scripts/golden-g13-test-orphans.sh +0 -70
  206. package/scripts/install-cursor-skills-local.sh +0 -15
  207. package/scripts/install-cursor-skills.sh +0 -24
  208. package/scripts/project-survey.sh +0 -63
@@ -1,70 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e37s05
3
- # golden-g13-test-orphans.sh — every scripts/test-*.sh must be wired into a gate.
4
- #
5
- # Before this gate, 33 of 35 test scripts were reachable from nothing: not CI,
6
- # not Preflight, not package.json, not another script. Writing a test was not
7
- # enough to make it run, so tests accumulated as dead weight and regressions
8
- # they would have caught shipped anyway (test-adapters.sh silently exercised 1
9
- # of 21 adapters for months).
10
- #
11
- # Usage: bash scripts/golden-g13-test-orphans.sh [--self-test]
12
- # Exit 0: every test script is referenced by the gate list
13
- # Exit 1: at least one orphan (or, under --self-test, the gate failed to notice
14
- # a deliberately unlisted script)
15
-
16
- set -euo pipefail
17
- source "$(dirname "${BASH_SOURCE[0]}")/lib/skill-common.sh"
18
- resolve_repo_root
19
- cd "$REPO_ROOT"
20
-
21
- RED='\033[0;31m'
22
- GREEN='\033[0;32m'
23
- NC='\033[0m'
24
-
25
- GATES_FILE="scripts/lib/golden-suite-gates.sh"
26
-
27
- find_orphans() { # $1 = extra script basename to consider (may be empty)
28
- local extra="${1:-}"
29
- local orphans=""
30
- local f b
31
- for f in scripts/test-*.sh; do
32
- [[ -e "$f" ]] || continue
33
- b="$(basename "$f")"
34
- grep -q "$b" "$GATES_FILE" || orphans+=" $b"$'\n'
35
- done
36
- if [[ -n "$extra" ]]; then
37
- grep -q "$extra" "$GATES_FILE" || orphans+=" $extra"$'\n'
38
- fi
39
- printf '%s' "$orphans"
40
- }
41
-
42
- if [[ "${1:-}" == "--self-test" ]]; then
43
- echo "=== G-13 self-test: prove the gate can fail ==="
44
- # A name that is definitely not in the gate list must be reported.
45
- if [[ -n "$(find_orphans "test-definitely-not-wired.sh")" ]]; then
46
- echo -e "${GREEN}PASS${NC} G-13 reports an unlisted test script"
47
- echo "G-13 self-test: PASS"
48
- exit 0
49
- fi
50
- echo -e "${RED}FAIL${NC} G-13 did not report an unlisted script — vacuous gate"
51
- echo "G-13 self-test: FAIL"
52
- exit 1
53
- fi
54
-
55
- echo "=== G-13: test-script orphan check ==="
56
- ORPHANS="$(find_orphans "")"
57
- TOTAL=$(ls scripts/test-*.sh 2>/dev/null | wc -l | tr -d ' ')
58
-
59
- if [[ -z "$ORPHANS" ]]; then
60
- echo " ok : all $TOTAL test script(s) are wired into $GATES_FILE"
61
- echo -e "${GREEN}PASS${NC}"
62
- echo "G-13: PASS"
63
- exit 0
64
- fi
65
-
66
- echo " orphaned test scripts (present but reachable from no gate):"
67
- printf '%s' "$ORPHANS"
68
- echo -e "${RED}FAIL${NC} add them to GOLDEN_GATES in $GATES_FILE, or delete them"
69
- echo "G-13: FAIL"
70
- exit 1
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e78
3
- # DEPRECATED wrapper — project-local Cursor rules symlink (not .cursor/skills copies).
4
- # Usage: ./scripts/install-cursor-skills-local.sh [INSTALL_ROOT]
5
- set -euo pipefail
6
-
7
- REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
8
- INSTALL_ROOT="$(cd "${1:-$PWD}" && pwd)"
9
- export TARGET_DIR="${TARGET_DIR:-$INSTALL_ROOT/.cursor/rules}"
10
- export SOURCE_DIR="${SOURCE_DIR:-$REPO_ROOT/.cursor/rules}"
11
-
12
- echo "NOTE: install-cursor-skills-local.sh is deprecated; prefer bigpowers setup (local) or:" >&2
13
- echo " ln -sfn $SOURCE_DIR $TARGET_DIR" >&2
14
-
15
- exec "$REPO_ROOT/scripts/install-cursor-skills.sh"
@@ -1,24 +0,0 @@
1
- #!/usr/bin/env bash
2
- # story: e78
3
- # DEPRECATED wrapper — Cursor integration is Rules (.mdc), not ~/.cursor/skills copies.
4
- # Canonical install: bash scripts/install.sh OR node bin/setup.js (bigpowers setup)
5
- # This script now symlinks repo .cursor/rules → TARGET_DIR (default: ~/.cursor/rules).
6
- set -euo pipefail
7
-
8
- REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
9
- SOURCE_DIR="${SOURCE_DIR:-$REPO_ROOT/.cursor/rules}"
10
- TARGET_DIR="${TARGET_DIR:-$HOME/.cursor/rules}"
11
-
12
- echo "NOTE: install-cursor-skills.sh is deprecated; use scripts/install.sh or bigpowers setup." >&2
13
- echo " Redirecting to rules symlink: $TARGET_DIR → $SOURCE_DIR" >&2
14
-
15
- if [[ ! -d "$SOURCE_DIR" ]]; then
16
- echo "SOURCE_DIR missing: $SOURCE_DIR — run bash scripts/sync-skills.sh first" >&2
17
- exit 1
18
- fi
19
-
20
- mkdir -p "$(dirname "$TARGET_DIR")"
21
- ln -sfn "$SOURCE_DIR" "$TARGET_DIR"
22
- echo "Done. Linked $TARGET_DIR → $SOURCE_DIR"
23
- echo "NOTE: Cursor does not scan ~/.cursor/rules/ globally; also symlink into each project:"
24
- echo " ln -sfn $SOURCE_DIR .cursor/rules"
@@ -1,63 +0,0 @@
1
- #!/usr/bin/env bash
2
- # project-survey.sh — automated project status for session-start hooks
3
-
4
- set -euo pipefail
5
-
6
- # 1. Gather file existence info
7
- has_conventions=$([[ -f "CONVENTIONS.md" ]] && echo "true" || echo "false")
8
- has_claude=$([[ -f "CLAUDE.md" ]] && echo "true" || echo "false")
9
- has_specs=$([[ -d "specs" ]] && echo "true" || echo "false")
10
-
11
- # 2. Scan specs/ (YAML-first)
12
- specs_files=""
13
- if [[ "$has_specs" == "true" ]]; then
14
- specs_files=$( {
15
- ls specs/*.yaml 2>/dev/null || true
16
- ls specs/product/*.yaml 2>/dev/null || true
17
- ls specs/*.md 2>/dev/null || true
18
- } | xargs -n1 basename 2>/dev/null | sort -u | tr '\n' ',' | sed 's/,$//')
19
- fi
20
-
21
- # 3. Git state
22
- current_branch=$(git branch --show-current 2>/dev/null || echo "not-a-repo")
23
- git_status=$(git status --short 2>/dev/null | head -n 5 | tr '\n' ' ' | sed 's/"/\\"/g')
24
- recent_logs=$(git log --oneline -3 2>/dev/null | tr '\n' ' ' | sed 's/"/\\"/g')
25
-
26
- # 4. Phase mapping logic (YAML-first)
27
- phase="Discover"
28
- if [[ -f "specs/state.yaml" ]]; then
29
- flow=$(grep -E '^active_flow:' specs/state.yaml | sed 's/active_flow:[[:space:]]*//')
30
- case "$flow" in
31
- fix_bug) phase="Bug" ;;
32
- build_epic) phase="Execute" ;;
33
- planning) phase="Plan" ;;
34
- esac
35
- elif [[ -f "specs/release-plan.yaml" ]]; then
36
- phase="Plan"
37
- elif [[ -f "specs/product/SCOPE_LATEST.yaml" ]] || [[ -f "specs/SCOPE.md" ]]; then
38
- phase="Design"
39
- elif [[ "$current_branch" != "main" && "$current_branch" != "master" ]]; then
40
- phase="Initiate"
41
- fi
42
-
43
- if [[ -f "specs/DIAGNOSIS.md" ]]; then
44
- phase="Bug"
45
- fi
46
-
47
- # 5. Output concise text for context injection
48
- cat <<EOF
49
- [PROJECT SURVEY]
50
- Phase: $phase
51
- Branch: $current_branch
52
- Files: CONVENTIONS=$has_conventions, CLAUDE=$has_claude, SPECS=$has_specs
53
- Specs Found: $specs_files
54
- Git Status: $git_status
55
- Recent Logs: $recent_logs
56
-
57
- Welcome to Bigpowers. I have analyzed the project state.
58
- You are currently in the '$phase' phase on the '$current_branch' branch.
59
- EOF
60
-
61
- if [[ -f "specs/release-plan.yaml" ]]; then
62
- echo "release-plan.yaml found. Read specs/state.yaml for active epic/story."
63
- fi