@ngockhoale/ukit 3.4.76 → 3.4.78
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 +11 -637
- package/package.json +1 -1
- package/template_project/.claude/hooks/skill-router.sh +192 -19
- package/template_project/.claude/ukit/index/publication-intent.mjs +130 -18
- package/template_project/.claude/ukit/runtime/cron-operation-adapter.mjs +13 -1
- package/template_project/.claude/ukit/runtime/execution-ledger.mjs +410 -62
- package/template_project/.claude/ukit/runtime/operation-evidence.mjs +32 -4
- package/template_project/.claude/ukit/runtime/stop-coordinator.mjs +2 -0
- package/template_project/.omp/hooks/pre/ukit-bridge.js +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to UKit are documented here.
|
|
4
4
|
|
|
5
|
+
## 3.4.78 - 2026-11-06
|
|
6
|
+
|
|
7
|
+
- P0 RC4 (delayed wakeup): a `/loop` fire queued behind a busy turn is delivered only after that turn ends, so its `scheduled_task_fire` record sat behind the turn's assistant entries and beyond the router's 128KB tail (real incident: 177KB, 7 minutes) and the wakeup minted a fresh CODE_IMPLEMENTATION task. An UNCONSUMED same-session fire (no later entry carries its `scheduledFireId`), matching the prompt, at most 6h old, found in a bounded 8MB tail is now host provenance: the previous task and contract carry, a read-only wakeup stays a coordination turn. Consumed, foreign-session, stale, timestamp-less or different-prompt fires never exempt an owner prompt. Replay of the real transcript: HEAD minted a new task, fixed router carries.
|
|
8
|
+
|
|
9
|
+
## 3.4.77 - 2026-11-06
|
|
10
|
+
|
|
11
|
+
- Packaging: the 1.0.0–2.0.7 changelog entries moved verbatim to `docs/archive/CHANGELOG-1.0.0-2.0.7.md` (repository only) so the npm artifact stays inside the unchanged size budget; no runtime or safety code was removed and the size limits were not raised.
|
|
12
|
+
- P0 acceptance: a Claude Code scheduled wakeup (`scheduled_task_fire` in the current delivery window) is recognized as host provenance, never owner authorization; commit/push + script deploy keeps a separate git goal; a milestone with no attempted operation hands back instead of demanding operation verification; an unchanged-state Stop gives a single finite handback.
|
|
13
|
+
- P0 continuation: a pending host background job yields a WAIT Stop (no budget, no edit demand, one release per job); an explicit owner continue/authorization adopts the predecessor task's content-current evidence via a single-hop link; scoped (conditional/purpose/other-subject/quoted) bans no longer prohibit an authorized deploy; non-npm native deploys are proven by deploy + post-deploy receipts; unproven-exit messages name the runner. Replay/unit evidence only.
|
|
14
|
+
|
|
5
15
|
## 3.4.76 - 2026-11-03
|
|
6
16
|
|
|
7
17
|
**P0 follow-up: UNKNOWN-stop marker store, explicit STOP publication and negation-aware state classification. Isolated process/replay evidence only; not live-host certification.**
|
|
@@ -3277,640 +3287,4 @@ Handoff autonomy wave: `/ukit:handoff-fullstack` runs a whole goal end-to-end wi
|
|
|
3277
3287
|
- **`feature-implementer` and `code-reviewer` run unattended in handoff mode.** Ambiguity resolves through task file → PLAN.md → surrounding code → recommended choice, recorded in `## Discussion`;
|
|
3278
3288
|
- **`handoff-model-guard.sh` gained a bash fast path** that skips the node spawn when the payload contains neither `AI_HANDOFF` nor `git push`.
|
|
3279
3289
|
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
### Added
|
|
3283
|
-
|
|
3284
|
-
- **`/ukit:handoff-create` and `/ukit:handoff-fullstack` gain a P2.5 independent plan review gate.** After the planner writes `PLAN.md` and before it's committed, a separate `code-reviewer` agent invocation (`REVIEW_TARGET_TYPE=plan`, fresh context — not the planner reviewing its own work) checks Completeness/Consistency/Clarity/Scope/YAGNI. `Issues Found` routes back to the planner to revise and resubmit; `Approved` unlocks the commit. Each round is logged to PLAN.md's new `## Plan Review Log` section, and the loop is capped at 3 `Issues Found` rounds — past that it escalates to the human instead of looping indefinitely.
|
|
3285
|
-
- **Same-wave file-conflict precheck in Phase 3.** Before spawning any implementation wave, `handoff-implement.md`/`handoff-fullstack.md` now compare `Target Files` across every task in that wave;
|
|
3286
|
-
- **TDD RED-state now requires real evidence.** The Executor Report template adds a mandatory `RED_OUTPUT` field — the actual failing-test output pasted before implementation, not a bare "confirmed" claim. `code-reviewer` checks this field during Test Plan adherence review and requests changes if it's missing or vague.
|
|
3287
|
-
- **`handoff.plan.requireLintOrTypecheckInVerification`** (default `true`): when the project has a lint/typecheck script, task Verification Commands must run it, not just tests;
|
|
3288
|
-
|
|
3289
|
-
### Changed
|
|
3290
|
-
|
|
3291
|
-
- **`handoff.maxParallelAgents`**: 3 → 10, raising the default cap on concurrent background agents per wave (config comments still warn against exceeding ~10-15 — each agent's report gets injected back into the orchestrator's own context on completion).
|
|
3292
|
-
- **Phase 4 (Review) is now parallelized**, batched by `maxParallelAgents` the same way Phase 3 (Implement) already was — reviewer agents only read a diff and append a verdict to their own task file, so parallel review carries none of Phase 3's shared-worktree conflict risk.
|
|
3293
|
-
- **`handoff.plan.minTestsEdgeCase`**: 1 → 2, and the two edge cases must now be of different kinds (e.g.
|
|
3294
|
-
|
|
3295
|
-
## 2.0.6 - 2026-08-12
|
|
3296
|
-
|
|
3297
|
-
### Changed
|
|
3298
|
-
|
|
3299
|
-
- **`context-window-guard.sh` now issues an actionable directive instead of a passive notice.** At 80%+ of `compact.hardCapTokens` it previously only printed an FYI warning that nothing acted on, so it kept re-firing every prompt with no remedy. It now instructs the agent, in the same turn: persist progress to `docs/STATUS.md` (update-status skill), split remaining multi-phase work (e.g. a `handoff-fullstack` run) into bounded `docs/AI_HANDOFF` tasks instead of continuing in one long thread, or tell the user plainly to `/compact`/start a fresh session. The full directive is debounced (3 min at hard phase, 8 min at soft) so it does not repeat in full every prompt — a short reminder line stands in until the phase changes or the cooldown lapses. `/compact` itself still cannot be invoked from a hook (client-only command), so this closes the gap by making the advisory self-actionable rather than attempting to fake a call the hook has no access to.
|
|
3300
|
-
|
|
3301
|
-
## 2.0.5 - 2026-08-11
|
|
3302
|
-
|
|
3303
|
-
### Changed
|
|
3304
|
-
|
|
3305
|
-
- **Model IDs refreshed to the Claude 5 family**: `claude-sonnet-4-6` → `claude-sonnet-5`, `claude-opus-4-6` → `claude-opus-5`, across the `code`/`smart` tiers, `orchestration.modelTiers.vision.fallbackModel`, `handoff.defaultModel`/`advisorModel`/`orchestratorModel`, the Codex adapter settings, the `handoff-planner` agent example, and the config's own Vietnamese documentation strings. `claude-haiku-4-5` is unchanged — Haiku 4.5 is still current, so the `lite` tier was already correct. 54 references in live config, source and tests; historical records (`docs/AI_HANDOFF/archive/`, `docs/plans/`, `docs/WORKLOG.md`, `.ukit/storage/backups/`) are deliberately left alone, since rewriting what a past cycle actually ran on would be falsifying the record.
|
|
3306
|
-
|
|
3307
|
-
## 2.0.4 - 2026-08-11
|
|
3308
|
-
|
|
3309
|
-
### Added
|
|
3310
|
-
|
|
3311
|
-
- **`context-window-guard.sh`** (UserPromptSubmit) — measures the session's real context by reading the transcript, and warns at 80% of `compact.hardCapTokens` / raises an ALERT at 100%.
|
|
3312
|
-
- **`handoff.maxParallelAgents`** (default `3`) — caps how many implementer agents a handoff wave spawns at once.
|
|
3313
|
-
- **`ukit update` now refreshes the current project**, replacing the `ukit update && ukit install` two-step.
|
|
3314
|
-
|
|
3315
|
-
### Changed
|
|
3316
|
-
|
|
3317
|
-
- **`compact.hardCapTokens` default lowered from `220000` to `160000`.** The old default sat *above* a 200k model window, so the gate it guards could never fire in the one situation it exists to prevent — it was dead code shipped as a safety feature. Measured live on a real session, the new guard read 157,952 tokens against this 160k cap, matching the point where the API actually starts rejecting input. The separate 50k/80k advisory phases are unchanged.
|
|
3318
|
-
- **The index now covers the whole project instead of a fixed list of directory names.** Discovery scanned `src`/`tests`/`test`/`specs`/`spec`/`__tests__`/`manifests` and fell back to the project root only when *none* of them existed. A partial match was the trap: a repo with a top-level `tests/` but its code in `packages/` or `app/` indexed `tests/` and silently nothing else. Scope now comes from the project's own ignore rules — git's tracked plus untracked-not-ignored files — which is self-tuning per layout and needs no configuration. Non-git projects fall back to walking the root. This also removes noise the old name-based walk could not see: build output a project gitignores, and `.claude/`/`.ukit/`, which `ukit install` writes into every project.
|
|
3319
|
-
- **Shell scripts are indexed.** `.sh` joins `.md`/`.json`/`.yaml` as tracked-but-not-parsed, matched by path. Every hook UKit ships was previously invisible to its own index.
|
|
3320
|
-
|
|
3321
|
-
### Fixed
|
|
3322
|
-
|
|
3323
|
-
- **One pasted screenshot could brick `Edit`/`Write` for an entire session on every non-UNIC project.** The vision gate hard-blocks edits until a `ukit-vision-analyst` receipt exists, and it accepted a receipt only if the reported model matched a hardcoded, by-then-stale model ID. That acceptance path is unsatisfiable in practice: an honest agent reports the model it *actually* ran on, so the gate could never be cleared and the only escape was deleting a gitignored marker file by hand. The gate now stands down entirely when the session is off the UNIC gateway — where Claude reads images natively and there is nothing to enforce — and matches `unic-vision` by capability instead of by a pinned version string. Detection failure (`null`) still enforces, so breaking one gitignored file is not a bypass. `tests/handoff/cycle4/vision-gate.test.mjs` gains cases 21b/21c pinning "off-gateway + no receipt is allowed, never a deadlock" and "no fallback model needs to be configured"; the UNIC enforcement cases are untouched and still pass.
|
|
3324
|
-
- **The v2.0.2 hard cap could not stop what it was built to stop.** `context-hardcap-gate.sh` is `PreToolUse`, but a context-window rejection happens when the request is *sent* — before any tool call exists to gate. `UserPromptSubmit` is the only event that runs early enough, hence the new guard above. Related: only three modules ever advance `estimatedTotalTokens`, and none of them observe `Read` results, images, or returned subagent reports, so the tracked figure drifts far below reality on exactly the sessions that overflow.
|
|
3325
|
-
- **UKit's index could not see what UKit ships — the root cause of three releases' worth of dead features.** Because `src`, `tests` and `manifests` all exist in this repo, `templates/` was never scanned:
|
|
3326
|
-
- `tests/index/scanScope.test.js` guards the class: code outside the old allowlist is indexed even when a listed directory exists, ignore rules define scope, the non-git fallback still covers the whole project, and the shipped `index-core.mjs` bundle must carry the same discovery logic as `src/` — that bundle is what installed projects actually run, so a fix landing only in `src/` reaches nobody.
|
|
3327
|
-
|
|
3328
|
-
## 2.0.3 - 2026-08-11
|
|
3329
|
-
|
|
3330
|
-
### Added
|
|
3331
|
-
|
|
3332
|
-
- **`ukit memory propose "<text>" [--category <name>] [--project <id>]`** — the missing first step of the Project Pattern Learning loop.
|
|
3333
|
-
|
|
3334
|
-
### Fixed
|
|
3335
|
-
|
|
3336
|
-
- **Project Pattern Learning was unreachable in every real install.** v2.0.0 shipped `ukit memory list --pending` / `approve` / `reject`, but nothing could create a candidate:
|
|
3337
|
-
- **The v2.0.0 handoff Interfaces block never shipped.** `Consumes`/`Produces` were added to the repo's own `docs/AI_HANDOFF/RULES.md` and `tasks/_TEMPLATE.md` but not to the `templates/docs/AI_HANDOFF/` copies that `ukit install` actually delivers, so installed projects got handoff docs without the feature the 2.0.0 changelog claims. Same dev-mirror divergence class as the 2.0.2 hard-cap hooks.
|
|
3338
|
-
|
|
3339
|
-
## 2.0.2 - 2026-08-11
|
|
3340
|
-
|
|
3341
|
-
### Added
|
|
3342
|
-
|
|
3343
|
-
- **Absolute context hard cap** — new `compact.hardCapTokens` (default `220000`) and `compact.hardCapBlock` (default `true`).
|
|
3344
|
-
- **`reset-compact-pressure.sh`** (SessionStart) — zeroes the compact pressure tracker at session start, so the cap measures the current session rather than accumulating over a project's lifetime.
|
|
3345
|
-
|
|
3346
|
-
### Fixed
|
|
3347
|
-
|
|
3348
|
-
- **The hard cap would have shipped dead.** Both new hooks were wired into `settings.json` but had no entry in `manifests/platform.full.yaml`, so `ukit install` never copied them:
|
|
3349
|
-
- **Permanent-block deadlock.** `compact-pressure.json` accumulated forever, so the cap would eventually block `Edit`/`Write`/`Bash` in every future session even with tiny context — and because the gate covers `Bash`, the documented remedies could not run. Fixed by the SessionStart reset plus a PreCompact reset.
|
|
3350
|
-
- **Reset skipped on cache hit.** The PreCompact reset sat after `reinject-context.mjs`'s prompt-cache early return, so a cache hit left the gate tripped permanently. Moved ahead of the return.
|
|
3351
|
-
- **Gate bypass via `NotebookEdit`/`MultiEdit`.** The gate compared `tool_name` exactly while the `settings.json` matcher is a regex (`Edit|Write` also matches both), so those tools fired the hook and passed through it. Now matched against an explicit tool set.
|
|
3352
|
-
- Prompt cache in `reinject-context.mjs` no longer keys on the live pressure value when the threshold plan is inactive (where it cannot affect output), which had turned every run into a cache miss.
|
|
3353
|
-
- `compact.hardCapTokens` reads straight from config instead of deriving from the advisory hard threshold, so raising `tokenThreshold` can never silently raise the ceiling.
|
|
3354
|
-
|
|
3355
|
-
## 2.0.1 - 2026-08-10
|
|
3356
|
-
|
|
3357
|
-
### Fixed
|
|
3358
|
-
|
|
3359
|
-
- `ukit memory approve` / `reject` accept an optional `--project <id>` flag, so a pattern candidate belonging to a non-current project (surfaced by `list --pending`'s cross-project scan) can actually be resolved instead of failing "not found".
|
|
3360
|
-
- `ukit memory list` reports a conventions count alongside decisions, so an approval's effect is visible.
|
|
3361
|
-
|
|
3362
|
-
## 2.0.0 - 2026-08-10
|
|
3363
|
-
|
|
3364
|
-
### Added
|
|
3365
|
-
|
|
3366
|
-
- **`skill-quality` skill** (maintainer-only) — adversarial pressure-testing process for template skills/agents before shipping changes, with `pressure-scenario-template.md`, `rationalization-table-template.md`, and `trigger-accuracy-template.md` companion files, plus `scripts/skill/audit-skill.mjs` (`yarn skill:audit`) for scaffolding scenario files and recording results. Not a `ukit` CLI command — a maintainer dev-tool, same tier as `yarn bug:triage`.
|
|
3367
|
-
- **`executing-plans` Preflight checklist + Blocker Classifier** — structured pre-execution checks and a formal blocker taxonomy, replacing an unstructured "When to Stop" bullet list.
|
|
3368
|
-
- **`handoff-planner` Scope Explosion Detector + Right-Sizing rule** — flags oversized multi-subsystem handoff requests and enforces task-granularity limits, on top of the existing wave-dependency logic.
|
|
3369
|
-
- **`RULES.md` / task template Interfaces block** — `Consumes`/`Produces` fields for explicit task-to-task data contracts in handoff cycles.
|
|
3370
|
-
- **`code-reviewer` agent generalized** with a `REVIEW_TARGET_TYPE` branch (`code` / `spec`), so it can review non-diff artifacts (e.g. specs) in addition to code diffs.
|
|
3371
|
-
- **`skillProfile.js` + `ukit doctor --skills`** — word-count budget report for every `templates/.claude/skills/*/SKILL.md`, flagging files over a 500-word default threshold.
|
|
3372
|
-
- **Project Pattern Learning** — schema + `ukit memory list --pending` / `approve` / `reject` CLI surface for proposing and confirming project-local conventions, gated on human approval (never auto-applied, project-local scope only).
|
|
3373
|
-
- **`project-learning` skill** — guides proposing/confirming project conventions through the new pattern-learning CLI.
|
|
3374
|
-
- Wired the previously dead `runHygiene()` (decision-superseding + session consolidation) into the live memory flow instead of leaving it uncalled.
|
|
3375
|
-
|
|
3376
|
-
### Changed
|
|
3377
|
-
|
|
3378
|
-
- Trimmed `templates/.claude/skills/**/SKILL.md` word count 31,227 → 25,900 words (17%) via companion-file extraction and in-place deduplication, with zero behavior loss (content relocated to companion `.md` files, never deleted, except one verbatim-duplicate line removed from `duraone`). See `docs/WORKLOG.md` Task 13 entry for the full per-skill breakdown.
|
|
3379
|
-
- Deleted 3 orphaned barrel `index.js` re-export files (`src/core/router/index.js`, `src/core/validation/index.js`, `src/core/memory/index.js`) with zero importers anywhere in the repo.
|
|
3380
|
-
- Raised the packed-artifact size budget in `tests/integration/packageArtifact.test.js` (`1,680,000` → `1,684,000` bytes packed, `5,283,000` → `5,291,000` bytes unpacked) — the artifact is dominated by binary assets (canvas fonts, OOXML XSD schemas) that skill-text trimming can't reduce.
|
|
3381
|
-
|
|
3382
|
-
## 1.6.8 - 2026-08-09
|
|
3383
|
-
|
|
3384
|
-
### Fixed
|
|
3385
|
-
|
|
3386
|
-
- **`extract-image.mjs`** no longer re-arms `pending-<sha>.json` for an image that already has an `analyzed-<sha>.json` receipt.
|
|
3387
|
-
|
|
3388
|
-
## 1.6.7 - 2026-08-09
|
|
3389
|
-
|
|
3390
|
-
### Fixed
|
|
3391
|
-
|
|
3392
|
-
- **`unic-gateway.mjs` `detectUnicGateway()`** is now scoped to Claude Code's own outbound endpoint only (`process.env.ANTHROPIC_BASE_URL`, and the `env.ANTHROPIC_BASE_URL` key in project/home `.claude/settings.json`). It no longer probes Codex `config.toml`, Kilo `secrets.json`, or `OPENAI_BASE_URL` — those describe a different tool's endpoint and were producing permanent false positives (`unicMode: true` for a plain Claude Code session whenever some other tool on the machine happened to be pointed at the UNIC gateway), which would deadlock Edit/Write on any image-mentioning turn under the vision gate.
|
|
3393
|
-
- **`vision-router.sh`** no longer always tells the caller to invoke `Agent(subagent_type:
|
|
3394
|
-
- **`handoff-model-guard.sh`** no longer re-blocks `git push` forever over a closed, human-approved model-tier exception (a documented `## Model-Tier Guard Override` section with `OVERRIDE_APPROVED_BY:
|
|
3395
|
-
|
|
3396
|
-
## 1.6.6 - 2026-08-03
|
|
3397
|
-
|
|
3398
|
-
### Fixed
|
|
3399
|
-
|
|
3400
|
-
- **`ensureGitignore`** no longer silently no-ops on a damaged UKit block (missing/duplicate end marker).
|
|
3401
|
-
- **Install summary counts** no longer go negative or misattribute a skip. `applyDiffResults` now tracks skips per planned action (`create`/`update`), and `runInstallPipeline` subtracts each skip from its own bucket instead of always assuming `update`.
|
|
3402
|
-
- **Runtime config default version** is now read from `package.json` instead of a hardcoded, drifting literal (was stuck at `1.5.2`).
|
|
3403
|
-
- **`mergeObjects` (runtime config)** now refuses `__proto__`, `constructor`, and `prototype` keys at every merge depth, closing a prototype-pollution path via a hand-edited `.ukit/storage/config.json`.
|
|
3404
|
-
- **`buildInstallPlan`** no longer aborts the entire install when a template is missing for a *non-selected/excluded* item — it skips quietly.
|
|
3405
|
-
- **`uninstallUkit`** now reports out-of-scope/forged tracked paths on real runs, not only `--dry-run`, while routine link-child paths stay silent.
|
|
3406
|
-
|
|
3407
|
-
## 1.6.5 - 2026-08-02
|
|
3408
|
-
|
|
3409
|
-
### Added
|
|
3410
|
-
|
|
3411
|
-
- **Enforced `unic-vision` image lane.** Images are now mechanically routed to a vision-capable model instead of being guessed at by `unic-code`/`unic-smart`, which cannot read images on the UNIC gateway.
|
|
3412
|
-
- `.claude/ukit/index/extract-image.mjs` — decodes pasted images out of the session transcript to disk (a spawned subagent receives text only and does not inherit image blocks), and writes content-addressed `pending-<sha>.json` markers. Single owner of the sha256; both the marker and the image filename come from the same hash.
|
|
3413
|
-
- `.claude/hooks/vision-router.sh` (`UserPromptSubmit`) — detects all three input forms (pasted, local path, image URL) and arms a marker for each.
|
|
3414
|
-
- `.claude/hooks/vision-gate.sh` (`PreToolUse`, `Edit|Write` only) — hard-blocks the write (exit 2) until an `analyzed-<sha>.json` receipt exists whose self-reported model is vision-capable.
|
|
3415
|
-
- `ukit-vision-analyst` agent — pinned to `unic-vision`, the only lane permitted to interpret images. Reports findings only; it has no `Edit`/`Write`.
|
|
3416
|
-
- `.claude/ukit/index/unic-gateway.mjs` — detects a `unicjsc.com` gateway across Claude Code env, Codex config, Kilo config, and `OPENAI_BASE_URL`.
|
|
3417
|
-
|
|
3418
|
-
### Changed
|
|
3419
|
-
|
|
3420
|
-
- `orchestration.escalation` now has real consumers. `route-task.mjs` reads `debugLoopThreshold`, `tierOrder`, and `cap` from config instead of hardcoded literals, and emits `escalatedTier` alongside `modelTier` — one rung up, capped at `smart`. The same literals remain as fallbacks, so projects that never opted in behave identically.
|
|
3421
|
-
- `orchestration.modelTiers` documents all four UNIC models. `vision` is a capability lane orthogonal to the lite/code/smart cost tiers, never a fourth tier, and is stripped from any configured `tierOrder`.
|
|
3422
|
-
- `handoff-model-guard.sh`: `tierOf()` hardened against vision/unknown model names.
|
|
3423
|
-
|
|
3424
|
-
## 1.6.4 - 2026-07-27
|
|
3425
|
-
|
|
3426
|
-
### Added
|
|
3427
|
-
|
|
3428
|
-
- Hard enforcement of the handoff model-tier contract via a new `PreToolUse` hook (`.claude/hooks/handoff-model-guard.sh`), registered for both `Edit|Write` and `Bash`.
|
|
3429
|
-
- Blocks writing `docs/AI_HANDOFF/PLAN.md` unless it declares a smart-tier `PLANNER_MODEL` in a new mandatory `## Planner Report` footer.
|
|
3430
|
-
- Blocks creating a fresh `TASK-xxx.md` until `PLAN.md` has a valid smart-tier `PLANNER_MODEL`.
|
|
3431
|
-
- Blocks writing `## Executor Report` unless `EXECUTOR_MODEL` is present and not lite-tier.
|
|
3432
|
-
- Blocks writing `## Reviewer Verdict` unless `REVIEWER_MODEL` is smart-tier and differs from `EXECUTOR_MODEL`.
|
|
3433
|
-
- Blocks `git push` when any reviewed task in the active cycle violates the contract.
|
|
3434
|
-
- Applies identically to the standalone `/ukit:handoff-create`, `/ukit:handoff-implement`, `/ukit:handoff-review` commands and the combined `/ukit:handoff-fullstack` pipeline, since the gate is keyed on file content, not on which command ran.
|
|
3435
|
-
- `/ukit:handoff-create`, `/ukit:handoff-implement`, `/ukit:handoff-review`, `/ukit:handoff-fullstack`:
|
|
3436
|
-
- `handoff-planner` agent and `PLAN.md` now require a `## Planner Report` / `PLANNER_MODEL` self-report, mirroring the existing `EXECUTOR_MODEL` / `REVIEWER_MODEL` self-report contract on task files.
|
|
3437
|
-
|
|
3438
|
-
## 1.6.2 - 2026-07-26
|
|
3439
|
-
|
|
3440
|
-
### Added
|
|
3441
|
-
|
|
3442
|
-
- `ukit update` — new command that upgrades the globally installed UKit CLI to the latest published version (equivalent to `npm install -g @ngockhoale/ukit`).
|
|
3443
|
-
|
|
3444
|
-
### Changed
|
|
3445
|
-
|
|
3446
|
-
- Downgraded `find-cause` and `map-impact` orchestration contracts from `modelTier:
|
|
3447
|
-
|
|
3448
|
-
### Fixed
|
|
3449
|
-
|
|
3450
|
-
- Auto-compact context-pressure state is now surfaced to the model as a warning (`[ukit-skill-router] Context pressure:
|
|
3451
|
-
|
|
3452
|
-
## 1.5.24 - 2026-06-10
|
|
3453
|
-
|
|
3454
|
-
### Fixed
|
|
3455
|
-
|
|
3456
|
-
- Register `command-handoff-fullstack` in `manifests/platform.full.yaml` so `ukit install` now copies `handoff-fullstack.md` to target projects.
|
|
3457
|
-
|
|
3458
|
-
## 1.5.23 - 2026-06-10
|
|
3459
|
-
|
|
3460
|
-
### Added
|
|
3461
|
-
|
|
3462
|
-
- `handoff-fullstack`: new all-in-one slash command combining `handoff-create` + `handoff-implement` + `handoff-review` into a single pipeline.
|
|
3463
|
-
|
|
3464
|
-
## 1.5.22 - 2026-06-09
|
|
3465
|
-
|
|
3466
|
-
### Changed
|
|
3467
|
-
|
|
3468
|
-
- Internal: bumped version for release.
|
|
3469
|
-
|
|
3470
|
-
## 1.5.21 - 2026-06-09
|
|
3471
|
-
|
|
3472
|
-
### Changed
|
|
3473
|
-
|
|
3474
|
-
- Renamed handoff slash commands from `*-handoff` to `handoff-*` convention: `handoff-status`, `handoff-create`, `handoff-implement`, `handoff-review`, `handoff-clear`.
|
|
3475
|
-
- Auto-prune now targets `handoff-abort.md` (new name) instead of `clear-handoff.md`.
|
|
3476
|
-
|
|
3477
|
-
## 1.5.16 - 2026-06-06
|
|
3478
|
-
|
|
3479
|
-
### Changed
|
|
3480
|
-
|
|
3481
|
-
- `handoff-clear`: added Step 2 — stage `docs/AI_HANDOFF/`, commit planning artifacts, merge `handoff/integration → $BASE`, push, delete integration branch.
|
|
3482
|
-
- `handoff-review`: removed all merge/push instructions from Step 3. Reviewer now stops at "Run /ukit:handoff-clear" after all tasks approved.
|
|
3483
|
-
- Rule enforced: `handoff-create`, `handoff-implement`, `handoff-review` may only change files inside `docs/AI_HANDOFF/`. No commits to main, no pushes.
|
|
3484
|
-
|
|
3485
|
-
## 1.5.15 - 2026-06-06
|
|
3486
|
-
|
|
3487
|
-
### Changed
|
|
3488
|
-
|
|
3489
|
-
- `handoff-review`: removed automatic `git merge handoff/integration → $BASE`. Reviewer now stops after all tasks are approved and instructs the human to merge manually.
|
|
3490
|
-
|
|
3491
|
-
## 1.5.14 - 2026-06-05
|
|
3492
|
-
|
|
3493
|
-
### Added
|
|
3494
|
-
|
|
3495
|
-
- Added 6 handoff slash commands to OpenCode template (`ukit-handoff-status`, `ukit-handoff-create`, `ukit-handoff-implement`, `ukit-handoff-review`, `ukit-handoff-clear`, `ukit-handoff-abort`).
|
|
3496
|
-
|
|
3497
|
-
### Fixed
|
|
3498
|
-
|
|
3499
|
-
- `templates/ukit/storage/config.json`: version was hardcoded as `"1.5.7"` instead of `"{{ukit.version}}"` — fixed so install always writes the current package version.
|
|
3500
|
-
|
|
3501
|
-
## 1.5.7 - 2026-06-02
|
|
3502
|
-
|
|
3503
|
-
### Fixed
|
|
3504
|
-
|
|
3505
|
-
- Fixed `compact-threshold.mjs` never being deployed by `ukit install` — the file existed in `templates/` since v1.1.2 but was missing from `manifests/platform.full.yaml`.
|
|
3506
|
-
- Added `ukit-runtime-compact-threshold-script` manifest entry with correct `requires` chain.
|
|
3507
|
-
- Changed default `safePatch.advisoryOnly` from `false` to `true` in `src/core/runtimeConfig.js`.
|
|
3508
|
-
|
|
3509
|
-
## 1.5.5 - 2026-05-30
|
|
3510
|
-
|
|
3511
|
-
### Added
|
|
3512
|
-
|
|
3513
|
-
- **Handoff Quality Gate** — opt-in, tool-agnostic, file-based, 4-phase pipeline (Idea+Plan → Create Tasks → Implement+Test → Review+Test) for tasks routed through `docs/AI_HANDOFF/`.
|
|
3514
|
-
- New agent `templates/.claude/agents/code-reviewer.md`: independent reviewer with a model-isolation check.
|
|
3515
|
-
- New config block `handoff.*` in `templates/ukit/storage/config.json` with Vietnamese `_help` entries:
|
|
3516
|
-
- New `## 4. Test Plan (REQUIRED — TDD-style)` section in `templates/docs/AI_HANDOFF/PLAN.md`.
|
|
3517
|
-
- New `templates/docs/AI_HANDOFF/tasks/_TEMPLATE.md`: every task file MUST embed its own `## Test Cases` (table with happy + ≥1 edge case + regression for bug fixes) + `## Test Files` + `## Verification Commands` + `## Acceptance Criteria`. Tasks without these are `needs_breakdown`, not `ready`.
|
|
3518
|
-
- `## Discussion` section pattern on task files: structured AI-to-AI comment thread (date · role · tool/model) so planner/executor/reviewer can talk back to each other through files — no out-of-band channels.
|
|
3519
|
-
- New task status states in `INDEX.md`: `pending_review`, `changes_requested`, `critical_block`, `approved`, `approved_minor`, plus Owner/Reviewer columns.
|
|
3520
|
-
|
|
3521
|
-
### Changed
|
|
3522
|
-
|
|
3523
|
-
- `templates/.claude/agents/feature-implementer.md`: now operates in two explicit modes.
|
|
3524
|
-
- `templates/.claude/agents/bug-debugger.md`: same two-mode split. Handoff mode requires regression-test-first (RED before fix, GREEN after); Daily mode unchanged.
|
|
3525
|
-
- `templates/docs/AI_HANDOFF/RULES.md`: rewritten around the 4-phase model. Added `## Hard rule — All work stays in docs/AI_HANDOFF/` (no out-of-band AI communication).
|
|
3526
|
-
- `templates/CLAUDE.md` + `templates/AGENTS.md`: added scoped `## Handoff Quality Gate` section with explicit OPT-IN scope language so adapter targets (Claude Code, Kilo Code, Codex, OpenCode, future tools) only apply Quality Gate to handoff work, not daily prompts.
|
|
3527
|
-
|
|
3528
|
-
### Fixed
|
|
3529
|
-
|
|
3530
|
-
- Fixed output-history deduplication for `promptCache: false` — the second call with semantically equivalent (but noisy) output now returns the cached first summary instead of recomputing.
|
|
3531
|
-
|
|
3532
|
-
### Why
|
|
3533
|
-
|
|
3534
|
-
User had two real concerns: (1) cheap-model executors (e.g. Kilo Code) miss small things — fixed by mandatory test-first + independent reviewer with different model; (2) UKit cannot dictate which model any external tool uses — fixed by making the contract self-report-based (executor writes `EXECUTOR_MODEL`, reviewer compares and refuses on match/unknown). The Quality Gate is opt-in via the `docs/AI_HANDOFF/` folder so daily ad-hoc work is unaffected.
|
|
3535
|
-
|
|
3536
|
-
## 1.5.4 - 2026-05-28
|
|
3537
|
-
|
|
3538
|
-
### Fixed
|
|
3539
|
-
|
|
3540
|
-
- Fixed stale `docs/AI_HANDOFF.md` references in next-step skill, INSTALL.md, UKIT_USAGE_GUIDE.md, PROJECT.md (template + local).
|
|
3541
|
-
- Fixed mirror `route-task.mjs` not showing `handoff=` in summary — wrong intent order (docsSpecific before handoff) + missing handoffFile field + missing display segment.
|
|
3542
|
-
- Added `WORKLOG_ARCHIVE.md` to `.gitignore`.
|
|
3543
|
-
|
|
3544
|
-
### Changed
|
|
3545
|
-
|
|
3546
|
-
- Compacted `docs/MEMORY.md` from 118KB/298 lines to 7.8KB/78 lines. Old entries archived to `docs/MEMORY_ARCHIVE.md`.
|
|
3547
|
-
- Cleared handoff task queue after all cycle 002 tasks resolved.
|
|
3548
|
-
|
|
3549
|
-
## 1.5.3 - 2026-05-28
|
|
3550
|
-
|
|
3551
|
-
### Changed
|
|
3552
|
-
|
|
3553
|
-
- Restructured `docs/AI_HANDOFF.md` into `docs/AI_HANDOFF/` folder: ACTIVE.md (snapshot), RULES.md (flow + token budget), PLAN.md (brainstorm), INDEX.md (task index), tasks/ (per-task files), archive/ (completed cycles, max 3).
|
|
3554
|
-
- Each task is now an isolated file in `tasks/TASK-xxx.md` — AI reads only the task it implements, not the entire backlog.
|
|
3555
|
-
- Added token budget rule: combined handoff reads must stay under 200 lines per request.
|
|
3556
|
-
- Added auto-compact rule: if any handoff file exceeds 80 lines, trigger `clear handoff`.
|
|
3557
|
-
- Updated template mirror `templates/docs/AI_HANDOFF/` to match new folder structure.
|
|
3558
|
-
- Updated `taskRouting.js` handoffFile target from `docs/AI_HANDOFF.md` to `docs/AI_HANDOFF/ACTIVE.md`.
|
|
3559
|
-
- Updated `install.js`, `doctor.js`, `uninstall.js` to check for `docs/AI_HANDOFF/ACTIVE.md`.
|
|
3560
|
-
|
|
3561
|
-
## 1.5.2 - 2026-05-28
|
|
3562
|
-
|
|
3563
|
-
### Added
|
|
3564
|
-
|
|
3565
|
-
- Added first-class `ukit:handoff` prompt detection and routing for explicit handoff/brainstorm-to-task flows.
|
|
3566
|
-
- Added `intentMode: handoff` to route summaries so hooks and helpers can prioritize handoff file automatically.
|
|
3567
|
-
- Added a reusable generic handoff template for installed projects.
|
|
3568
|
-
|
|
3569
|
-
### Changed
|
|
3570
|
-
|
|
3571
|
-
- Handoff prompts now route through `docs-quality` skill instead of generic `update-status`.
|
|
3572
|
-
- Updated installed `next-step` skill guidance to read handoff file first for explicit handoff prompts.
|
|
3573
|
-
- Updated `route-task` mirror and hook behavior in both source and installed artifact so `ukit install` users get consistent handoff routing.
|
|
3574
|
-
|
|
3575
|
-
### Fixed
|
|
3576
|
-
|
|
3577
|
-
- Handoff authoring is now advisory (exit 0) in Safe Patch, so large handoff batches no longer block the handoff workflow.
|
|
3578
|
-
- Hard runtime/shared-risk file broad rewrites still block by default unless `advisoryOnly=true` or `UKIT_SAFE_PATCH_ADVISORY=1` is set.
|
|
3579
|
-
|
|
3580
|
-
### Tests
|
|
3581
|
-
|
|
3582
|
-
- Added explicit handoff routing coverage in `tests/index/taskRouting.test.js`.
|
|
3583
|
-
- Verified Safe Patch protocol still passes 12 tests including the new handoff advisory case.
|
|
3584
|
-
|
|
3585
|
-
## 1.5.0 - 2026-05-24
|
|
3586
|
-
|
|
3587
|
-
### Fixed
|
|
3588
|
-
|
|
3589
|
-
- Switched safe-patch release regressions to `spawnSync`-based helpers so advisory-mode assertions capture `stderr` correctly even when the hook exits `0`.
|
|
3590
|
-
- Raised the packed artifact size budget slightly to preserve the shipped canvas font lane and recent runtime/router surfaces without failing release smoke on a 625-byte overage.
|
|
3591
|
-
|
|
3592
|
-
### Changed
|
|
3593
|
-
|
|
3594
|
-
- Bumped package and shared runtime version metadata to `1.5.0`.
|
|
3595
|
-
|
|
3596
|
-
## 1.4.5 - 2026-05-24
|
|
3597
|
-
|
|
3598
|
-
### Fixed
|
|
3599
|
-
|
|
3600
|
-
- Stopped safe-patch hooks (`stale-spec-check`, `post-edit-verify`) from hard-blocking tool calls when configured via the new `safePatch.advisoryOnly` flag or the `UKIT_SAFE_PATCH_ADVISORY=1` env.
|
|
3601
|
-
- Default behavior unchanged (`advisoryOnly: false`): pre-edit corruption guards (shebang-bom, non-text, whole-file Write to shared-risk) and the `protect-files` / `block-dangerous` hooks still hard-block.
|
|
3602
|
-
|
|
3603
|
-
### Tests
|
|
3604
|
-
|
|
3605
|
-
- Added regression coverage for advisory-mode exit code and stderr in `tests/hooks/safePatchProtocol.test.js`.
|
|
3606
|
-
- Added default + validation assertions for `safePatch.advisoryOnly` in `tests/core/runtimeConfig.test.js`.
|
|
3607
|
-
|
|
3608
|
-
## 1.4.4 - 2026-05-11
|
|
3609
|
-
|
|
3610
|
-
### Fixed
|
|
3611
|
-
|
|
3612
|
-
- Removed shipped `.gitignore` negations that accidentally unignored installed `.claude/` and `.codex/` files in fresh repos, preventing large post-install `git status` noise.
|
|
3613
|
-
- Kept the intended local-only ignores for `AGENTS.md`, `CLAUDE.md`, `docs/STATUS.md`, `docs/TASKS.md`, runtime cache, and adapter state intact.
|
|
3614
|
-
|
|
3615
|
-
### Tests
|
|
3616
|
-
|
|
3617
|
-
- Added install-pipeline regression coverage that initializes a fresh git repo, runs `ukit install`, and asserts managed UKit files stay ignored.
|
|
3618
|
-
|
|
3619
|
-
## 1.4.3 - 2026-05-10
|
|
3620
|
-
|
|
3621
|
-
### Changed
|
|
3622
|
-
|
|
3623
|
-
- Tightened execute-first orchestration guidance so one clear safe path runs directly, while real user-choice or risk-confirmation moments still ask.
|
|
3624
|
-
- Added compact route-audit coverage and repeated write-lane rescue bias to reduce stop-and-explain loops.
|
|
3625
|
-
- Published patch `1.4.3` after fresh full-suite, release-verify, and registry-smoke validation.
|
|
3626
|
-
|
|
3627
|
-
## 1.4.2 - 2026-05-10
|
|
3628
|
-
|
|
3629
|
-
### Added
|
|
3630
|
-
|
|
3631
|
-
- Added a quality-first internal orchestration ladder with seven execution layers: `tiny-fix`, `local-fix`, `local-build`, `find-cause`, `shared-edit`, `map-impact`, and `review-release`.
|
|
3632
|
-
- Added structured route continuity state so installed helpers and hooks can carry `completionState`, `continuationState`, and stuck-lane rescue signals across turns instead of forgetting unfinished execution debt.
|
|
3633
|
-
- Added orchestration/runtime config defaults and Codex adapter metadata for the internal advisor/orchestrator contract while keeping the teammate workflow centered on `ukit install`.
|
|
3634
|
-
|
|
3635
|
-
### Fixed
|
|
3636
|
-
|
|
3637
|
-
- Kept context routing and context-mode hints internal so UKit no longer surfaces `pull-indexed-context`, `resolve-context`, or `mode=LITE/FULL` in the main route prose for ordinary work.
|
|
3638
|
-
- Preserved the structured route state (`nextActionType`, `helperHint`, `contextMode`) for internal orchestration, while removing the user/model-facing leakage that was nudging sessions into micro-step stop-and-wait behavior.
|
|
3639
|
-
- Hardened implementation routing and installed agent guidance so explicit implement/apply/fix requests keep moving through bounded read → edit → verify flow instead of stopping after read-only inspection.
|
|
3640
|
-
- Escalated repeated unfinished returns with `repeatCount`, `stuckRisk`, and `rescueMode` so UKit can rescue a stuck lane instead of quietly looping the same partial milestone.
|
|
3641
|
-
- Fixed the installed `route-task` continuation handoff so previous route summaries are carried through correctly during rescue escalation.
|
|
3642
|
-
|
|
3643
|
-
### Tests
|
|
3644
|
-
|
|
3645
|
-
- Added/updated route, hook, reinject, install-pipeline, and package-artifact coverage for internal helper hiding, continuation rescue escalation, and the expanded orchestration contract.
|
|
3646
|
-
|
|
3647
|
-
## 1.4.1 - 2026-05-09
|
|
3648
|
-
|
|
3649
|
-
- Completed cleanup and 1.4.1 template alignment.
|
|
3650
|
-
|
|
3651
|
-
## 1.4.0 - 2026-05-09
|
|
3652
|
-
|
|
3653
|
-
### Added
|
|
3654
|
-
|
|
3655
|
-
- Added Adaptive Autonomy runtime config (`autonomy`) with three levels: `conservative`, `balanced` (default), and `free-run`.
|
|
3656
|
-
- `conservative`: asks before fallback verification and broad/risky escalation; suppresses non-essential delegation except explicit plan/batch execution and small-task maintainer.
|
|
3657
|
-
- `balanced`: default behavior unchanged — targeted verification auto-runs, broad risky asks confirmation, delegation follows existing thresholds.
|
|
3658
|
-
- `free-run`: auto-runs fallback verification, removes broad verification confirmation for escalation-only, lowers feature/debug delegation thresholds slightly.
|
|
3659
|
-
- Added `autonomy.level`, `autonomy.affectVerification`, and `autonomy.affectDelegation` to runtime config defaults and validation.
|
|
3660
|
-
- Added LITE/FULL context mode labels to stepBudgets (`trivial`/`simple` = LITE, `sharedSimple`/`nonTrivial` = FULL) for subagent model selection hints.
|
|
3661
|
-
- Added `contextMode` (LITE/FULL) to route summary output and `mode=` segment in summary line.
|
|
3662
|
-
- Added `autonomyLevel` to routing context and verification plan cache key for autonomy-aware plan reuse.
|
|
3663
|
-
|
|
3664
|
-
### Changed
|
|
3665
|
-
|
|
3666
|
-
- `deriveTaskRoute`, `deriveVerificationPlan`, and `deriveExecutionPolicy` now accept `autonomyLevel` parameter.
|
|
3667
|
-
- `deriveDelegationRecommendation` now respects `autonomyLevel`: conservative suppresses non-essential delegation; free-run relaxes bug-debugger and feature-implementer thresholds.
|
|
3668
|
-
- Updated `CLAUDE.md`, `.codex/README.md`, and `ukit/README.md` templates with v1.4.0 version wording and Adaptive Autonomy policy.
|
|
3669
|
-
- Added Vietnamese `_help` for autonomy config in `config.json` template.
|
|
3670
|
-
|
|
3671
|
-
### Tests
|
|
3672
|
-
|
|
3673
|
-
- Added targeted tests for autonomy validation, conservative/free-run execution policy, and delegation behavior.
|
|
3674
|
-
|
|
3675
|
-
## 1.4.0 - 2026-05-06
|
|
3676
|
-
|
|
3677
|
-
### Fixed
|
|
3678
|
-
|
|
3679
|
-
- Fixed `ukit install` failing with `ENOENT` when a published/global package is missing optional `templates/.gitignore`; install now uses a built-in fallback.
|
|
3680
|
-
|
|
3681
|
-
### Tests
|
|
3682
|
-
|
|
3683
|
-
- Added a regression test for package artifacts without `templates/.gitignore`.
|
|
3684
|
-
|
|
3685
|
-
## 1.3.0 - 2026-05-06
|
|
3686
|
-
|
|
3687
|
-
### Added
|
|
3688
|
-
|
|
3689
|
-
- Added UKit Safe Patch Protocol guardrails for risky AI edits: stale/ambiguous `old_string` detection, whole-file shared-risk `Write` blocking, anchor-search helper, safe patch helper, text-profile detection, and pre-edit rollback bytes for shared-risk files.
|
|
3690
|
-
- Added post-edit delta verification for backed-up shared-risk edits so unexpected broad rewrites are flagged against the Safe Patch hunk/changed-line budget and rollback manifests record after hashes.
|
|
3691
|
-
- Added Safe Patch backup retention and bounded delta-diff fallback so rollback data does not grow forever and very large edits avoid unbounded LCS memory use.
|
|
3692
|
-
- Added byte-first UTF-8/BOM/newline profile handling so helper-mediated patches preserve UTF-8 BOM/no-BOM, LF/CRLF, Vietnamese/CJK/emoji content, and reject unsafe binary/invalid UTF-8 edit paths.
|
|
3693
|
-
- Added `safePatch` runtime config defaults under `.ukit/storage/config.json` while keeping the end-user workflow unchanged:
|
|
3694
|
-
|
|
3695
|
-
### Changed
|
|
3696
|
-
|
|
3697
|
-
- Promoted shared-risk edit routing to surface an internal `editGuard=anchor-required` hint for installed runtime/template targets.
|
|
3698
|
-
- Extended impact-risk classification to installed runtime paths such as `.claude/hooks/**`, `.claude/ukit/**`, and `.codex/**`.
|
|
3699
|
-
|
|
3700
|
-
### Tests
|
|
3701
|
-
|
|
3702
|
-
- Added focused Safe Patch Protocol hook/helper coverage and install wiring coverage.
|
|
3703
|
-
|
|
3704
|
-
## 1.2.2 - 2026-05-05
|
|
3705
|
-
|
|
3706
|
-
- Removed the `.claude/ukit/.env` / `.env.example` config surface so UKit runtime tuning lives in `.ukit/storage/config.json` only.
|
|
3707
|
-
- Added full Vietnamese `_help` guidance inside `templates/ukit/storage/config.json`, including common edits for changing the internal model and Codex compact thresholds.
|
|
3708
|
-
- Set Codex Desktop compact budget default to 100,000 tokens as a quality/safety balance, with compact handoff target 150 lines and hard max 170 lines.
|
|
3709
|
-
- Preserved Claude PreCompact/reinject and OpenCode native auto/prune compaction while keeping `ukit-small-task-maintainer` as a non-blocking sidecar lane.
|
|
3710
|
-
|
|
3711
|
-
## 1.2.1 - 2026-05-05
|
|
3712
|
-
|
|
3713
|
-
### Local AI Task Queue
|
|
3714
|
-
|
|
3715
|
-
- Added gitignored `docs/TASKS.md` as a local AI task queue for deferred work that one AI can write and another AI/agent can implement later.
|
|
3716
|
-
- Installed `docs/TASKS.md` with skip merge semantics so end-user task notes are never overwritten or uninstall-owned.
|
|
3717
|
-
- Added safe default cleanup rules: remove exact duplicates, prune `Done Recently` to 10 compact lines, move stale/vague work to deferred review, and never delete unfinished human-authored tasks unless explicitly asked and clearly obsolete/duplicated.
|
|
3718
|
-
- Updated `next-step`, `update-status`, and `docs-quality` guidance plus route signals so queued-task selection goes to `next-step` while task cleanup/editing goes to `docs-quality`.
|
|
3719
|
-
- Added `docs/STATUS.md` and `docs/TASKS.md` to generated gitignore handling so living local AI state does not pollute project commits.
|
|
3720
|
-
- Added the internal `ukit-small-task-maintainer` subagent, powered by optional `subagents.smallTaskModel=unic-lite`, for safe UKit decisions such as task cleanup, compact decisions, doc summarization, classification, auto-triage, queue maintenance, and small reversible cleanup while keeping risky/security/release work on the main model.
|
|
3721
|
-
|
|
3722
|
-
## 1.1.8 - 2026-05-05
|
|
3723
|
-
|
|
3724
|
-
### Living Project Status
|
|
3725
|
-
|
|
3726
|
-
- Added `docs/STATUS.md` as a compact living project-state baseline for active work, debug threads, blockers, verification, and next candidates.
|
|
3727
|
-
- Added `next-step` and `update-status` skills so Claude/Codex/OpenCode can use project status automatically without adding any user-facing commands beyond `ukit install`.
|
|
3728
|
-
- Made next-step routing freshness-aware: stale or missing status must be treated as orientation only and verified against source/index before recommendations.
|
|
3729
|
-
- Added concrete-task precedence so prompts like “fix login bug but not sure next step” stay on the debug/implementation/review workflow instead of being hijacked by global roadmap suggestions.
|
|
3730
|
-
- Registered status docs/skills in the manifest with skip semantics for the living doc, and kept source route catalogs aligned with installed helper mirrors.
|
|
3731
|
-
- Updated install/routing/manifest regression coverage for open-ended status prompts, explicit handoff updates, concrete debug edge cases, and default skill installation.
|
|
3732
|
-
|
|
3733
|
-
## 1.1.7 - 2026-04-25
|
|
3734
|
-
|
|
3735
|
-
### Impact Confidence
|
|
3736
|
-
|
|
3737
|
-
- Added impact-confidence indexing for changed shared/runtime files, including lightweight call extraction and `calls.json` artifacts.
|
|
3738
|
-
- Added shared-impact classification so source index runtime, install/runtime core, shipped hooks/helpers, manifests, and templates are routed as higher-confidence verification work instead of ordinary simple edits.
|
|
3739
|
-
- Added mirror-counterpart guidance between source modules and installed helper mirrors, helping agents catch source/template drift before release.
|
|
3740
|
-
- Added shipped `impact-context.mjs` helper and manifest coverage so installed workspaces can resolve impact context after `ukit install`.
|
|
3741
|
-
- Tightened verification planning and guard behavior so impact-test lanes run targeted checks first, while broad verification remains advisory unless explicitly enforced.
|
|
3742
|
-
- Added package-artifact, hook, indexing, impact-context, and impact-catalog coverage for the new release surface.
|
|
3743
|
-
|
|
3744
|
-
## 1.1.6 - 2026-04-23
|
|
3745
|
-
|
|
3746
|
-
### Hidden Runtime Root
|
|
3747
|
-
|
|
3748
|
-
- Moved the shared runtime install target from visible `ukit/` to hidden `.ukit/` so end-user projects no longer see a confusing extra root folder beside `.claude/ukit/`.
|
|
3749
|
-
- Kept `.claude/ukit/` for installed helper/index/hook machinery and installer metadata, instead of mixing mutable runtime storage into that helper tree.
|
|
3750
|
-
- Added safe reinstall migration so rerunning `ukit install` moves legacy runtime assets from `ukit/README.md` and `ukit/storage/` into `.ukit/` when the new target paths are free, without force-overwriting newer state.
|
|
3751
|
-
- Preserved conservative legacy cleanup: unknown user files under old `ukit/` still survive, and the old root is removed only when it becomes empty after migration/cleanup.
|
|
3752
|
-
- Updated manifest targets, gitignore/uninstall ownership handling, current docs, and release/package smoke expectations to align on the new hidden runtime root.
|
|
3753
|
-
- Promoted the current runtime/version surfaces to `@ngockhoale/ukit@1.1.6` while keeping the same `ukit` binary and the same install-first teammate workflow.
|
|
3754
|
-
|
|
3755
|
-
## 1.1.5 - 2026-04-23
|
|
3756
|
-
|
|
3757
|
-
### Owned-Scope npm Distribution Alignment
|
|
3758
|
-
|
|
3759
|
-
- Realigned the published npm package name from `@ukit/cli` to `@ngockhoale/ukit` so release distribution uses a maintainer-owned scope that can actually publish today.
|
|
3760
|
-
- Kept the installed CLI binary name as `ukit`, so the human-facing workflow inside projects remains exactly the same: teammates still only need `ukit install`.
|
|
3761
|
-
- Preserved the existing GitHub `v1.1.4` release history and cut the package-identity change as a clean follow-up patch release instead of rewriting an already-pushed tag.
|
|
3762
|
-
- Updated current install/documentation surfaces to point maintainers at `npm install -g @ngockhoale/ukit` while keeping UKit’s install-first product contract unchanged.
|
|
3763
|
-
|
|
3764
|
-
## 1.1.4 - 2026-04-23
|
|
3765
|
-
|
|
3766
|
-
### Recovery-Safe Output Compaction
|
|
3767
|
-
|
|
3768
|
-
- Added recovery-safe output compaction on top of the existing command-aware compression lane instead of introducing a second output/history subsystem.
|
|
3769
|
-
- Preserved raw tool output in `ukit/storage/cache/tee/` for high-value recovery cases such as failed commands, large raw outputs, or unusually high token savings.
|
|
3770
|
-
- Extended output-history entries with recovery metadata (`rawSaved`, `rawPath`, `rawBytes`, `recoveryReason`) so routed/runtime consumers can reuse the same shared artifact instead of rerunning noisy commands blindly.
|
|
3771
|
-
- Appended a compact `Full output:` recovery hint only when it still preserves net token savings;
|
|
3772
|
-
- Kept source runtime behavior and shipped Claude hook behavior aligned for recovery-safe compaction, including prompt-cache reuse of recovery metadata and history dedupe that ignores the recovery-hint line.
|
|
3773
|
-
- Extended `ukit status` output-compression reporting to show recovery counts so maintainers can see when the runtime preserved raw evidence in addition to saving tokens.
|
|
3774
|
-
- Updated shared runtime docs/version surfaces to reflect the new v1.1.4 recovery-safe compaction lane while keeping the teammate workflow centered on `ukit install`.
|
|
3775
|
-
|
|
3776
|
-
## 1.1.3 - 2026-04-22
|
|
3777
|
-
|
|
3778
|
-
### Vietnamese-friendly retrieval + routing hardening
|
|
3779
|
-
|
|
3780
|
-
- Added shared Unicode-aware query normalization so Vietnamese prompts can match English-heavy code paths and symbols more reliably without forcing users to switch to English.
|
|
3781
|
-
- Added compact Vietnamese alias expansion for routing/search intent (for example review/auth/permission/cache/route-style terms) in both source runtime and shipped installed helpers.
|
|
3782
|
-
- Hardened shared route scoring so normalized prompt signals improve skill selection without leaking prompt aliases into unrelated file-signal matches.
|
|
3783
|
-
- Kept installed Claude/Codex hook/helper behavior aligned with the source runtime, including safe fallback behavior for hook/template test environments and legacy route-task stubs.
|
|
3784
|
-
- Added regression coverage for Vietnamese retrieval/routing across source query/index, source task routing, installed route-task/query helpers, and the Claude skill-router hook.
|
|
3785
|
-
- Added a simple direct-target fast path in shared `resolveContext` so when direct test context already localizes a simple/trivial change, UKit keeps the context bundle compact and skips widening into shared abstractions/analogs unless broader evidence is still needed.
|
|
3786
|
-
- Skipped previous-context memory injection for localized simple/trivial route lanes with an explicit file target in both the installed `route-task` helper and the Claude `skill-router` hook, reducing unnecessary memory scanning on already-localized tasks while keeping non-trivial routes unchanged.
|
|
3787
|
-
- Skipped recent-output snapshot reads for localized simple/trivial direct-target testing lanes in the installed `route-task` helper, so test-focused routes stop reading `ukit/storage/cache/output-history.json` when that compressed terminal context would not change the chosen next step.
|
|
3788
|
-
- Reused the installed `route-task` verification environment snapshot when `package.json` already declares `packageManager`, so UKit no longer re-reads `package.json` or stats every lockfile candidate just to derive the same verification commands.
|
|
3789
|
-
- Aligned the source verification planner and shipped `verify-context` helper with that same declared-`packageManager` fast path, so direct verification lanes also skip redundant lockfile fingerprint probes while reusing the parsed `package.json` snapshot.
|
|
3790
|
-
- Applied the same declared-`packageManager` fingerprint fast path to the Claude `skill-router` hook and reused the parsed package snapshot for verification recommendations, removing another avoidable lockfile-probe burst from pure Claude flows.
|
|
3791
|
-
|
|
3792
|
-
## 1.1.2 - 2026-04-22
|
|
3793
|
-
|
|
3794
|
-
### Live compact + compress runtime slice
|
|
3795
|
-
|
|
3796
|
-
- Added real `src/core/token/`, `src/core/compact/`, and `src/core/output/` runtime modules so compact/compress are no longer config-only switches.
|
|
3797
|
-
- Added a threshold-based compact pressure planner with soft/hard phases, hysteresis, cooldown reuse, and layered compact plans so long sessions can auto-compact near the configured context limit without flapping.
|
|
3798
|
-
- Threshold compact memory-bridge output now dedupes bulky `Previous context` snapshots into compact anchors such as active task, key decision, rule, and next step instead of replaying the same context blob twice.
|
|
3799
|
-
- `ukit memory recall` now uses live input compaction, prompt-cache reuse, and compaction-history metrics.
|
|
3800
|
-
- Memory recall now tightens its own budget under compact pressure, preserving project anchors and key decisions while dropping lower-value extras when the runtime is already under hard pressure.
|
|
3801
|
-
- Added a real Claude `PreCompact` runtime lane that re-injects compact routed context, previous shared memory context, and recent compressed command output from shared runtime cache.
|
|
3802
|
-
- Added a Claude `PostToolUse` Bash output-compression hook that compresses noisy terminal output into reusable summaries under `ukit/storage/cache/output-history.json`.
|
|
3803
|
-
- Added an automatic previous-context bridge in the installed `route-task` helper so Codex-routed flows can carry compact shared memory context in `.claude/ukit/skill-router-state.json` without relying on manual recall commands.
|
|
3804
|
-
- Added a compact recent-output bridge in the installed `route-task` helper so Codex-routed flows can carry the latest compressed terminal summary into `.claude/ukit/skill-router-state.json` and invalidate reuse when that output snapshot changes.
|
|
3805
|
-
- Added safe-zone terminal compression profiles for repeated search/file-list/tree/git output so UKit keeps anchor paths and test signals while dropping noisy repeated lines.
|
|
3806
|
-
- Claude reinject now reuses that compact shared `previousContext` snapshot before rescanning `ukit/storage/memory/`, cutting duplicate memory retrieval work across Codex/Claude continuation flows while keeping the same safety fallback.
|
|
3807
|
-
- Claude `skill-router` now persists compact shared `previousContext` snapshots earlier in `.claude/ukit/skill-router-state.json` and invalidates same-prompt reuse when that memory snapshot changes, so pure Claude flows also benefit from lower repeated memory drag before `PreCompact`.
|
|
3808
|
-
- Updated shared adapter guidance so OpenCode (`AGENTS.md`) and Antigravity (`.antigravity/rules/rules.md`) reuse compact `previous-context` / `recent-output` snapshots from the shared route state before widening reads or replaying noisy logs.
|
|
3809
|
-
- OpenCode and Antigravity guidance now also points both adapters at the canonical `node .claude/ukit/index/route-task.mjs ...` helper for complex/ambiguous routing so they can refresh the same shared route memory path Codex/Claude already use.
|
|
3810
|
-
- OpenCode now ships native `opencode.json` command entrypoints for shared UKit route/context/index/query/verify/triage flows, pins `--adapter opencode`, and keeps those helpers internal so end users still only need `ukit install`.
|
|
3811
|
-
- Shared `route-task` state now records the originating adapter (`claude`, `codex`, `antigravity`, `opencode`) so OpenCode/Claude continuations do not accidentally reuse the same cached route snapshot just because the task text matches.
|
|
3812
|
-
- Antigravity can now call its native symlinked helper path (`node .antigravity/ukit/index/route-task.mjs ...`) and route/resolve/triage using `.antigravity/ukit/index/...` lanes instead of falling back to Claude-shaped helper paths.
|
|
3813
|
-
- `verify-context` and maintainer `ukit index verify` output now compact repeated targeted test commands and verbose docs-only notes into shorter canonical display lines without changing verification policy.
|
|
3814
|
-
- Memory recall / previous-context snippets now use compact canonical `project=...` / `session=...` display lines so agents spend fewer tokens on repeated prose while keeping decisions, rules, actions, and next steps visible.
|
|
3815
|
-
- `ukit status` now surfaces prompt-cache and output-compression metrics so maintainers can see live savings instead of only static config toggles.
|
|
3816
|
-
- Maintainer `release:verify` now defaults to a local `npm pack --dry-run --json` packaging check instead of hitting npmjs during the normal release-ready workflow.
|
|
3817
|
-
|
|
3818
|
-
## 1.1.0 - 2026-04-21
|
|
3819
|
-
|
|
3820
|
-
### Production-ready v1.1.0 runtime foundation
|
|
3821
|
-
|
|
3822
|
-
- Promoted UKit to **v1.1.0** with a shared project-local runtime at `ukit/` for config, cache, and cross-agent memory.
|
|
3823
|
-
- Added maintainer-facing runtime commands:
|
|
3824
|
-
- `ukit status`
|
|
3825
|
-
- `ukit memory list|search|recall|forget|export`
|
|
3826
|
-
- Hardened lifecycle commands around the new runtime:
|
|
3827
|
-
- `ukit doctor` now validates `ukit/storage/` health and runtime config integrity
|
|
3828
|
-
- uninstall now removes tracked runtime config/cache files under `ukit/` safely
|
|
3829
|
-
- Updated installed Claude/Codex/AGENTS guidance so adapters know to reuse `ukit/storage/config.json`, `ukit/storage/memory/`, and the shared runtime cache files.
|
|
3830
|
-
- Added a safe recall lane for non-trivial work: `ukit memory recall "<task>"` now prints a compact `## Previous Context` block from shared local memory before widening docs/context.
|
|
3831
|
-
- Hardened recall before release so it stays inside the current project boundary and fails closed when `ukit/storage/config.json` is corrupted.
|
|
3832
|
-
- Fixed publish packaging so the OpenCode adapter preset is included in the npm artifact even though `opencode.json` is globally gitignored in the repo.
|
|
3833
|
-
|
|
3834
|
-
## 1.0.1 - 2026-04-21
|
|
3835
|
-
|
|
3836
|
-
### Patch release
|
|
3837
|
-
|
|
3838
|
-
- Added **OpenCode** as a first-class optional coding adapter in the default `ukit install` surface.
|
|
3839
|
-
- Kept the human workflow unchanged: teammates still only need to remember **`ukit install`**.
|
|
3840
|
-
- Reused the canonical `AGENTS.md` + `.claude/skills/` workspace shape for OpenCode instead of generating a duplicate mirror tree, keeping the adapter leaner for production.
|
|
3841
|
-
- Added a production-tuned managed `opencode.json` with:
|
|
3842
|
-
- safe default build agent behavior
|
|
3843
|
-
- compaction enabled
|
|
3844
|
-
- noisy watcher paths ignored
|
|
3845
|
-
- index/test/lint/build commands auto-allowed where safe
|
|
3846
|
-
- destructive git/rm flows denied or forced through confirmation
|
|
3847
|
-
- Extended adapter selection, gitignore management, uninstall ownership handling, docs, and integration coverage for the new OpenCode adapter.
|
|
3848
|
-
- Re-verified the release lane after the patch with artifact smoke, full core suite, and `npm publish --dry-run`.
|
|
3849
|
-
|
|
3850
|
-
## 1.0.0 - 2026-04-16
|
|
3851
|
-
|
|
3852
|
-
### Product promise
|
|
3853
|
-
|
|
3854
|
-
- Teammates should remember only **`ukit install`** for normal in-project workflow.
|
|
3855
|
-
- The same command handles first-time workspace setup and refresh inside a project.
|
|
3856
|
-
- The AI should absorb the complexity: routing, hidden skill activation, context pulling, verification scope, and selective delegation.
|
|
3857
|
-
|
|
3858
|
-
### Core capabilities
|
|
3859
|
-
|
|
3860
|
-
- **Index-first code localization** so Claude Code, Codex, and Antigravity can find the right files/tests quickly without broad repo reads.
|
|
3861
|
-
- **Automatic skill routing** from prompt + file/tool evidence, including hidden lanes such as Docker packaging and DuraOne.
|
|
3862
|
-
- **Scoped verification** that prefers related tests and only widens when shared/risky scope justifies it.
|
|
3863
|
-
- **Shared multi-adapter workspace** authored once and reused across Claude, Codex, and Antigravity.
|
|
3864
|
-
|
|
3865
|
-
### Release hardening
|
|
3866
|
-
|
|
3867
|
-
- Made index freshness **source-aware**, not just age-based:
|
|
3868
|
-
- stale detection now rebuilds when indexed source/style files changed immediately after the last build
|
|
3869
|
-
- symlinked source directories are deduplicated to avoid duplicate/cyclic indexing
|
|
3870
|
-
- shipped helpers/mirror follow the same freshness rule after **`ukit install`**
|
|
3871
|
-
- Broadened hidden index test handling for co-located `.test.mjs`, `.spec.mjs`, `.test.cjs`, and `.spec.cjs`, and kept likely test files out of normal query top matches unless the prompt explicitly asks for tests/specs.
|
|
3872
|
-
- Tightened the Claude auto-allow hook so interpreter entrypoints (`node`, `python`, `bash`, etc.) are not silently whitelisted as generic safe Bash rules.
|
|
3873
|
-
- Removed empty `frontend-vue` placeholder components from the shipped hidden skill bundle by replacing them with real reference wrappers for mobile dropdown and form-view usage.
|
|
3874
|
-
- Cut one extra stale-path freshness reread from shipped index helpers by returning `generatedAtMs` directly from index rebuild summaries and reusing it after rebuild.
|
|
3875
|
-
- Added packed-artifact smoke coverage proving the published npm tarball can:
|
|
3876
|
-
- run `ukit install`
|
|
3877
|
-
- ship working index helpers
|
|
3878
|
-
- build the shipped index
|
|
3879
|
-
- route Docker packaging work
|
|
3880
|
-
- support default adapters
|
|
3881
|
-
- support nested DuraOne monorepo activation
|
|
3882
|
-
- Fixed index graph resolution for extensionless React-style internal imports (`.jsx`, `.tsx`, and directory `index.jsx` / `index.tsx`) so rerunning **`ukit install`** rebuilds correct relations/analogs in JSX/TSX projects too.
|
|
3883
|
-
- Fixed source discovery for supported **symlinked source files** in both the repo runtime and the shipped installed mirror, so alias file paths inside the project remain indexed/searchable even when the real file lives elsewhere.
|
|
3884
|
-
- Stopped `ukit install` from claiming success before the required source-code index actually finishes;
|
|
3885
|
-
- Slimmed the bundled hidden `canvas-design` asset lane to a curated built-in font set, cutting the published tarball from roughly **3.3 MB** to **1.5 MB** while preserving immediate post-install usability and the one-command `ukit install` workflow.
|
|
3886
|
-
- Deduped the heavy hidden **OOXML** support bundle used by PPTX/DOCX into a shared installed lane, preserving the same skill paths after `ukit install` via symlinks and safely migrating previously managed real directories on reinstall.
|
|
3887
|
-
- Hardened uninstall against stale tracked metadata under managed symlink roots:
|
|
3888
|
-
- Hardened reinstall migration for shared OOXML symlink targets so UKit only auto-replaces an old real directory when every nested path is still clearly UKit-managed;
|
|
3889
|
-
- Hardened reinstall migration again so even an **empty real directory** at a managed symlink target is treated as ambiguous user content;
|
|
3890
|
-
- Hardened legacy reinstall cleanup so `ukit install` no longer deletes the whole old `ukit/.ukit/` directory tree;
|
|
3891
|
-
- Hardened legacy flat-file cleanup so paths like `.claude/skills/delivery.md` are removed only when they are actual files/symlinks;
|
|
3892
|
-
- Hardened adapter deselection metadata cleanup so removing a managed link path also removes stale tracked descendants under that path, preventing old `.antigravity/skills/...` or `.codex/skills/...` entries from lingering in install metadata after `ukit install --tools=...` changes.
|
|
3893
|
-
- Hardened maintainer preview flows so `ukit diff` / dry-run install planning no longer delete a previously managed real directory before showing the preview;
|
|
3894
|
-
- Fixed index import resolution for **single-segment `baseUrl` imports** (for example `import { loadUser } from 'userApi'` with `baseUrl:
|
|
3895
|
-
- Hardened adapter deselection safety again so UKit only prunes deselected adapter files when install metadata proves UKit actually owns them;
|
|
3896
|
-
- Tightened deselection ownership handling so when adapter cleanup is skipped (non-interactive mode, user says no, or the path is a real directory), UKit immediately drops those deselected paths from install metadata instead of carrying stale ownership forward to uninstall.
|
|
3897
|
-
- Restored **index-first routing** for prompt-only hybrid lanes where a standalone specialist (for example Docker packaging) is selected together with a real code skill;
|
|
3898
|
-
- Hardened fresh `ukit install` ownership handling against stray/non-UKit `install.json` files:
|
|
3899
|
-
- Stopped tracking **skip-strategy bootstrap files** (for example `docs/PROJECT.md`, `docs/MEMORY.md`, `docs/WORKLOG.md`, `CLAUDE.md`, `AGENTS.md`, `.claude/settings.local.json`, `.codex/settings.local.json`) as uninstall-owned outputs, so UKit preserves team memory/local settings even when those files were first created by `ukit install`.
|
|
3900
|
-
- Kept **test-like direct targets** targeted even when filenames omit `.test` / `.spec` (for example `tests/pages/LoginFlow.js`):
|
|
3901
|
-
- Hardened source `deriveVerificationPlan(...)` again so callers that pass a precomputed/raw `contextResult` still normalize direct `tests/` / `specs/` primary targets into targeted verification;
|
|
3902
|
-
- Fixed source + shipped index discovery so root-level **`specs/` / `spec/` / `test/` / `__tests__/`** lanes are scanned and treated consistently as likely tests;
|
|
3903
|
-
- Completed the root test-lane hardening so **root `test/`, `spec/`, and `__tests__/`** paths are recognized consistently across index build, query ranking, and direct test-target routing/verification heuristics in both source and shipped helpers.
|
|
3904
|
-
- Aligned shipped helper cache keys with route-task seeding for **target-only helper invocations** (`--target ...` with no prompt text), so direct `resolve-context` / `verify-context` calls can reuse the route-seeded cache instead of recomputing indexed context.
|
|
3905
|
-
- Reused relations/analogs safely for alias-based projects when code + alias config stay unchanged, reducing wasted rebuild work on repeated refreshes.
|
|
3906
|
-
- Fixed package file modes so published regular files are readable and shipped hook/bin entrypoints stay executable in the npm artifact.
|
|
3907
|
-
- Installed full hidden-skill companion bundles (references/scripts/assets) for default skill packs that need them, while keeping the teammate workflow unchanged: remember only **`ukit install`**.
|
|
3908
|
-
- Cleared stale routed state when a later prompt has no matching skill, preventing old verification policies from leaking into unrelated work.
|
|
3909
|
-
- Expanded explicit “full suite” verification intent detection so Vietnamese prompts like `chạy full test suite` are honored too.
|
|
3910
|
-
- Hardened packaging for release-critical templates and adapter presets so publish artifacts match repo behavior.
|
|
3911
|
-
- Added maintainer-facing production release checklist and completed the missing npm/GitHub release metadata.
|
|
3912
|
-
|
|
3913
|
-
### Migration notes
|
|
3914
|
-
|
|
3915
|
-
- The old legacy delegation stack is **not** part of the UKit 1.0.0 product surface.
|
|
3916
|
-
- If you are upgrading an older workspace, rerun **`ukit install`** to refresh the installed files and hidden routing logic.
|
|
3290
|
+
Entries for 1.0.0 through 2.0.7 are archived in the repository at `docs/archive/CHANGELOG-1.0.0-2.0.7.md` (not shipped in the npm package).
|