@ngockhoale/ukit 2.1.4 → 2.2.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +7 -4
  3. package/manifests/platform.full.yaml +113 -24
  4. package/package.json +4 -3
  5. package/src/cli/adapters.js +47 -21
  6. package/src/cli/index.js +2 -2
  7. package/src/core/applyPlan.js +5 -2
  8. package/src/core/ensureGitignore.js +2 -0
  9. package/src/core/runInstallPipeline.js +19 -0
  10. package/src/core/runtimeConfig.js +12 -2
  11. package/src/core/status.js +3 -1
  12. package/src/core/uninstall.js +16 -0
  13. package/src/index/routeCatalog.js +1 -1
  14. package/src/index/taskRouting.js +9 -2
  15. package/src/manifest/selectItems.js +11 -5
  16. package/templates/.claude/agents/code-reviewer.md +42 -1
  17. package/templates/.claude/commands/ukit/handoff-create.md +6 -4
  18. package/templates/.claude/commands/ukit/handoff-fullstack.md +12 -10
  19. package/templates/.claude/commands/ukit/handoff-implement.md +4 -2
  20. package/templates/.claude/commands/ukit/handoff-review.md +4 -2
  21. package/templates/.claude/ukit/index/route-catalog.mjs +1 -1
  22. package/templates/.claude/ukit/index/unic-gateway.mjs +46 -7
  23. package/templates/.codex/README.md +1 -1
  24. package/templates/.gitignore +2 -0
  25. package/templates/.omp/AGENTS.md +9 -0
  26. package/templates/.omp/README.md +96 -0
  27. package/templates/.omp/RULES.md +34 -0
  28. package/templates/.omp/agents/bug-debugger.md +85 -0
  29. package/templates/.omp/agents/code-reviewer.md +197 -0
  30. package/templates/.omp/agents/feature-implementer.md +123 -0
  31. package/templates/.omp/agents/handoff-planner.md +210 -0
  32. package/templates/.omp/agents/ukit-small-task-maintainer.md +72 -0
  33. package/templates/.omp/agents/ukit-vision-analyst.md +100 -0
  34. package/templates/.omp/config.yml +88 -0
  35. package/templates/.omp/hooks/pre/ukit-bridge.js +336 -0
  36. package/templates/AGENTS.md +2 -2
  37. package/templates/CLAUDE.md +8 -0
  38. package/templates/docs/PROJECT.md +1 -1
  39. package/templates/ukit/storage/config.json +18 -3
  40. package/templates/adapter-presets/antigravity/README.md +0 -22
  41. package/templates/adapter-presets/antigravity/rules.md +0 -49
@@ -1,49 +0,0 @@
1
- # Project Rules — {{project.name}}
2
-
3
- Auto-generated by UKit. Edit `.claude/` sources to update.
4
-
5
- ## Core policy
6
-
7
- - Natural language only; do not require slash commands or skill names.
8
- - If helper/index commands are needed, run them internally and never ask users to run them.
9
- - Quality first, keep latency low, avoid repeated token waste.
10
- - Reuse shared route state from `.claude/ukit/skill-router-state.json`. If it already carries compact `previous-context` or `recent-output` lines, use those before widening docs, memory, or raw logs.
11
- - Shared runtime lives in `.ukit/storage/`. Reuse `.ukit/storage/memory/`, `.ukit/storage/cache/compact-pressure.json`, `.ukit/storage/cache/output-history.json`, and `.ukit/storage/cache/tee/` before asking users to restate context.
12
-
13
- ## Route fast
14
-
15
- - `fix/bug/error/debug/lỗi/sửa` → fix lane
16
- - `review/audit/check/soát code` → review lane
17
- - `brainstorm/idea/design/plan` → design lane
18
- - `build/implement/add/create` → build lane
19
- - `clone/copy/similar/giống/tương tự` → follow-pattern lane
20
- - `test/spec/coverage` → test lane
21
- - `docs/readme/changelog/tài liệu` → docs lane
22
- - If intent is ambiguous, ask one short clarifying question.
23
- - If routing is complex or shared route memory needs refresh, run `node .antigravity/ukit/index/route-task.mjs "<prompt>" [--tool-command <cmd>] [--target <file>]`.
24
-
25
- ## Skill + context loop
26
-
27
- - Auto-activate the smallest useful installed skill set from prompt + tool/file evidence.
28
- - Prefer `node .antigravity/ukit/index/resolve-context.mjs "<intent>" [--target <file>]` after choosing a skill.
29
- - Prefer `node .antigravity/ukit/index/verify-context.mjs "<intent>" [--target <file>]` for verification planning.
30
-
31
- ## Indexed reading + verification
32
-
33
- - Trivial: no docs, 1-2 files, minimal verify.
34
- - Simple: `docs/MEMORY.md` only, 2-5 files, targeted verify.
35
- - Non-trivial/risky: `docs/MEMORY.md` + `docs/PROJECT.md` + `docs/CODE_MAP.md`, broader verify.
36
- - `docs/WORKLOG.md`: recent relevant entries only.
37
- - Clone/follow-pattern: open at least 1 analog file.
38
- - Shared logic: open the shared abstraction.
39
- - Bug with tests: open related test first.
40
- - If broad verification is blocked because targeted verification was skipped, go back to the routed targeted lane first.
41
- - For bugfix tasks, run index-first triage: `node .antigravity/ukit/index/build-index.mjs` then `node .antigravity/ukit/index/triage.mjs "<error signature>"`, inspect top suspects, then widen only if needed.
42
-
43
- ## Safety
44
-
45
- - Package manager: `{{runtime.packageManager}}`.
46
- - Keep scope tight and prefer existing code paths.
47
- - Update `docs/WORKLOG.md`, `docs/MEMORY.md`, `docs/CODE_MAP.md`, or `docs/PROJECT.md` after significant work when relevant.
48
- - Never edit `.env*`, lock files, `.git/`, or `node_modules/`.
49
- - Never run destructive commands without explicit confirmation.