Skip to content

Commit 50c25ec

Browse files
chore: version packages (beta) (#23)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8f211cc commit 50c25ec

8 files changed

Lines changed: 54 additions & 15 deletions

File tree

.changeset/pre.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
"beta-2-runner-refactor",
1515
"budget-integrity-phase-3",
1616
"durability-phase-1",
17+
"eval-gated-learning",
1718
"evolution-elitism",
1819
"evolution-fitness-function",
1920
"fail-loud-phase-4",
2021
"guardrails-pair",
22+
"model-id-migration",
2123
"otel-bump-protobufjs",
2224
"perf-and-scale-phase-5",
2325
"reflection-compound-learning",

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/memory/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @cycgraph/memory
22

3+
## 0.1.0-beta.5
4+
5+
### Minor Changes
6+
7+
- 8f211cc: Eval-gated learning ("verified lessons"): lessons are now retained only if runs that used them verifiably score better.
8+
9+
**@cycgraph/orchestrator — lesson provenance.** Retrieved memory facts can carry an `id` (`MemoryRetrievalResult.facts[].id`, optional and non-breaking). When present, the runner records which facts were injected into each node's prompt in an append-only `memory._lesson_provenance` registry (same replay-safe pattern as the taint registry; invisible to node StateViews). Voting and evolution forward provenance from every sub-agent — losing candidates count as trials too. New exports: `getInjectedFactIds(state)`, `getLessonProvenance(state)`, `getLessonProvenanceRegistry(memory)`, plus the `LessonProvenanceEntry` / `LessonProvenanceRegistry` types. Known v1 limitation: supervisor-node retrieval is not provenance-tracked.
10+
11+
**@cycgraph/memory — outcome ledger, retention gate, gated retrieval.** New `OutcomeLedger` interface + `InMemoryOutcomeLedger` (`recordOutcome({ run_id, score, fact_ids })`, per-fact trial stats, leave-one-out baselines). New `evaluateRetention(store, ledger, policy)` promotes `candidate`-tagged lessons that lift outcomes past `promote_margin` (tag rewritten to `verified`), soft-evicts harmful ones (`invalidated_by: 'eval-gate:harmful'`), and retires no-lift candidates at `max_trials` — including ones deadlocked on an empty leave-one-out baseline. New `retrieveGatedLessons(store, options)` fills the prompt budget verified-first with candidate exploration slots, selected in-progress-first via the ledger, with a `rest_after_trials` bench phase so fully-trialled candidates create the absence runs their baseline needs.
12+
13+
Runnable adversarial demo at `packages/evals/examples/eval-gated-learning/`: three deliberately poisoned lessons crater a run and the gate evicts all three on outcome evidence alone, two runs after injection.
14+
315
## 0.1.0-beta.4
416

517
### Minor Changes

packages/memory/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cycgraph/memory",
3-
"version": "0.1.0-beta.4",
4-
"description": "Temporal and hierarchical memory for LLM agents \u2014 knowledge graph, episode segmentation, semantic deduplication, and efficient retrieval. Powers compound learning in @cycgraph/orchestrator.",
3+
"version": "0.1.0-beta.5",
4+
"description": "Temporal and hierarchical memory for LLM agents knowledge graph, episode segmentation, semantic deduplication, and efficient retrieval. Powers compound learning in @cycgraph/orchestrator.",
55
"keywords": [
66
"memory",
77
"knowledge-graph",

packages/orchestrator-postgres/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @cycgraph/orchestrator-postgres
22

3+
## 1.0.0-beta.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [8f211cc]
8+
- Updated dependencies [8f211cc]
9+
- @cycgraph/orchestrator@0.1.0-beta.8
10+
- @cycgraph/memory@0.1.0-beta.5
11+
312
## 1.0.0-beta.7
413

514
### Patch Changes

packages/orchestrator-postgres/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cycgraph/orchestrator-postgres",
3-
"version": "1.0.0-beta.7",
3+
"version": "1.0.0-beta.8",
44
"description": "PostgreSQL persistence adapter for @cycgraph/orchestrator with Drizzle ORM, pgvector, and event sourcing.",
55
"keywords": [
66
"orchestrator",
@@ -56,8 +56,8 @@
5656
"studio": "drizzle-kit studio"
5757
},
5858
"peerDependencies": {
59-
"@cycgraph/orchestrator": "0.1.0-beta.7",
60-
"@cycgraph/memory": "0.1.0-beta.4"
59+
"@cycgraph/orchestrator": "0.1.0-beta.8",
60+
"@cycgraph/memory": "0.1.0-beta.5"
6161
},
6262
"dependencies": {
6363
"drizzle-orm": "^0.45.1",
@@ -66,8 +66,8 @@
6666
"dotenv": "^17.3.1"
6767
},
6868
"devDependencies": {
69-
"@cycgraph/orchestrator": "0.1.0-beta.7",
70-
"@cycgraph/memory": "0.1.0-beta.4",
69+
"@cycgraph/orchestrator": "0.1.0-beta.8",
70+
"@cycgraph/memory": "0.1.0-beta.5",
7171
"@types/pg": "^8.18.0",
7272
"drizzle-kit": "^0.31.10",
7373
"tsx": "^4.21.0",

packages/orchestrator/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @cycgraph/orchestrator
22

3+
## 0.1.0-beta.8
4+
5+
### Minor Changes
6+
7+
- 8f211cc: Eval-gated learning ("verified lessons"): lessons are now retained only if runs that used them verifiably score better.
8+
9+
**@cycgraph/orchestrator — lesson provenance.** Retrieved memory facts can carry an `id` (`MemoryRetrievalResult.facts[].id`, optional and non-breaking). When present, the runner records which facts were injected into each node's prompt in an append-only `memory._lesson_provenance` registry (same replay-safe pattern as the taint registry; invisible to node StateViews). Voting and evolution forward provenance from every sub-agent — losing candidates count as trials too. New exports: `getInjectedFactIds(state)`, `getLessonProvenance(state)`, `getLessonProvenanceRegistry(memory)`, plus the `LessonProvenanceEntry` / `LessonProvenanceRegistry` types. Known v1 limitation: supervisor-node retrieval is not provenance-tracked.
10+
11+
**@cycgraph/memory — outcome ledger, retention gate, gated retrieval.** New `OutcomeLedger` interface + `InMemoryOutcomeLedger` (`recordOutcome({ run_id, score, fact_ids })`, per-fact trial stats, leave-one-out baselines). New `evaluateRetention(store, ledger, policy)` promotes `candidate`-tagged lessons that lift outcomes past `promote_margin` (tag rewritten to `verified`), soft-evicts harmful ones (`invalidated_by: 'eval-gate:harmful'`), and retires no-lift candidates at `max_trials` — including ones deadlocked on an empty leave-one-out baseline. New `retrieveGatedLessons(store, options)` fills the prompt budget verified-first with candidate exploration slots, selected in-progress-first via the ledger, with a `rest_after_trials` bench phase so fully-trialled candidates create the absence runs their baseline needs.
12+
13+
Runnable adversarial demo at `packages/evals/examples/eval-gated-learning/`: three deliberately poisoned lessons crater a run and the gate evicts all three on outcome evidence alone, two runs after injection.
14+
15+
### Patch Changes
16+
17+
- 8f211cc: Migrate off Anthropic model IDs retiring 2026-06-15. `DEFAULT_AGENT_MODEL` is now `claude-sonnet-4-6` (was `claude-sonnet-4-20250514`); `ANTHROPIC_MODELS` gains `claude-opus-4-8` and `claude-sonnet-4-6` while keeping the deprecated IDs so existing persisted agent configs still validate; the pricing table gains `claude-opus-4-8` ($5/$25 per MTok) and keeps historical entries so cost replay of old runs stays correct. All examples, docs, and test fixtures updated to the new IDs.
18+
319
## 0.1.0-beta.7
420

521
### Patch Changes

packages/orchestrator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cycgraph/orchestrator",
3-
"version": "0.1.0-beta.7",
3+
"version": "0.1.0-beta.8",
44
"description": "Self-improving agent workflows: every run distills lessons into memory, and future runs retrieve them automatically. Cyclic graph engine with durable execution, per-node budgets, taint tracking, and human-in-the-loop gates.",
55
"keywords": [
66
"agents",

0 commit comments

Comments
 (0)