Repository navigation
Conversation
…ow the fact it answers (GBRA-574 B5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…f (GBRA-574 B5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
Review-Finding: p1/specialist-batched#2 reader=red-team Review-Finding: p1/specialist-batched#3 reader=testing Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…term overlap should not pair (GBRA-574 B5) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…match (GBRA-574 B5) A cue a word or two after not, never, no or an n't contraction no longer pairs, and a retraction pairs on words only when all of its words are in the fact or it shares two with it. The same-slot path is unchanged. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
capy-ai Bot
added a commit
that referenced
this pull request
Nov 17, 2026
…only folders; owner agents read more private facts; retractions shown with facts; silent Postgres connections freed; unzip-free install; 5 flaky tests; macOS helper pre-merge rule (#9627) Eight changes land together: this branch holds the seven pull requests listed with it, each merged unchanged, and its tree is the one the full test runs passed on. - Held private facts (#9645, GST-2900): a private fact that an agent restated as world, and that waits for the owner's accept, stays hidden from callers who cannot read the private copy in think, in the reply to the held write, and when the restatement is written onto another page about the same entity. A credential with a private-facts grant reads held rows again on page reads and search when it can read every copy the row restates. Known, not fixed here: recall, query, entity and context_pack still show a held row to such a grant, and a member reads a held row on its own page. - Untrack (#9640, GST-2964): `gbrain git commit-push --untrack` in a managed checkout takes every tracked file under a declared, ignored database-only folder, .json included, and refuses any file whose untracking would let the next sync delete a page. On PGLite, stop a running `gbrain serve` or sync first, because every managed untrack now reads the brain. - Owner reads (#9643, GST-2951): the brain owner's own remote agents see the owner's private facts on the entity card, in the facts search and query attach, in the list of facts saved without an entity, and in forget's similar-facts check. Every other caller reads what it read before. - Retractions (#9633): the facts block shows a later fact from the same source that takes an earlier one back, right after the fact it answers and with its own date. - Postgres connections (#9644): a discarded connection frees its pool slot when the server or pooler has gone silent, and the job worker survives a server that refuses connections while shutting down. Reported and first fixed by @javieraldape (#9624). - Install guides (#9642, GST-2970): every install guide says Bun's installer needs unzip and gives a tested route for machines without it. - Flaky tests (#9626): five tests no longer depend on the clock, query order, a 1 ms lease or a reused port; one was a real bug where a large `gbrain capture --file` could name one day in its slug and the next in its receipt. - Pre-merge check (#9627): the check accepts the macOS helper's Swift files, which build and test only on a Mac; every other changed file still needs a Linux test run. Supersedes #9624 Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-authored-by: javieraldape <6430563+javieraldape@users.noreply.github.com> Co-authored-by: garrytan <garrytan@gmail.com>
Contributor
This was referenced Nov 17, 2026
Merged
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.
When the facts block shows a fact, it now also shows a later fact from the same source about the same entity that takes it back or calls it off ("that trip fell through", "I was wrong about…"), right after the fact it answers and with its own date.
Why: answers kept stating plans and claims the user had later cancelled, because the cancellation never made it into the context.
Nothing to do: this is a read-side change only, with no new setting, and dev can't measure it, so the sealed run decides.
How a retraction is found
saved-facts-match.ts(now exported, value unchanged) plus rumour/rumor, called off, cancelled/canceled, fell through, not happening, never happened, no longer planned. The list is not configurable.Tests
Tests are in
test/facts-block-retractions-gbra574.test.tsand its Postgres armtest/e2e/facts-block-retractions-gbra574-postgres.test.ts.Five tests fail before the fix and pass after it:
Six guards cover cases the code must never change. Breaking the code on purpose makes each one fail:
Precision tests (commit 04c265d, red before e7822ab and green after):
laterRetractionsand in the rendered blocklaterRetractionsand in the blockGuards that stay green, and that fail when their rule is removed on purpose: "the trip fell through" pairs (all its words are in the fact), a two-word overlap pairs and moves under its fact once, and "not happening", "never happened" and "no longer planned" still pair.
Agent notes
GBRA-574 B5, approved by GBRA-108 ("go B5") under Garry's letter E. The ready block will say "dev can't measure this; the sealed run decides". Notes for review: