Skip to content

release: v0.3.0 — tf.learning closed decision→outcome loop - #7

Merged
rrader26 merged 3 commits into
mainfrom
feat/outcome-loop
Jul 2, 2026
Merged

release: v0.3.0 — tf.learning closed decision→outcome loop#7
rrader26 merged 3 commits into
mainfrom
feat/outcome-loop

Conversation

@rrader26

@rrader26 rrader26 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

v0.3.0

Lands the tf.learning closed decision→outcome loop on main and cuts the 0.3.0 release.

What's included

  • feat(learning): tf.learning — closed-loop decision→outcome primitive (recordDecision / recordOutcome / getEffectiveness), with informedBy provenance so outcomes re-calibrate the patterns/predictions that drove each decision.
  • chore(release): runnable examples/next-best-offer.ts demonstrating the loop end-to-end (which offer, when, and how it learns), wired as npm run demo:nbo.
  • Adds @anthropic-ai/sdk + zod as dev deps for the example; bumps version to 0.3.0.

Why 0.3.0

New public API surface (tf.learning, and tf.behaviors.discover from #5) since 0.2.0, no breaking changes → semver minor.

Validation

  • npm run typecheck
  • npm run build

🤖 Generated with Claude Code

rrader2890 and others added 3 commits July 2, 2026 09:30
Expose the engine's outcome-loop RPCs through the SDK as a new `learning`
resource: recordDecision, recordOutcome, getOutcomes, getEffectiveness.
Record a decision (with links to the patterns/predictions that informed it),
record its realized outcome, and every informing pattern's calibrated
confidence moves toward what actually happened.

- src/resources/learning.ts: LearningResource + full types
- registered on the client (tf.learning) and exported from index
- proto + coverage.json synced (35 RPCs — 30 covered, 5 internal)

typecheck + check:proto pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the runnable next-best-offer example showcasing the tf.learning
closed decision→outcome loop, wires demo:nbo, and pulls in the
@anthropic-ai/sdk + zod dev deps it needs. Bumps to 0.3.0 for the new
tf.learning + tf.behaviors public surface since 0.2.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
npm ci failed because the lock file was never regenerated after these
deps were added to package.json.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rrader26
rrader26 merged commit 16ed4f4 into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants