ruvnet-brain 4.6.1 → 4.6.3

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.
@@ -26,9 +26,11 @@ export function syncTurnDirectory(dir, { platform = process.platform, io = fs }
26
26
  export function storeData(step) {
27
27
  if (step?.kind !== 'store' || !Array.isArray(step.args) || step.args[0] !== 'memory' || step.args[1] !== 'store') throw new Error('invalid turn store operation');
28
28
  const fields = {}; const aliases = { '-k': 'key', '--key': 'key', '--value': 'value', '-n': 'namespace', '--namespace': 'namespace', '--path': 'db', '--tags': 'tags', '--provenance': 'provenance' };
29
- let strict = false;
29
+ let strict = false; let native = false; let immutable = false;
30
30
  for (let i = 2; i < step.args.length; i++) {
31
31
  const flag = step.args[i];
32
+ if (flag === '--append-only') { if (immutable) throw new Error('duplicate turn store flag'); immutable = true; continue; }
33
+ if (flag === '--require-native') { if (native) throw new Error('duplicate turn store flag'); native = true; continue; }
32
34
  if (flag === '--no-upsert') { if (strict) throw new Error('duplicate turn store flag'); strict = true; continue; }
33
35
  const field = aliases[flag];
34
36
  if (!field || Object.hasOwn(fields, field) || typeof step.args[i + 1] !== 'string') throw new Error('unknown or duplicate turn store flag');
@@ -9,10 +9,10 @@ export const RELEASE_REQUIREMENTS = Object.freeze({
9
9
  {
10
10
  "id": "source-bound-installed-update-coordinator",
11
11
  "reason": "Allowed channels and immutable Claude artifact paths reject downgrades, ambiguous registry records, changed bytes, extra active resources and escape paths; Console success requires the exact launched source closure. POSIX owner fixtures additionally enforce original-prefix installs, existing-tool-only policy, shared locks and source-bound scheduler receipts",
12
- "files": ["tests/unit/developer-update-policy-portable.test.mjs", "tests/unit/plugin-artifact-proof.test.mjs", "tests/unit/console-suite-update.test.mjs"],
12
+ "files": ["tests/unit/developer-update-policy-portable.test.mjs", "tests/unit/plugin-artifact-proof.test.mjs", "tests/unit/console-suite-update.test.mjs", "tests/unit/developer-update-scheduled-receipt.test.mjs"],
13
13
  "platformFiles": {
14
- "linux": ["tests/unit/developer-update.test.mjs"],
15
- "macos": ["tests/unit/developer-update.test.mjs"]
14
+ "linux": ["tests/unit/developer-update.test.mjs", "tests/unit/developer-update-codex-launcher.test.mjs"],
15
+ "macos": ["tests/unit/developer-update.test.mjs", "tests/unit/developer-update-codex-launcher.test.mjs"]
16
16
  }
17
17
  },
18
18
  {