Repository navigation
Conversation
mvanhorn
force-pushed
the
fix/1644-office-hours-verify-premises-against-codebase
branch
from
May 27, 2026 14:05
45d11ca to
49d9ab2
Compare
time-attack
pushed a commit
to time-attack/gstack
that referenced
this pull request
Jul 14, 2026
Contributor
|
@16francej — recommend closing this PR because #973 supersedes this older implementation and owns the current office-hours work. It conflicts with the newer office-hours source layout, and its tests do not establish grounded codebase reads. Please credit its Codebase Surface idea and carry the grounded-read requirements into #973. |
Contributor
Author
|
Closing — superseded by #973. Thanks @time-attack! |
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.
Summary
Updates
/office-hoursso it verifies design-doc premises against the codebase before producing review output. Previously the skill could green-light a doc that named files/functions that did not actually exist.Why this matters
Issue #1644 reported three concrete cases where /office-hours signed off on design docs whose premises were stale: (1) a doc referencing a function that had been renamed two releases ago, (2) a doc relying on a flag that had been removed, (3) a doc claiming an architectural property that was no longer true. Each case wasted reviewer time because the LLM happily reasoned about premises that were already wrong.
Changes
office-hours/SKILL.md.tmpladds a Premise Verification step that grep/codesearch checks every named file path, function, class, flag, and module against the active workspace## Premise VerificationsectionTesting
Added
test/office-hours-premise-verification.test.ts. 3/3 pass.Fixes #1644