@caddis/cli 0.4.93 → 0.4.94

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 (55) hide show
  1. package/bundles/antigravity-plugin/guard_agy.py +6 -2
  2. package/bundles/antigravity-plugin/plugin.json +1 -1
  3. package/bundles/antigravity-plugin/repo_freshness.py +71 -6
  4. package/bundles/antigravity-plugin/repo_hygiene.py +516 -0
  5. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_exit.cpython-311.pyc +0 -0
  6. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_file_lock.cpython-311.pyc +0 -0
  7. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_frontmatter.cpython-311.pyc +0 -0
  8. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_redact.cpython-311.pyc +0 -0
  9. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_roadmap.cpython-311.pyc +0 -0
  10. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_rows.cpython-311.pyc +0 -0
  11. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_status.cpython-311.pyc +0 -0
  12. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_tidy.cpython-311.pyc +0 -0
  13. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_todo.cpython-311.pyc +0 -0
  14. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_workstreams.cpython-311.pyc +0 -0
  15. package/bundles/antigravity-plugin/scripts/__pycache__/caddis_worktree_safety.cpython-311.pyc +0 -0
  16. package/bundles/antigravity-plugin/scripts/caddis_finished.py +537 -0
  17. package/bundles/antigravity-plugin/scripts/caddis_guide.json +9 -8
  18. package/bundles/antigravity-plugin/scripts/caddis_own_cleanup.py +23 -248
  19. package/bundles/antigravity-plugin/scripts/caddis_repo_tidy.py +240 -0
  20. package/bundles/antigravity-plugin/scripts/caddis_tidy.py +12 -0
  21. package/bundles/antigravity-plugin/scripts/caddis_worktree_root.py +111 -2
  22. package/bundles/antigravity-plugin/scripts/setup_project_ai.py +67 -10
  23. package/bundles/antigravity-plugin/skills/_registry.md +4 -4
  24. package/bundles/antigravity-plugin/skills/adopt-app/SKILL.md +2 -5
  25. package/bundles/antigravity-plugin/skills/cloud-phases/SKILL.md +1 -1
  26. package/bundles/antigravity-plugin/skills/dashboard-perf-sweep/SKILL.md +1 -1
  27. package/bundles/antigravity-plugin/skills/db-diagram/SKILL.md +1 -1
  28. package/bundles/antigravity-plugin/skills/explainer-doc/SKILL.md +1 -1
  29. package/bundles/antigravity-plugin/skills/implement/SKILL.md +4 -0
  30. package/bundles/antigravity-plugin/skills/port-to-github/SKILL.md +2 -5
  31. package/bundles/antigravity-plugin/skills/pr-merge/SKILL.md +1 -1
  32. package/bundles/antigravity-plugin/skills/ship-merge/SKILL.md +1 -1
  33. package/bundles/antigravity-plugin/skills/ship-pr/SKILL.md +1 -1
  34. package/bundles/antigravity-plugin/skills/tech-explainer/SKILL.md +2 -6
  35. package/bundles/antigravity-plugin/skills/using-git-worktrees/SKILL.md +19 -2
  36. package/bundles/antigravity-plugin/skills/warm-editorial-ui/SKILL.md +1 -1
  37. package/bundles/antigravity-plugin-extras/plugin.json +1 -1
  38. package/bundles/antigravity-plugin-extras/skills/_registry.md +2 -2
  39. package/bundles/antigravity-plugin-extras/skills/building-ai-agent-on-cloudflare/SKILL.md +1 -2
  40. package/bundles/antigravity-plugin-extras/skills/building-mcp-server-on-cloudflare/SKILL.md +1 -2
  41. package/bundles/antigravity-plugin-extras/skills/data-contract-pipeline/SKILL.md +1 -1
  42. package/bundles/antigravity-plugin-extras/skills/responsive-mobile-native/SKILL.md +2 -4
  43. package/bundles/antigravity-plugin-extras/skills/runner-move/SKILL.md +2 -4
  44. package/bundles/antigravity-plugin-extras/skills/setup-project-ai/SKILL.md +1 -1
  45. package/bundles/antigravity-plugin-extras/skills/understand-anything/SKILL.md +2 -5
  46. package/bundles/codex/.codex/skills/coding/dashboard-perf-sweep/SKILL.md +1 -1
  47. package/bundles/codex/.codex/skills/data/db-diagram/SKILL.md +1 -1
  48. package/bundles/codex/.codex/skills/devops/adopt-app/SKILL.md +2 -5
  49. package/bundles/codex/.codex/skills/devops/port-to-github/SKILL.md +2 -5
  50. package/bundles/codex/.codex/skills/devops/using-git-worktrees/SKILL.md +19 -2
  51. package/bundles/codex/.codex/skills/docs/explainer-doc/SKILL.md +1 -1
  52. package/bundles/codex/.codex/skills/docs/tech-explainer/SKILL.md +2 -6
  53. package/bundles/codex/.codex/skills/frontend/warm-editorial-ui/SKILL.md +1 -1
  54. package/bundles/manifest.json +3 -3
  55. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: dashboard-perf-sweep
