getadvantage 0.1.0 → 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/README.md +7 -0
- package/brief.mjs +634 -634
- package/checks-runner.mjs +136 -136
- package/checks.mjs +327 -327
- package/deploy.mjs +203 -203
- package/gauge.mjs +95 -0
- package/handoff.mjs +10 -3
- package/index.mjs +223 -181
- package/init.mjs +81 -0
- package/ledger.mjs +110 -0
- package/models.mjs +40 -0
- package/overviews.mjs +536 -536
- package/package.json +1 -1
- package/switch.mjs +60 -0
- package/util.mjs +142 -142
package/README.md
CHANGED
|
@@ -24,7 +24,9 @@ No install needed:
|
|
|
24
24
|
```bash
|
|
25
25
|
npx getadvantage # run the pre-deploy checks (GO / NO-GO)
|
|
26
26
|
npx getadvantage brief # generate / refresh the project brain
|
|
27
|
+
npx getadvantage init # auto-load the brain at every session start
|
|
27
28
|
npx getadvantage handoff # save your place for the next session
|
|
29
|
+
npx getadvantage switch # move to a new tool/model without losing context
|
|
28
30
|
```
|
|
29
31
|
|
|
30
32
|
Or add it to your project:
|
|
@@ -48,6 +50,11 @@ whichever reads better to you.
|
|
|
48
50
|
| `ship-safe` (default `check`) | Read-only pre-deploy checks → exit `0` on **GO**, `1` on **NO-GO**. Add `--build` for a full build. |
|
|
49
51
|
| `ship-safe brief` | Generate / refresh `PROJECT-BRIEF.md` — the **COLD** layer (what the project *is*). `--check` warns if it's stale; it never blocks. |
|
|
50
52
|
| `ship-safe handoff` | Refresh the brief **and** write `HANDOFF.md` — the **HOT** layer (where you *left off*). Your notes are preserved across refreshes; it never overwrites a `HANDOFF.md` it didn't create. |
|
|
53
|
+
| `ship-safe init` | Wire the brain into your agent's instructions file (`CLAUDE.md` / `AGENTS.md` / `.cursorrules` / `.windsurfrules` / `.clinerules`) so `PROJECT-BRIEF.md` + `HANDOFF.md` load automatically at session start. |
|
|
54
|
+
| `ship-safe switch [tool]` | Switch tools/models without losing context — saves your place, wires every AI-tool file, and prints the prompt to start the new session. |
|
|
55
|
+
| `ship-safe models` | A plain-language playbook for choosing + switching AI models (principles, not benchmarks). |
|
|
56
|
+
| `ship-safe gauge` | A quick "is this session getting heavy?" read (repo activity since your last handoff) that nudges a reset before things slow down — a heuristic, not a token count. |
|
|
57
|
+
| `ship-safe ledger` | Show the session ledger — the running log of save-points each `handoff` records. |
|
|
51
58
|
| `ship-safe deploy` | _(Advanced)_ Deploy from a clean, detached worktree and confirm the deployment URL's project prefix. Runs a real `vercel --prod`; the project prefix is derived from your linked `.vercel` (or pass `--expect-prefix`). |
|
|
52
59
|
|
|
53
60
|
## What it is — and isn't
|