Repository navigation
Publish prep + memory_update fix + semantic-release pipeline - #3
Merged
Merged
Conversation
…ompt text The session.prompt hook appended the relevance-ranked knowledge block to event.prompt.text. That field is stored verbatim as the user message and rendered as-is in the TUI, so the whole <system-note> block leaked to the user on every turn (OpenCode has no special handling for that tag). Instead the prompt hook now stashes the block per session and the session.context hook pushes it onto event.system alongside the digest — invisible to the UI, still ranked against the current prompt. Tests: rewrote the two prompt-hook tests to the new contract (text untouched; memory delivered via context/system). 74 pass / 0 fail, tsc clean.
…blish on merge to main)
|
🎉 This PR is included in version 0.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR ships
Everything needed to go from "manually published 0.1.0" to fully automated semantic releases on merge to
main.1.
fix: address memory_update rows by query(293fe1a)Cherry-pick of
579aa07(PR #2's fix, which had landed onv2-portinstead ofmain). Thememory_updatetool'squeryinput was declared but ignored — the target row was always the last active row of ascope+type, so back-to-back updates clobbered each other. Now resolvesqueryagainst row id first, then fuzzy content match;merge_reviewrevives its survivor. Re-leveled as a Conventional Commit so it triggers the 0.1.1 patch release. The published 0.1.0 does not contain this fix — merging this PR ships it as 0.1.1 automatically.2. Publish prep (73b7fba, already reviewed)
npm metadata, npm-first README, OIDC notes.
3.
ci: semantic-release pipeline(864d679).github/workflows/release.ymlrewritten:push: [main]+workflow_dispatch→ bun install/test/typecheck →npx semantic-release.package.json→ pushesv{version}→ GitHub Release with notes →npm publishvia Trusted Publishing (OIDC,id-token: write, auto provenance, zero secrets).main). Bump commit carries[skip ci].registry-urlonsetup-node(its.npmrcbreaks semantic-release OIDC auth).release.config.json:branches: ["main"],tagFormat: "v${version}"(defaults cover the rest).semantic-release@^25added as devDependency (CI runs it vianpxon Node 22; repo stays Bun-native for install/test).Bootstrap state (already done)
v0.1.0pushed atd520a15— the exactgitHeadof the published npm 0.1.0 — so semantic-release starts from reality: thefix:commits after it produce 0.1.1 on the first CI run after merge.After merge
gh run watch.abogartz, repoopencode-self-improvement, workflowrelease.yml, "npm publish" allowed (configs created after 2026-09-03 default to stage-only — then releases queue for 2FA approval instead, which also works).Verification
bun test— 84 pass, 4 skip, 0 failbunx tsc --noEmit -p tsconfig.json— cleanbun install --frozen-lockfile— clean after lockfile update