This commit is contained in:
2026-09-11 13:41:50 -04:00
parent 04e013b090
commit 29d5216b96
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# JARVIS-QVAC # JARVIS-QVAC
Local-first Ubuntu GNOME voice assistant scaffold. The cognitive core is the Local-first Ubuntu GNOME voice assistant scaffold. The cognitive core is the
already-extracted `/home/raven/dev/agent-harness`, exposed through the symlink already-extracted `/home/raven/dev/agent-harness`, copied into
`vendor/agent-harness`; Jarvis does not copy or depend on `/home/raven/dev/dlinux`. `vendor/agent-harness`; Jarvis does not copy or depend on `/home/raven/dev/dlinux`.
## Bootstrap ## Bootstrap
+1 -1
View File
@@ -1,7 +1,7 @@
import { createRequire } from 'node:module'; import { createRequire } from 'node:module';
import path from 'node:path'; import path from 'node:path';
const harnessPath = process.env.JARVIS_HARNESS_PATH || '/home/raven/dev/agent-harness'; const harnessPath = process.env.JARVIS_HARNESS_PATH || path.resolve(new URL('../vendor/agent-harness', import.meta.url).pathname);
const require = createRequire(import.meta.url); const require = createRequire(import.meta.url);
process.env.QVAC_CONFIG_PATH ||= path.resolve(new URL('../qvac.config.json', import.meta.url).pathname); process.env.QVAC_CONFIG_PATH ||= path.resolve(new URL('../qvac.config.json', import.meta.url).pathname);
const Agent = require(path.join(harnessPath, 'index.js')); const Agent = require(path.join(harnessPath, 'index.js'));
+1 -1
View File
@@ -40,7 +40,7 @@ cognitive loop and is wrapped rather than rewritten.
## Phase 0 — repository and authority bootstrap ## Phase 0 — repository and authority bootstrap
- [x] Confirm `/home/raven/dev/agent-harness` exists. - [x] Confirm `/home/raven/dev/agent-harness` exists.
- [x] Link `vendor/agent-harness` to the extracted harness. - [x] Copy the extracted harness into `vendor/agent-harness`.
- [x] Document harness layout, entrypoints, sessions, tools, memory, planner, - [x] Document harness layout, entrypoints, sessions, tools, memory, planner,
and model path in `docs/agent-harness-map.md`. and model path in `docs/agent-harness-map.md`.
- [x] Pin the QVAC 0.19.0 API rules in `QVAC.md`. - [x] Pin the QVAC 0.19.0 API rules in `QVAC.md`.
+6 -5
View File
@@ -1,8 +1,9 @@
# Agent harness map # Agent harness map
Source of truth: `/home/raven/dev/agent-harness` (`~/dev/agent-harness`). Source of truth for Jarvis runtime: `vendor/agent-harness/`, copied from
The extracted directory is not currently a git checkout, so Jarvis tracks it by `/home/raven/dev/agent-harness` (`~/dev/agent-harness`). The original extracted
symlink and records the absolute source path instead of inventing a commit pin. tree remains the upstream working source; the vendored directory is the copy
that ships with this repository.
## Layout and runtime ## Layout and runtime
@@ -24,12 +25,12 @@ Important modules:
## Start and embed ## Start and embed
CLI: `node /home/raven/dev/agent-harness/bin/cli.js [options] [prompt]`. CLI: `node vendor/agent-harness/bin/cli.js [options] [prompt]`.
Library integration uses CommonJS from the harness root: Library integration uses CommonJS from the harness root:
```js ```js
const Agent = require('/home/raven/dev/agent-harness'); const Agent = require('./vendor/agent-harness');
await Agent.engine.load({ model: 'qwen3.5-4b', tools: true, device: 'auto' }); await Agent.engine.load({ model: 'qwen3.5-4b', tools: true, device: 'auto' });
const session = await Agent.create({ const session = await Agent.create({
cwd: process.cwd(), cwd: process.cwd(),