Repository navigation
refactor: give shared policy one owner - #101
Merged
Merged
Conversation
Consolidate shared rules, retire unused paths, and preserve caller-specific behavior across indexing, queries, runtime, web, tooling, and the team service. Include regression fixes and the approved comment and test cleanup passes.
Preserve shared graph DTOs while carrying Explorer overflow metadata. Keep the newer compounding reply handling and the existing rzm resolver. Regenerate the managed client from its canonical template. Validated with make verify, make check, init convergence, documentation checks, and an independent integration review.
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
Shared policy lived in separate CLI, runtime and browser implementations, so one change could require coordinated edits and silently drift. Two untangle passes give those rules common owners, remove unused paths, and preserve the existing subsystem boundaries.
The first pass covers 46 approved groups; the second covers 30 remaining groups plus defects found during verification. First-pass evidence and second-pass evidence record the decisions and retained differences.
Evidence
make verifyand finalmake checkpassed, including race/integration coverage, 1,968 web unit tests, ten supervisor tests and 121 browser tests. Late platform corrections also passed focused checks, Windows test cross-compilation and the Windows CI unit suite.Merge Danger
Door: two-way. No schema or data migration.
Blast Radius: broad. Indexing, query/view reads, CLI/web contracts, lifecycle, tooling and the team service are affected. Intentional graph, preview, Markdown, scheduling and adapter differences remain. Removed unused Go exports may require migration in consumers outside this repository; those consumers were not inspected. No merge, deployment or production installation is included.
Latest main (
60b4892e) is merged into this branch. Conflict resolutions retain the shared graph response owner with Explorer overflow fields, combine the ontology guidance, and keep main's valid-reply-after-EPIPE behavior with the existing CLI resolver. Managed files were regenerated through init and verified to converge.make verifyandmake checkpassed after the merge, including 1,968 web tests and 121 browser tests. Documentation validation and frozen-scope checks passed. The independent merge integration review found no actionable issues.Reviewed with sol-loop: 2 first-pass rounds with GPT-6.1 Sol (xhigh). Sol verdict: approved. Second-pass integration reviews also found no actionable issues.
Greptile CLI returned 5/5 with zero comments on
2c34dfc5e492502c798b6f3a68553e4486f6f7c4. All 22 CI checks passed on this head.Created with GPT-6.1 Sol in Codex (T3 Code), including GPT-6.1 Sol implementation subagents.