From ac8563a40e14dbd56ab917f721cf5545f330701b Mon Sep 17 00:00:00 2001 From: Vikas Singhal Date: Fri, 31 Jul 2026 16:11:05 +0530 Subject: [PATCH] fix(dreaming): bump TOPICS_VERSION for the id-filter change (v0.281.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v0.281.3 tightened isEntity (opaque hex ids) without bumping the version counter added in v0.281.2, so ids already stored in a workspace topic map stayed there — the exact failure that counter exists to prevent. Bumped, and the requirement to bump alongside any extractor change is now stated at the constant. Co-Authored-By: Claude Opus 5 (1M context) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- src/edge/dreaming.ts | 6 +++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 480aee2..880b569 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ new version heading in the same commit. ## [Unreleased] +## [0.281.4] — 2026-07-31 +### Fixed +- **Bump `TOPICS_VERSION` to 3.** v0.281.3 tightened the topic extractor (opaque hex ids) without bumping + the version counter added in v0.281.2, so ids already written into a workspace's cumulative topic map + stayed there — the exact failure that counter exists to prevent. Bumped, and the requirement to bump it + alongside any extractor change is now stated at the constant. + ## [0.281.3] — 2026-07-31 ### Fixed - **Opaque identifiers are no longer "things the fleet works on".** The digit rule that admits `v3`/`php8` diff --git a/package-lock.json b/package-lock.json index 0c54488..6753a20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "agent-os", - "version": "0.281.3", + "version": "0.281.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "agent-os", - "version": "0.281.3", + "version": "0.281.4", "license": "MIT", "bin": { "agent-os": "bin/agent-os" diff --git a/package.json b/package.json index 27905fd..a0c1b83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agent-os", - "version": "0.281.3", + "version": "0.281.4", "description": "A generic, governed operating system for running autonomous agents safely across brands. Ships with a local web console.", "license": "MIT", "type": "commonjs", diff --git a/src/edge/dreaming.ts b/src/edge/dreaming.ts index a243e2e..1090a43 100644 --- a/src/edge/dreaming.ts +++ b/src/edge/dreaming.ts @@ -74,8 +74,12 @@ const MIN_TOPIC_COUNT = 3; * removed. Bump this whenever the extractor's meaning changes; a state carrying an older version has its * map cleared and rebuilt from the current corpus, so every tenant self-heals on its next pass instead of * needing a hand-edited DB. + * + * **Bump this in the same commit as any change to `isEntity`/`properNouns`/`STOP`.** v0.281.3 tightened + * `isEntity` (opaque hex ids) without bumping, so the ids already stored stayed in the map — the exact + * failure this counter exists to prevent. */ -const TOPICS_VERSION = 2; +const TOPICS_VERSION = 3; const STOP = new Set(['task', 'outcome', 'session', 'after', 'then', 'with', 'this', 'that', 'from', 'into', 'your', 'their', 'about', 'over', 'when', 'while', 'should', 'would', 'could', 'have', 'been', 'were', 'them', 'they', 'will', 'just', 'also', 'using', 'used', 'ran', 'run', 'done', 'made', 'make', 'need', 'needs', 'some', 'more', 'than', 'only', 'each', 'both', 'unknown', 'none', // Procedural / plumbing words — they describe HOW an agent worked, not WHAT the fleet works on, so they // drown the real topics ("slack, check, report, completed, summary" is a useless "frequently works on").