@zalom/plastic 1.0.0-alpha.2 → 1.0.0-alpha.21
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/PLASTIC.md +128 -473
- package/README.md +90 -58
- package/agents/future-intent-researcher.md +1 -1
- package/agents/intent-curator.md +1 -1
- package/bin/plastic.js +57 -0
- package/bin/test +28 -0
- package/deprecations.yml +7 -6
- package/hooks/auto-arm +5 -0
- package/hooks/bash-gate +3 -0
- package/hooks/check-update +12 -8
- package/hooks/code-gate +10 -0
- package/hooks/hooks.json +25 -4
- package/hooks/statusline +50 -10
- package/package.json +2 -2
- package/scripts/dashboard.rb +480 -0
- package/scripts/doctor.rb +973 -0
- package/scripts/hook-auto-arm +52 -0
- package/scripts/hook-bash-gate +53 -0
- package/scripts/hook-code-gate +39 -0
- package/scripts/hook-continue +15 -114
- package/scripts/hook-gate-check +19 -4
- package/scripts/hook-session-start +76 -31
- package/scripts/install.rb +91 -480
- package/scripts/lib/bridge.rb +255 -0
- package/scripts/lib/installer_core.rb +760 -0
- package/scripts/migrate-to-global +1 -1
- package/scripts/select-update-target +93 -0
- package/scripts/uninstall.rb +53 -0
- package/scripts/update.rb +142 -0
- package/scripts/versions.rb +141 -0
- package/skills/_active-intent-gate.md +26 -0
- package/skills/auto/SKILL.md +62 -9
- package/skills/auto/evals/evals.json +92 -0
- package/skills/auto/references/agent-architecture.md +60 -0
- package/skills/brainstorming/SKILL.md +143 -0
- package/skills/brainstorming-grill-me/SKILL.md +5 -5
- package/skills/continuing/SKILL.md +102 -77
- package/skills/continuing/evals/evals.json +136 -0
- package/skills/continuing/references/context-management.md +32 -0
- package/skills/creating-intent/SKILL.md +16 -1
- package/skills/creating-intent/references/lifecycle.md +74 -0
- package/skills/creating-intent/references/wikilinks.md +8 -0
- package/skills/creating-project/SKILL.md +8 -4
- package/skills/creating-project/references/hubs-projects.md +55 -0
- package/skills/dashboard/SKILL.md +92 -0
- package/skills/doctor/SKILL.md +116 -0
- package/skills/doctor/references/gates-stuck-detection.md +38 -0
- package/skills/doctor/report.md +96 -0
- package/skills/evaluating-skills/SKILL.md +140 -0
- package/skills/evaluating-skills/assets/eval-template.json +12 -0
- package/skills/evaluating-skills/evals/evals.json +75 -0
- package/skills/evaluating-skills/references/convention-checks.md +76 -0
- package/skills/evaluating-skills/references/eval-methodology.md +154 -0
- package/skills/executing-plan/SKILL.md +3 -3
- package/skills/install/SKILL.md +56 -8
- package/skills/intent-curator/SKILL.md +3 -3
- package/skills/linking-intents/SKILL.md +5 -1
- package/skills/linking-intents/references/zettelkasten.md +33 -0
- package/skills/managing-index/SKILL.md +5 -1
- package/skills/releasing/SKILL.md +119 -18
- package/skills/releasing/references/deprecations.md +44 -0
- package/skills/research/SKILL.md +114 -0
- package/skills/savepoint/SKILL.md +46 -37
- package/skills/savepoint/references/context-management.md +32 -0
- package/skills/uninstall/SKILL.md +39 -28
- package/skills/update/SKILL.md +41 -36
- package/skills/versions/SKILL.md +65 -0
- package/skills/writing-instructions/SKILL.md +159 -0
- package/skills/writing-instructions/references/agentskills-spec.md +135 -0
- package/skills/writing-plans/SKILL.md +183 -0
- package/templates/agents.md +16 -0
- package/templates/outcome.md +13 -0
- package/templates/project.yml +5 -0
- package/templates/savepoint.md +14 -13
- package/templates/spec.md +25 -0
- package/bin/install.js +0 -29
package/templates/savepoint.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
{{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
# Deterministic cycle-step ledger, written automatically by the gate hook.
|
|
2
|
+
# One line per lifecycle milestone, append-only, newest at the bottom:
|
|
3
|
+
#
|
|
4
|
+
# {UTC-iso8601} {Stage} {milestone}
|
|
5
|
+
#
|
|
6
|
+
# Example:
|
|
7
|
+
# 2026-06-16T14:02:00Z What ID--slug.md
|
|
8
|
+
# 2026-06-16T14:20:00Z Why spec.md created
|
|
9
|
+
# 2026-06-16T15:10:00Z How plan.md created
|
|
10
|
+
# 2026-06-16T15:11:00Z How checklist.md created
|
|
11
|
+
# 2026-06-16T16:40:00Z Exec outcome.md created
|
|
12
|
+
#
|
|
13
|
+
# This file is sugar on top of the conventions, not a source of truth. It is
|
|
14
|
+
# rebuildable from files-on-disk via Bridge.rebuild_savepoint. Do not hand-edit.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Spec: <intent name>
|
|
2
|
+
|
|
3
|
+
## Problem
|
|
4
|
+
(the problem, stated as a problem, not a solution)
|
|
5
|
+
|
|
6
|
+
## Goals
|
|
7
|
+
- ...
|
|
8
|
+
|
|
9
|
+
## Non-Goals
|
|
10
|
+
- ...
|
|
11
|
+
|
|
12
|
+
## Approach
|
|
13
|
+
(the chosen approach, in prose)
|
|
14
|
+
|
|
15
|
+
## Alternatives Considered
|
|
16
|
+
- <alternative> — not chosen because ...
|
|
17
|
+
|
|
18
|
+
## Decisions
|
|
19
|
+
- ...
|
|
20
|
+
|
|
21
|
+
## Acceptance Criteria
|
|
22
|
+
- [ ] ...
|
|
23
|
+
|
|
24
|
+
## Open Questions
|
|
25
|
+
None
|
package/bin/install.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// Thin shim — npx entry point that delegates to the Ruby installer.
|
|
4
|
-
// All logic lives in scripts/install.rb. JS is only the distribution mechanism.
|
|
5
|
-
|
|
6
|
-
import { execFileSync } from 'node:child_process'
|
|
7
|
-
import { resolve } from 'node:path'
|
|
8
|
-
import { existsSync } from 'node:fs'
|
|
9
|
-
|
|
10
|
-
const packageRoot = new URL('..', import.meta.url).pathname
|
|
11
|
-
const installer = resolve(packageRoot, 'scripts', 'install.rb')
|
|
12
|
-
|
|
13
|
-
if (!existsSync(installer)) {
|
|
14
|
-
console.error('Error: scripts/install.rb not found in package.')
|
|
15
|
-
process.exit(1)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
try {
|
|
19
|
-
execFileSync('ruby', [installer, ...process.argv.slice(2)], {
|
|
20
|
-
stdio: 'inherit',
|
|
21
|
-
env: { ...process.env, PLASTIC_PACKAGE_ROOT: packageRoot },
|
|
22
|
-
})
|
|
23
|
-
} catch (err) {
|
|
24
|
-
if (err.status) process.exit(err.status)
|
|
25
|
-
console.error('Error: Ruby is required to install Plastic.')
|
|
26
|
-
console.error(' macOS: Ruby is pre-installed')
|
|
27
|
-
console.error(' Linux: sudo apt install ruby / dnf install ruby')
|
|
28
|
-
process.exit(1)
|
|
29
|
-
}
|