Skip to content

v1.79.1.0 Make setup, sessions, and GBrain sync fail closed - #2758

Closed
armandovargash wants to merge 15 commits into
garrytan:mainfrom
armandovargash:codex/fail-closed-gbrain-readiness
Closed

v1.79.1.0 Make setup, sessions, and GBrain sync fail closed#2758
armandovargash wants to merge 15 commits into
garrytan:mainfrom
armandovargash:codex/fail-closed-gbrain-readiness

Conversation

@armandovargash

@armandovargash armandovargash commented Sep 1, 2026

Copy link
Copy Markdown

No description provided.

@trunk-io

trunk-io Bot commented Sep 1, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

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

@armandovargash

Copy link
Copy Markdown
Author

@codex review

@armandovargash

Copy link
Copy Markdown
Author

@codex review\n\nFollow-up fixes at f69c13d: resolver repair cooldown is source-scoped across fingerprints and migrates the newest legacy receipt to avoid a repeat on upgrade. Please review the exact head.

armandovargash and others added 10 commits September 1, 2026 17:55
Two hooks, both pull-mode, because gbrain's push lane needs a single-process
PGLite engine and a shared brain cannot be one.

session-start-hook puts the governing state in front of the agent before it
guesses: the active goal, work that only exists on this disk, and the pointer
to the factory map. On 2026-09-01 and twice on 2026-09-03 agents opened a
session, read a stale file instead of the running system, and handed the CEO
confident wrong diagnoses. The brain held the right answer every time and
nothing made them look.

skill-router-hook matches the user's own words against every skill's declared
triggers on each message and names the skills that own the request. The
routing contract already says to do this by hand; an agent that forgets to
look routes on vibes. Triggers are declared in English, so the matcher also
carries the Spanish phrasings this user actually types — "ponte al día",
"se rompe", "vale la pena" — widening the haystack, never replacing his text.

Both stay silent when nothing matches, never block a turn, and never spend on
a model. They surface candidates; the agent still decides.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
docs/operations holds twenty-three memos and the open issues carry the
decided design. On 2026-09-04 a session spent five hours rebuilding, from
arxiv, a conclusion the 2026-07-08 coverage-ontology memo had already reached
from the same sources: SBA, HBS/Sahlman, Business Model Canvas, NAICS, Steve
Blank, Lean Startup, W3C PROV, FAIR, GOV.UK. The work was not missing. Nobody
looked, because nothing said it was there.

The start hook already named the factory map. It now also names the memo
directory with its file count and tells the agent to search open issues before
concluding a design is undecided.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions github-actions Bot changed the title Fail closed when GBrain call graphs are partial v1.79.1.0 Fail closed when GBrain call graphs are partial Sep 4, 2026
@armandovargash armandovargash changed the title v1.79.1.0 Fail closed when GBrain call graphs are partial v1.79.1.0 Make setup, sessions, and GBrain sync fail closed Sep 4, 2026
@armandovargash

Copy link
Copy Markdown
Author

/trunk merge

@trunk-io

trunk-io Bot commented Sep 4, 2026

Copy link
Copy Markdown

An error occurred while submitting your PR to the queue: Only users that are a part of this repo's Trunk organization or have write permissions to the repo can submit a PR to the queue

@armandovargash
armandovargash deleted the codex/fail-closed-gbrain-readiness branch September 4, 2026 17:47
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.

1 participant