agent-doc-system 1.5.0 → 1.5.1
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/CHANGELOG.md +11 -1
- package/core/graph.mjs +1 -1
- package/docs/CI.md +1 -1
- package/docs/ci/github-actions.yml +1 -1
- package/evals/agent/optimize.mjs +1 -1
- package/evals/agent/run.mjs +1 -1
- package/package.json +1 -1
- package/templates/ci.yml +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,15 @@ refused by the next with `AGENTDOC_COMPILER_MISMATCH` until it is recompiled.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.5.1] - 2026-11-13
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Evaluation and optimization entrypoints now execute when invoked through a symbolic link, including installed paths under macOS temporary-directory aliases. Previously they could exit successfully without producing output.
|
|
17
|
+
- CI now exercises agent evaluation and package installation on macOS in addition to the Node 22/24/26 Linux matrix.
|
|
18
|
+
|
|
19
|
+
Recompile committed graphs after upgrading, as the compiler version is now 1.5.1.
|
|
20
|
+
|
|
12
21
|
## [1.5.0] - 2026-11-13
|
|
13
22
|
|
|
14
23
|
### Added
|
|
@@ -440,7 +449,8 @@ First public release.
|
|
|
440
449
|
for project health.
|
|
441
450
|
- An Agent Skill under `skills/agent-doc-system/`.
|
|
442
451
|
|
|
443
|
-
[Unreleased]: https://github.com/lbframe/agent-doc-system/compare/v1.5.
|
|
452
|
+
[Unreleased]: https://github.com/lbframe/agent-doc-system/compare/v1.5.1...HEAD
|
|
453
|
+
[1.5.1]: https://github.com/lbframe/agent-doc-system/compare/v1.5.0...v1.5.1
|
|
444
454
|
[1.5.0]: https://github.com/lbframe/agent-doc-system/compare/v1.4.0...v1.5.0
|
|
445
455
|
[1.4.0]: https://github.com/lbframe/agent-doc-system/compare/v1.3.0...v1.4.0
|
|
446
456
|
[1.3.0]: https://github.com/lbframe/agent-doc-system/compare/v1.2.0...v1.3.0
|
package/core/graph.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { assertDeterministic, structuralProjection } from "./determinism.mjs";
|
|
|
9
9
|
import { sha256Hex } from "./fsx.mjs";
|
|
10
10
|
|
|
11
11
|
export const COMPILER_NAME = "agentdoc-compiler";
|
|
12
|
-
export const COMPILER_VERSION = "1.5.
|
|
12
|
+
export const COMPILER_VERSION = "1.5.1";
|
|
13
13
|
export const GRAPH_SCHEMA_VERSION = "agentdoc.dev/graph/v1";
|
|
14
14
|
|
|
15
15
|
// Resolve symbolic provenance subjects to RFC 6901 pointers into the graph.
|
package/docs/CI.md
CHANGED
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
with: { fetch-depth: 0 }
|
|
21
21
|
- uses: actions/setup-node@v4
|
|
22
22
|
with: { node-version: '24' }
|
|
23
|
-
# Pin a tag for reproducibility, e.g. github:lbframe/agent-doc-system#v1.5.
|
|
23
|
+
# Pin a tag for reproducibility, e.g. github:lbframe/agent-doc-system#v1.5.1 —
|
|
24
24
|
# a compiler upgrade intentionally invalidates every committed graph.
|
|
25
25
|
- run: npm install -g github:lbframe/agent-doc-system
|
|
26
26
|
- run: agentdoc validate
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
with: { node-version: '24' }
|
|
22
22
|
- name: Install the agentdoc CLI
|
|
23
23
|
# Unpinned tracks main. For CI reproducibility pin a tag or commit:
|
|
24
|
-
# github:lbframe/agent-doc-system#v1.5.
|
|
24
|
+
# github:lbframe/agent-doc-system#v1.5.1
|
|
25
25
|
# A compiler upgrade intentionally invalidates committed graphs.
|
|
26
26
|
run: npm install -g github:lbframe/agent-doc-system
|
|
27
27
|
- name: Validate and compile
|
package/evals/agent/optimize.mjs
CHANGED
|
@@ -43,6 +43,6 @@ export async function optimize(config){
|
|
|
43
43
|
const decision=validation.stopped?{adopt:false,reason:validation.stopped}:selectCandidate(validation.attempts.filter(x=>x.condition==='reference'),validation.attempts.filter(x=>x.condition===candidate),config.criteria);
|
|
44
44
|
return {schemaVersion:'agentdoc.eval.optimization/v1',status:decision.adopt?'candidate-selected':'inconclusive',candidate,decision,spent,development,validation,publication:'not-performed',finalTest:'required-on-independent-tasks-before-production-performance-claims'};
|
|
45
45
|
}
|
|
46
|
-
if(process.argv[1]&&
|
|
46
|
+
if(process.argv[1]&&fs.existsSync(process.argv[1])&&fs.realpathSync(process.argv[1])===fs.realpathSync(fileURLToPath(import.meta.url))){
|
|
47
47
|
try{const config=JSON.parse(fs.readFileSync(process.argv[2],'utf8'));const report=await optimize(config);const text=JSON.stringify(report,null,2)+'\n';if(process.argv[3])fs.writeFileSync(process.argv[3],text);else process.stdout.write(text);if(report.status!=='candidate-selected')process.exitCode=1;}catch(e){console.error(e.message);process.exitCode=2;}
|
|
48
48
|
}
|
package/evals/agent/run.mjs
CHANGED
|
@@ -150,7 +150,7 @@ export async function campaign(config){
|
|
|
150
150
|
return {schemaVersion:'agentdoc.eval.campaign/v1',runtime:{node:process.version,runnerHash:RUNNER_HASH,corpusHash:createHash('sha256').update(JSON.stringify(tasks.map(t=>({id:t.id,pin:t.fixtureHash,cases:t.cases})))).digest('hex'),driverFiles:Object.fromEntries(config.driver.filter(p=>path.isAbsolute(p)&&fs.existsSync(p)&&fs.statSync(p).isFile()).map(p=>[p,createHash('sha256').update(fs.readFileSync(p)).digest('hex')]))},config,attempts,summary:summarize(attempts),conditions:Object.fromEntries(Object.keys(conditions).map(k=>[k,summarize(attempts.filter(x=>x.condition===k))]))};
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
if(process.argv[1]&&
|
|
153
|
+
if(process.argv[1]&&fs.existsSync(process.argv[1])&&fs.realpathSync(process.argv[1])===fs.realpathSync(fileURLToPath(import.meta.url))){
|
|
154
154
|
try{
|
|
155
155
|
if(process.argv.includes('--list'))process.stdout.write(JSON.stringify(tasks.map(t=>({...publicTask(t),family:t.family,split:t.split})),null,2)+'\n');
|
|
156
156
|
else{
|
package/package.json
CHANGED
package/templates/ci.yml
CHANGED
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
with: { node-version: '24' }
|
|
18
18
|
- name: Install the agentdoc CLI
|
|
19
19
|
# Unpinned tracks main. For CI reproducibility pin a tag or commit:
|
|
20
|
-
# github:lbframe/agent-doc-system#v1.5.
|
|
20
|
+
# github:lbframe/agent-doc-system#v1.5.1
|
|
21
21
|
# A compiler upgrade intentionally invalidates committed graphs.
|
|
22
22
|
run: npm install -g github:lbframe/agent-doc-system
|
|
23
23
|
- name: Validate and compile
|