Repository navigation
Rank far-future facts by when they were written, keep one fundraise tag per deal, and refuse hidden remember item keys (GST-3170) - #9833
Merged
Conversation
…s (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…els into fundraise (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… reads (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…aces too (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ll commands, no crash line on inspect, doctor re-checks the host skill list Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… so every reader sees the old value end (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…of failing the write (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…es and Postgres arm in their inventories (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…-running full setup Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…L.C. as LLC; judge restricted pages in the engine scope (GST-3127) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…he scoped check Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…y lets it load; bound doctor's skills list probe at 20 s Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…olicy lets the plugin load Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…tials never read as a title Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…blish at once, keep the newest-first fact scans on their index, and stop folding runway, loan and target labels into fundraise (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ng does The owner-only tests built their engines without the connect-time version read, so on a snapshot-restored PGLite or a cloned Postgres brain the restricted-page check fell back to treating every page as owner-only. The two new owner-only tests also wrote the source config as a JSON string on Postgres; they now write a real JSON object. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…w each reader's trust floor and access, so they go to a follow-up (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…art instead of matching or merging it, and keep managed imports as read (GST-3170) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
…approved Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ules at their previewed prefix Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…6143) The race hunt planned each shard at 55 minutes of tests while the shards of the 2026-11-19 nightly took 30 to 45 minutes with setup, so the 3-iteration floor filled long before the runners did. Re-mine the stress iteration weights from that night's 24 shard logs, and schedule the files listed in test/postgres-unit-arms.txt before the importers of changed helpers, so a widely imported helper can no longer push listed arms out of the night. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… comment (193, not 167) Review-Finding: p1/red-team#1 reader=red-team Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…claw-skill-resolver-followups
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…claw-skill-resolver-followups
…claw-skill-resolver-followups
…ip-nul-page-writes
…page writes strip U+0000 Frontmatter parsing now removes U+0000 for page writes, which also reached two readers that must not change: - Rename identity (S-51) read a frontmatter title holding U+0000 with the character removed. Such a title reads as no value again, so the pair takes the unconfirmed-rename path and never matches a page with the plain title. A lone surrogate still reads as no value, as before. - The skill resolver's module graph gained src/core/text-safe.ts through data-frontmatter.ts. The helper now lives in data-frontmatter.ts itself, so the resolver loads exactly the modules it loaded before. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ip-nul-page-writes
garrytan
added a commit
that referenced
this pull request
Nov 20, 2026
garrytan
added a commit
that referenced
this pull request
Nov 20, 2026
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.
Newest-first fact reads no longer let a fact dated years ahead hold the top of the list, the fact extractor files a deal's round amounts under one
fundraisetag, and a narrower tool surface can no longer pass a hiddenrememberparameter inside anitemsentry.Why: these three fact-quality fixes from GST-3170 make entity facts, recall and the deal trajectory honest, and close a gap in starter-surface confinement.
Nothing to do for users; nothing re-extracts and stored facts keep their labels.
What changed
valid_fromis in the future by itscreated_at. The single-entity reads (listFactsByEntity, the relevance pool's active entity arm) run as two index-ordered branches merged in SQL. On a 100k-fact entity a plainCASEsort measured 28 ms against 0.05 ms for the index scan, and the split keeps the index scan. The multi-entity reads (= ANY) sorted anyway on master.normalizeExtractedMetricLabelfolds the extractor's round and deal-amount labels (seed_round,series_a,round_size,deal_amount_usd) intofundraise. Valuation, share price, cap, ownership, count, runway, loan, interest and target labels never fold, and Facts-fence labels are kept as written. The extractor's system prompt is byte-identical (its pinned hashes pass).itemParamKeysholds eachitems[]key of remember to the same surface check as a top-level parameter, in bothparamNotOnSurfaceand the dispatch render check, refused withparam_not_on_surface"(in an item)".Scope and what moved to the follow-up
Tests
test/facts-future-valid-from-gst3170.test.ts(PGLite and Postgres, listed in test/postgres-unit-arms.txt): red on master.test/facts-extract-deal-metric-gst3170.test.ts: folds and never-folds, red without the extractor change.test/surface-param-confinement-9669.test.ts: a starter client's typed-claim key insideitems, red without the src/mcp change.test/import-hidden-rows-gst3170.test.ts: red when the active-row filter is removed.Agent notes
VERIFY: clean briefs=5 outputs=5. All CRITICAL findings were about stored slot ends, which this PR no longer carries. The index cost and the over-broad label fold were fixed in the one fix round. Left as notes: per-itemcontent_originis refused on starter as at the top level since Remote read-only starter clients can read soft-deleted pages via include_deleted (fullSurfaceOnly param not enforced) #9669, though the batch hint lists it; acquisitiondeal_sizelabels fold rarely.