Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/t9964-v599-followups.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: t9964-v599-followups
tasks: [T9964]
kind: chore
prs: [459]
summary: "v5.99 ships T9964 E-ORIENT-V2 follow-ups — real briefing diet ≤1000 tokens, ferrous-forge fixture compliance, release-prepare.yml workflow"
---

Follow-ups from honest validation of T9964 E-ORIENT-V2 v5.97 ship:

- **Briefing diet (real)**: T9974 AC1 was missed in v5.97 (2367 tokens vs ≤1000 target). v5.99 default `cleo briefing` now ≤1000 tokens via progressive disclosure — peerLearnings/decisions emit `{id, title, createdAt}` with `_next.fetch` hints (full body via `--memory-detail`); memoryContext titles truncated to 80 chars; relatedDocs surfaces `slug`+`type` instead of useless `attachmentId`; blockedTasks/activeEpics capped at 3 with 60-char titles.
- **Ferrous-forge fixture compliance**: `packages/cleo/test/fixtures/release-test-rust-crate/Cargo.toml` now uses edition=2024 + lints sections. Pre-commit hook passes without `--no-verify` on release commits.
- **release-prepare.yml**: GitHub Actions workflow added (closes T9781). `cleo release open <version>` now actually works end-to-end via `gh workflow run release-prepare.yml`.
- **release-prepare.yml jq bug fix**: workflow's `Bump workspace @cleocode/* dep refs` step had a jq error when a package.json lacked `dependencies`/`devDependencies`/`peerDependencies` fields. Replaced `(.dependencies // {}) |= ...` with `if has("dependencies") then ... else . end` per jq path-expression semantics.
6 changes: 3 additions & 3 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ jobs:
updated=$(jq --arg v "$VERSION_BARE" '
def bump_if_numeric:
if . and (test("^[0-9]")) then $v else . end;
(.dependencies // {}) |= with_entries(.value |= bump_if_numeric) |
(.devDependencies // {}) |= with_entries(.value |= bump_if_numeric) |
(.peerDependencies // {}) |= with_entries(.value |= bump_if_numeric)
(if has("dependencies") then .dependencies |= with_entries(.value |= bump_if_numeric) else . end) |
(if has("devDependencies") then .devDependencies |= with_entries(.value |= bump_if_numeric) else . end) |
(if has("peerDependencies") then .peerDependencies |= with_entries(.value |= bump_if_numeric) else . end)
' "$PKG_JSON")
echo "$updated" > "$PKG_JSON"
done
Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# Changelog

## [2026.5.99] (2026-05-22)

### BREAKING CHANGES

- Unify releases tables — drop release_manifests + releases_view, hard-rename to canonical "releases". (T9686-B2) (#328)

Migration:

`release_manifests` is dropped and `releases_view` is removed. Readers that
previously queried either name must switch to the canonical `releases`
table. The migration handles the data move in-place; consumers that touch
the SQLite schema directly (e.g. raw queries outside the DataAccessor) need
to update their statements.

### Features

- Agent unification + Conduit architecture — unified cleo agent CLI, AgentRegistry with encrypted credentials, Conduit transport layer. (T170)
- WASM bindings for the CANT ecosystem — cant-core, lafs-core, conduit-core, signaldock-core compile to WASM with TypeScript SDK integration. (T9738)
- cleo doctor gains --audit-worktree-orphans and --prune-worktree-orphans for the T9550/T9580 SSoT-bug fallout. (T9790)
- Execute cleo docs import across all 5 legacy doc sources (2388 files) — closes T9625 validation gate. (T9791)
- cleo docs list defaults to project scope, supports --limit + --orderBy, and surfaces a narrowing hint. (T9792)
- Saga T9787 closing Epic — 9-step E2E real-world validation + agent-accountability harness (canon-lint). (T9797)
- Paths SSoT CI gate (lint-paths-ssot.mjs) + resolveWorktreeIndexPath helper (D009 sentinel) (T9802)
- cleo worktree adopt + multi-source list (Claude Code Agent isolation bridge) (T9804)
- worktree lifecycle audit log + auto-cleanup GHA workflow (T9805)
- DB chokepoint refuses opens when the resolved `.cleo/` resides inside a git worktree — defense-in-depth on top of T9803. (T9806)
- cleo doctor --audit-worktree-orphans comprehensive scan + isolation lint + saga closure report (T9808)
- Ban worktrees outside canonical XDG location + CI lint gate + migration tool. (T9809)
- E-ORIENT-V2: multi-agent orientation surface — docs fetch/show fixes, briefing diet + scope, focus macro, per-agent sessions, worktree destroy dispatch, auto-emit memory observation (T9965) (T9966) (T9967) (T9968) (T9973) (T9974) (T9975) (T9976)

### Fixes

- Four dispatch/envelope bugs in the release pipeline — worktree help text, pr-status routing, reconcile double-wrap, changelog envelope. (T9686-A) (#324)
- releaseShow + releaseList read from releases_view SSoT — eliminates dual-table split between releases and release_manifests. (T9686-B) (#323)
- Provenance backfill — tag enumeration, --since empty handling, foreign-key insertion order. (T9686-C) (#325)
- Root-cause fix for orphan-`.cleo/` synthesis — `getCleoDirAbsolute` now THROWS when `getProjectRoot` fails unless caller passes `{ bootstrap: true }`. (T9803)
- bound worktree include-pattern apply loop + optional sparse-checkout scope (T9807)
- orchestrate ready/waves traverse saga 'groups' relation (+ --via flag) (T9852) (T9839) (#422)
- SQLITE_BUSY retry on parallel task writes (CORE SDK with-retry primitive) (T9852) (T9839) (#413)
- RCA + persist severity/kind/scope on task UPDATE (T9852) (T9839) (#425)
- cleo issue diagnostics reads CLEO version from package.json SSoT (T9852) (T9839) (#411)
- Bracket+quote-aware acceptance tokenizer + DRY collapse of 3 duplicate split impls (T9852) (T9839) (#412)
- Route getDb() through worktree-isolation guard (defense-in-depth for ~61 direct core callers) (T9961)
- Add width-budget + timeout to doctor worktree-orphan audit to prevent 60s+ hang on large corpora (T9962)

### Refactors

- Promote 17 provenance/job unions + 6 task-axis enum constants from core/store/tasks-schema.ts to @cleocode/contracts (Phase 0c · T9832). (T9955)
- Promote 15 BRAIN memory wire-shapes from `@cleocode/core` to `@cleocode/contracts/memory` (Phase 0e of SG-ARCH-SOLID). (T9956)

### Documentation

- Worktree prune main-dir protection + AGENTS.md release docs aligned to SPEC-T9345 4-verb pipeline. (T9686-D) (T9686-E) (#320)
- CLI help-text hardening bundle (gh-392 (T9852) (T9839) (#426)

### Chores

- cleo changeset list verb + README pointing at canonical writer (T9785)
- biome lint hotfixes — unblock CI after T9797 saga-T9787 file landed (T9852) (T9839) (#427)

## [2026.5.98] (2026-05-22)

### Fixes
Expand Down
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ resolver = "2"

[workspace.package]
edition = "2024"
version = "2026.5.98"
version = "2026.5.99"
rust-version = "1.88"

[workspace.dependencies]
Expand Down Expand Up @@ -148,7 +148,7 @@ expect_used = "deny"

[package]
name = "cleocode-workspace"
version = "2026.5.98"
version = "2026.5.99"
edition = "2024"
rust-version = "1.88"

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/monorepo",
"version": "2026.5.98",
"version": "2026.5.99",
"private": true,
"type": "module",
"packageManager": "pnpm@10.30.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/adapters",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "Unified provider adapters for CLEO (Claude Code, OpenCode, Cursor)",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/agents/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/agents",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "CLEO agent protocols and templates",
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/animations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/animations",
"version": "2026.5.98",
"version": "2026.5.99",
"type": "module",
"description": "CLEO terminal animations — braille spinners, progress bars, and sparks for the cleo CLI and CleoOS. Forked from gunnargray-dev/unicode-animations (MIT).",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/brain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/brain",
"version": "2026.5.98",
"version": "2026.5.99",
"private": false,
"type": "module",
"description": "CLEO unified-graph Brain substrate — BRAIN + NEXUS + TASKS + CONDUIT + SIGNALDOCK projection",
Expand Down
2 changes: 1 addition & 1 deletion packages/caamp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/caamp",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "Central AI Agent Managed Packages - unified provider registry and package manager for AI coding agents",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/cant",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "CANT protocol parser and runtime for CLEO — wraps cant-core via napi-rs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/cleo-os/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/cleo-os",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "CleoOS — the batteries-included agentic development environment wrapping Pi",
"type": "module",
"main": "./dist/cli.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cleo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/cleo",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "CLEO CLI — the assembled product consuming @cleocode/core",
"type": "module",
"main": "./dist/cli/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/contracts",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "Domain types, interfaces, and contracts for the CLEO ecosystem",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/core",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "CLEO core business logic kernel — tasks, sessions, memory, orchestration, lifecycle, with bundled SQLite store",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/git-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/git-shim",
"version": "2026.5.98",
"version": "2026.5.99",
"private": false,
"type": "module",
"description": "Harness-agnostic git shim for CLEO agent branch-protection (T1118)",
Expand Down
2 changes: 1 addition & 1 deletion packages/lafs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/lafs",
"version": "2026.5.98",
"version": "2026.5.99",
"private": false,
"type": "module",
"description": "LLM-Agent-First Specification schemas and conformance tooling",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/mcp-adapter",
"version": "2026.5.98",
"version": "2026.5.99",
"description": "External-only MCP adapter stub exposing CLEO sentient operations as MCP tools. Does NOT wire into internal CLEO dispatch — external tools only.",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nexus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cleocode/nexus",
"version": "2026.5.98",
"version": "2026.5.99",
"private": false,
"type": "module",
"description": "CLEO project registry and code intelligence — unified nexus package",
Expand Down
Loading
Loading