3
3
  context: fork
4
- description: Re-measure dashboard/API endpoints for load-time regressions and decide by checklist if a slow one needs the rs-kit refresher, an index, keyset paging, gzip, or nothing. Use when the user says "sweep dashboard performance", "check if this app needs rs-kit", "re-measure the perf tracker", "is this endpoint a refresher candidate", or dashboard-performance-tracker.md is stale. Read-only.
4
+ description: Re-measure dashboard/API endpoints for load-time regressions. Use when the user says "sweep dashboard performance", "check if this app needs rs-kit", or "re-measure the perf tracker".
5
5
  ---
6
6
 
7
7
  # dashboard-perf-sweep — re-measure, then judge the shape, not just the time
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: db-diagram
3
3
  context: fork
4
- description: Diagram a SQL artifact (stored proc, view, query, .sql file, table) as Mermaid or Excalidraw. Use when the user says "diagram this query/proc/view/schema", "explain this SQL visually", "draw the ER diagram", "show me the data flow of this stored proc", "/mermaid-db", or "/excalidraw-db". Read-only.
4
+ description: Diagram SQL artifacts (procs, views, queries, tables) as Mermaid or Excalidraw. Use when the user says "diagram this SQL", "draw the ER diagram", "/mermaid-db", or "/excalidraw-db".
5
5
  ---
6
6
 
7
7
  # db-diagram — explain SQL as a diagram
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  name: adopt-app
3
3
  description: >-
4
- Bring an app that was never scaffolded (POC, server folder, checkout with no remote) up to standard:
5
- inventory without running it, pass/gap/question verdicts, ordered plan. Use when the user says "this
6
- app was never set up properly", "adopt this POC", "onboard this app", "it just runs from a folder on
7
- the server", "what would it take to get this into CI", "nobody knows how this is deployed", or "it
8
- started as a prototype and now it is production".
4
+ Inventory an unscaffolded app or POC read-only and produce an adoption plan. Use when the user
5
+ says "adopt this POC", "onboard this app", "never set up properly", or "get this into CI".
9
6
  ---
10
7
 
11
8
  # adopt-app
@@ -1,11 +1,8 @@
1
1
  ---
2
2
  name: port-to-github
3
3
  description: >-
4
- Port an app or repo to GitHub from any source (git server, local folder, UNC share, Windows box over
5
- WinRM): all branches and tags, SHA-verified, CI translated, source-only history, deploy cut over
6
- with rollback. Use when the user says "move this app to GitHub", "port X to GitHub", "migrate from
7
- Gitea", "this app only exists on the server", "import the repo from the prod box", "keep binaries
8
- out of the repo", or "cut the deploy over to GitHub".
4
+ Port an app or repo to GitHub with verified history, CI translation, and deploy cutover. Use when
5
+ the user says "move this app to GitHub", "port X to GitHub", or "migrate from Gitea".
9
6
  ---
10
7
 
11
8
  # port-to-github
@@ -55,8 +55,25 @@ git worktree add -b <branch> $wt origin/<default>
55
55
 
56
56
  ## Install dependencies fresh
57
57
 
