@visual-z/xeno 0.1.3 → 0.1.4

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/README.md CHANGED
@@ -17,7 +17,7 @@ is ever summarized by a model, and nothing is ever rewritten in place.
17
17
  messages[] frozen system prefix + handoff + this node's events
18
18
  ```
19
19
 
20
- Version **0.1.3**. The on-disk session format will still change; `0.x` is that
20
+ Version **0.1.4**. The on-disk session format will still change; `0.x` is that
21
21
  statement. Published as `@visual-z/xeno`; the license is `UNLICENSED` (readable and installable, no reuse granted).
22
22
 
23
23
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visual-z/xeno",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "description": "Segmented append-only agent log with pure context and handoff projections",
@@ -88,6 +88,15 @@ export function deriveProgress(
88
88
  if (observation !== undefined) observations.add(observation);
89
89
  }
90
90
  } else if (effect?.kind === "command" && effect.exit === 0) {
91
+ // D9 revision (2026-09-29, user-approved): output never seen before is a
92
+ // new observation, exactly as for read/grep. A model exploring with
93
+ // `sed -n` or `grep` in the shell is gathering evidence too; the digest
94
+ // excludes wall time, so an unchanged `git status` repeats and stalls.
95
+ if (observation !== undefined && !observations.has(observation)) {
96
+ observations.add(observation);
97
+ evidence.push({ kind: "observation", sha256: observation, source });
98
+ progressed = true;
99
+ }
91
100
  const key = checkKey(effect.cmd, effect.gate, effect.workspace_sha256);
92
101
  if (!checks.has(key)) {
93
102
  checks.add(key);
@@ -17,7 +17,7 @@ import { createServer, type Server } from "node:http";
17
17
  import { pollDeviceCode } from "./oauth-device.ts";
18
18
 
19
19
  /** Matches package.json. Sent as User-Agent so the server can see who we are (D18). */
20
- export const XENO_VERSION = "0.1.3";
20
+ export const XENO_VERSION = "0.1.4";
21
21
 
22
22
  /**
23
23
  * Minutes subtracted from server expiry so a request issued at the edge
@@ -120,6 +120,12 @@ export async function scanWorkspace(
120
120
  if (err) return err;
121
121
  continue;
122
122
  }
123
+ // A symlink is not workspace content: it can point anywhere, and search
124
+ // and the file index already refuse to follow one. It is left out of the
125
+ // file set, so snapshots never read through it and a restore never
126
+ // deletes or replaces it (/back does not restore symlinks). Anything
127
+ // else that is not a regular file still fails the whole scan.
128
+ if (entry.isSymbolicLink()) continue;
123
129
  if (!entry.isFile()) return `cannot snapshot unsupported file type: ${rel}`;
124
130
 
125
131
  const info = await stat(abs);