@techgoblin/gobstack 0.6.0-alpha.3 → 0.6.0-beta.1
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/CHANGELOG.md +45 -0
- package/README.md +256 -120
- package/VERSION +1 -1
- package/bans/README.md +5 -5
- package/bans/grep-ban.sh +1 -1
- package/bin/goblin-bans +103 -27
- package/bin/goblin-init +346 -211
- package/bin/goblin-install +281 -204
- package/bin/goblin-lib.sh +79 -76
- package/bin/goblin-map +130 -571
- package/bin/goblin-mcp.js +37 -16
- package/bin/goblin-verify +254 -998
- package/bin/goblin.js +4 -9
- package/docs/GUIDE.md +727 -181
- package/docs/LIMITS.md +273 -301
- package/docs/RECORD-NOTES.md +1 -2
- package/manifest/bans.tsv +9 -9
- package/manifest/categories.tsv +18 -0
- package/manifest/enforcement.tsv +12 -68
- package/manifest/glossary.tsv +6 -12
- package/manifest/library.tsv +33 -0
- package/package.json +1 -4
- package/skills/goblin-bootstrap/SKILL.md +20 -32
- package/skills/goblin-feature-map/SKILL.md +1 -1
- package/skills/goblin-verify-author/SKILL.md +2 -2
- package/skills/practice/SKILL.md +4 -4
- package/templates/AGENTS.md.tmpl +6 -6
- package/templates/HANDOFF.md.tmpl +1 -1
- package/templates/SPEC.md.tmpl +2 -2
- package/templates/agents-block.tmpl +1 -10
- package/adapters/_template/adapter.tsv +0 -16
- package/adapters/_template/detect.sh +0 -10
- package/adapters/_template/emit.sh +0 -5
- package/adapters/_template/verify.sh +0 -4
- package/adapters/claude/adapter.tsv +0 -8
- package/adapters/claude/detect.sh +0 -8
- package/adapters/claude/verify.sh +0 -47
- package/adapters/codex/adapter.tsv +0 -12
- package/adapters/codex/detect.sh +0 -9
- package/adapters/codex/verify.sh +0 -45
- package/adapters/copilot/adapter.tsv +0 -10
- package/adapters/copilot/detect.sh +0 -8
- package/adapters/copilot/verify.sh +0 -45
- package/adapters/cursor/adapter.tsv +0 -11
- package/adapters/cursor/detect.sh +0 -10
- package/adapters/cursor/verify.sh +0 -45
- package/adapters/gemini/adapter.tsv +0 -15
- package/adapters/gemini/detect.sh +0 -11
- package/adapters/gemini/verify.sh +0 -49
- package/adapters/hermes/adapter.tsv +0 -9
- package/adapters/hermes/detect.sh +0 -8
- package/adapters/hermes/verify.sh +0 -27
- package/adapters/opencode/adapter.tsv +0 -14
- package/adapters/opencode/detect.sh +0 -9
- package/adapters/opencode/verify.sh +0 -45
- package/automations/README.md +0 -53
- package/automations/bugreporter-intake.sh +0 -145
- package/automations/drift-audit.sh +0 -139
- package/automations/report.schema.tsv +0 -10
- package/bin/goblin +0 -144
- package/bin/goblin-audit +0 -143
- package/bin/goblin-doctor +0 -233
- package/bin/goblin-emit +0 -495
- package/bin/goblin-extras +0 -360
- package/bin/goblin-model +0 -105
- package/bin/goblin-upgrade +0 -580
- package/docs/ADOPTION.md +0 -173
- package/docs/CI.md +0 -190
- package/docs/CONTRACTS.md +0 -215
- package/docs/DESIGN.md +0 -92
- package/docs/ENFORCEMENT.md +0 -228
- package/docs/FLOWS.md +0 -164
- package/docs/GLOSSARY.md +0 -40
- package/docs/GUARDRAILS.md +0 -126
- package/docs/INTEGRATION.md +0 -92
- package/docs/LOOP.md +0 -165
- package/docs/RE-PLAYBOOK.md +0 -183
- package/docs/RISKS.md +0 -70
- package/docs/ROLES.md +0 -105
- package/extras-catalogue/catalogue.tsv +0 -42
- package/extras-catalogue/payload/README.md +0 -14
- package/extras-catalogue/payload/taste-skill/taste/REFERENCE.md +0 -3
- package/extras-catalogue/payload/taste-skill/taste/SKILL.md +0 -9
- package/manifest/classes.tsv +0 -51
- package/manifest/playbooks.tsv +0 -16
- package/presets/electron-overlay.yaml +0 -38
- package/presets/fleet.yaml +0 -43
- package/presets/game.yaml +0 -38
- package/presets/research.yaml +0 -41
- package/presets/service.yaml +0 -40
- package/presets/software.yaml +0 -48
- package/roles.yaml +0 -54
- package/skills/goblin-bugfix/SKILL.md +0 -26
- package/skills/goblin-bugreporter/SKILL.md +0 -52
- package/skills/goblin-drift-audit/SKILL.md +0 -43
- package/skills/goblin-eval/SKILL.md +0 -68
- package/skills/goblin-feature/SKILL.md +0 -26
- package/skills/goblin-investigation/SKILL.md +0 -26
- package/skills/goblin-judge/SKILL.md +0 -74
- package/skills/goblin-loop/SKILL.md +0 -88
- package/skills/goblin-mode/SKILL.md +0 -70
- package/skills/goblin-overnight/SKILL.md +0 -42
- package/skills/goblin-pr-gate/SKILL.md +0 -42
- package/skills/goblin-re-mobile/SKILL.md +0 -51
- package/skills/goblin-refactor/SKILL.md +0 -23
- package/skills/goblin-sweep/SKILL.md +0 -23
- package/skills/goblin-tdd-repro/SKILL.md +0 -27
- package/templates/audit-waiver.tsv.tmpl +0 -10
- package/templates/install-hooks.allowlist.tmpl +0 -9
- package/templates/report.yaml.tmpl +0 -16
package/bin/goblin.js
CHANGED
|
@@ -7,17 +7,14 @@
|
|
|
7
7
|
//
|
|
8
8
|
// v2 SURFACE (AI-driven development):
|
|
9
9
|
// gob init [...] -> bin/goblin-init (the prompt+schema engine)
|
|
10
|
-
// gob map [...] -> bin/goblin-map (prompt+schema; --heuristic fallback)
|
|
11
10
|
// gob verify [...] -> bin/goblin-verify
|
|
12
11
|
// gob bans [...] -> bin/goblin-bans
|
|
13
|
-
// gob extras [...] -> bin/goblin-extras (curated catalogue)
|
|
14
12
|
// gob mcp -> bin/goblin-mcp.js (the MCP stdio server)
|
|
15
13
|
// gob uninstall [--target <dir>] -> bin/goblin-install --uninstall
|
|
16
14
|
// no args | -h/--help | any other first arg -> this file's short usage, exit 2.
|
|
17
15
|
//
|
|
18
|
-
// UNWIRED (code kept, deletion is session 3): audit,
|
|
19
|
-
//
|
|
20
|
-
// naming what replaced it — never silently executed.
|
|
16
|
+
// UNWIRED (code kept, deletion is session 3): audit, install. The usage() list is the product's
|
|
17
|
+
// contract: a verb absent from it is refused, naming what replaced it — never silently executed.
|
|
21
18
|
//
|
|
22
19
|
// Non-negotiables: args are passed as an ARRAY, never a shell string (no injection
|
|
23
20
|
// surface); `bash` is named explicitly (a packager stripping the executable bit must not
|
|
@@ -38,7 +35,7 @@ if (arg0 === "--version" || arg0 === "-V" || arg0 === "-v") {
|
|
|
38
35
|
process.exit(0);
|
|
39
36
|
}
|
|
40
37
|
|
|
41
|
-
const SCRIPT = { init: "goblin-init",
|
|
38
|
+
const SCRIPT = { init: "goblin-init", verify: "goblin-verify", bans: "goblin-bans", mcp: "goblin-mcp.js" };
|
|
42
39
|
const [cmd, ...rest] = process.argv.slice(2);
|
|
43
40
|
|
|
44
41
|
// No args, a help flag, or an unrecognized first arg: short usage, exit 2. A bare
|
|
@@ -52,9 +49,7 @@ function usage() {
|
|
|
52
49
|
" gob init start here — prints the agent brief + proposal schema; --write installs it",
|
|
53
50
|
" gob verify run the rule matrix against the current repo",
|
|
54
51
|
" gob bans run the ban list (per-pattern red lines over the source tree)",
|
|
55
|
-
" gob
|
|
56
|
-
" gob map print the feature-map prompt + schema; --heuristic scans instead",
|
|
57
|
-
" gob mcp serve the harness to your agent over MCP stdio (verify/map/init tools)",
|
|
52
|
+
" gob mcp serve the harness to your agent over MCP stdio (verify/init tools)",
|
|
58
53
|
" gob uninstall --target . remove exactly what an install wrote (preimages)",
|
|
59
54
|
"",
|
|
60
55
|
"start here: npx @techgoblin/gobstack init",
|