GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(capture): ground summaries in bounded tool outcomes by Phototonic · Pull Request #485 · tickernelz/opencode-mem

Conversation

@Phototonic

@Phototonic Phototonic commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Live auto-capture previously saw tool names and inputs alongside assistant claims, without the tool results needed to qualify those claims. It now includes bounded V1/V2 textual results and invocation status in the existing summary request. The prompt distinguishes plans, attempts, failures, pending/interrupted work and observed outcomes, preserving useful failure/recovery lessons and making missing evidence explicit.

  • Sanitize before truncation; retain up to 32 real calls, with 2 KiB per result and a 16 KiB tool-evidence block (smaller under small context budgets). Preserve early context and recent attempts, deduplicate repeated part identities and label omissions.
  • Limit generated summaries to 8 KiB UTF-8, types to 64 bytes and tags to eight 64-byte values. Oversized responses use existing fallback/retry; raw update rewrites over 8 KiB add the bounded draft without changing the existing memory.
  • Exclude attachments, arbitrary metadata, synthetic/ignored parts and compaction summaries. No new raw-log store, extra verification model, configuration setting or historical migration.

These are partial excerpts, and model summaries can still be wrong. Update rewrites are size-checked before shared-client redaction, so replacement text can expand a rewrite beyond that initial 8 KiB check. Existing external-provider history retains requests and raw responses before capture validation; separate attempts remain until existing cleanup runs (seven-day default expiry). This does not bound raw provider responses or total database size, and deleting rows need not shrink database files.

Test plan

  • Exercised the change locally (or N/A for docs/meta-only)
  • Noted any follow-up or known limitations

Validation was completed in an isolated Linux cloud checkout at 17c4eb7708d460d1afc302f7968e39a08c69dc29. The exact tested patch was transferred unchanged for publication; tests were not rerun on the publishing desktop.

  • Focused capture tests: 31 passed, zero failures; 110 assertions.
  • bun test --timeout 30000: 1,162 passed, four platform-specific skips, zero failures; 8,464 assertions across 156 files.
  • bun run build, bun run check and patch-apply checks passed.
  • Synthetic persistence checks cover failure/recovery evidence, privacy across V2 block boundaries, bounded output, oversized rewrites and repeated-output/provider-history growth and cleanup. Controlled responses test wiring; illustrative summaries do not certify a configured provider.
  • Default five-second profile-runtime timeouts reproduced on untouched upstream; unrelated timeout settings are unchanged. No Windows/macOS or live-provider validation is claimed.

Checklist

  • Branch is based on main (do not open PRs from commits already on main)
  • bun test passes (or N/A)
  • bun run typecheck passes (or N/A)
  • bun run check passes (format + lint + typecheck; or N/A)
  • Docs / README updated when behavior or contribution process changes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Phototonic
fix(capture): ground summaries in bounded tool outcomes
455d762
@Phototonic
Phototonic marked this pull request as ready for review November 3, 2026 23:11
@EyJunge1
EyJunge1 merged commit 192f011 into tickernelz:main Nov 4, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@EyJunge1 EyJunge1 mentioned this pull request Nov 4, 2026
chore(release): release v2.41.0 #489
Merged
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Phototonic @EyJunge1
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.