58
- Install inside the worktree. Use the project's own command (`npm ci`, `python -m venv .venv` then
59
- `.venv\Scripts\python -m pip install -r requirements.txt`, `cargo build`, `go mod download`). Call the
58
+ Run one command, inside the new worktree:
59
+
60
+ ```powershell
61
+ python "<caddis scripts>\caddis_worktree_root.py" --bootstrap
62
+ ```
63
+
64
+ It installs this worktree's own dependencies:
65
+
66
+ - `uv sync --frozen --all-extras` when `uv.lock` exists. Without `uv.lock`: `python -m venv .venv`, then `pip install`
67
+ of what the repo declares (`-e ".[dev]"` or `-e .`, then `requirements.txt` and `requirements-dev.txt`).
68
+ - `npm ci` in the root and in `frontend/`, for each folder that has a `package-lock.json`.
69
+
70
+ It refuses to run in a main checkout (exit 2) and stops at the first failing step (exit 1).
71
+
72
+ The pre-push gate needs this. In a worktree the gate uses only the worktree's own `.venv`. It never uses the main
73
+ checkout's venv (stale, and it belongs to a running dev service) and never the system Python. A worktree with no
74
+ `.venv` fails the gate with this command in the message. Do not push with `--no-verify` to get round it.
75
+
76
+ For a stack the script does not cover, use the project's own command (`cargo build`, `go mod download`). Call the
60
77
  venv's own `python`; a bare `pip` can install into the global Python.
61
78
 
62
79
  Never link `node_modules` or a venv from another folder. Tools that follow the link then change the
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: explainer-doc
3
3
  context: fork
4
- description: Hand-off doc for a team that did NOT do the investigation (vendor, contractor, another team) — the "stranger must follow it alone" case. Use when the user says "write a spec for the X team", "document this for someone outside the team", "explainer doc", "implementation spec for a vendor", or "hand this off to Y". Not for readers with full context.
4
+ description: Write a self-contained hand-off spec for an external team or vendor. Use when the user says "write a spec for the X team", "explainer doc", "spec for a vendor", or "hand this off to Y".
5
5
  ---
6
6
 
7
7
  # explainer-doc — write for the reader who has no other context
@@ -2,12 +2,8 @@
2
2
  name: tech-explainer
3
3
  context: fork
4
4
  description: >-
5
- Plain-language explainer, with ranked Mermaid diagrams and Simplified Technical English, for a
6
- reader who did NOT do the investigation (manager, stakeholder). Use when the user says "explain this
7
- to X", "explainer", "write this up for someone non-technical", "plain English", "STE", "explain our
8
- findings", "write up the benchmark results", "why is it slow — document it", or summarises an
9
- investigation for a reader who won't read the raw data. Not for build hand-offs (explainer-doc) or
10
- READMEs.
5
+ Plain-language explainer with Mermaid diagrams and STE for stakeholders. Use when the user says
6
+ "explain this to X", "plain English", "STE", or "explain our findings".
11
7
  ---
12
8
 
13
9
  # tech-explainer — make a stranger understand, and able to push back
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: warm-editorial-ui
3
- description: Apply the "Warm Editorial Refinement" design system (warm cream/charcoal surfaces, Bahnschrift + Plus Jakarta Sans, layered shadows), the canonical template for new frontend builds. Use for apps, dashboards or UI in the abc-project style, or on "use our design system", "apply our template", "make it look like abc-project", "use the warm editorial style", "use our brand template", "add dark mode", or a new tool for XYZ Brand.
3
+ description: Apply the Warm Editorial Refinement design system. Use when the user says "use our design system", "warm editorial style", "apply our template", or "make it look like abc-project".
4
4
  ---
5
5
 
6
6
  # Warm Editorial Refinement — Design System
@@ -1,8 +1,8 @@
1
1
  {
2
- "poolVersion": "1.3.177",
2
+ "poolVersion": "1.3.178",
3
3
  "bundles": {
4
- "antigravity-plugin": "1.3.177",
5
- "antigravity-plugin-extras": "1.3.50",
4
+ "antigravity-plugin": "1.3.178",
5
+ "antigravity-plugin-extras": "1.3.51",
6
6
  "codex": "unknown"
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caddis/cli",
3
- "version": "0.4.93",
3
+ "version": "0.4.94",
4
4
  "description": "Install, update and diagnose the caddis dev harness across every coding agent you use (Claude Code, agy/Antigravity, and more).",
5
5
  "keywords": [
6
6
  "caddis",