Repository navigation
Reduce repeated instruction loading and fix workflow paths - #404
Merged
Merged
Conversation
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.
Repeated full instruction/reference reads inflate Codex context after the grouped-workspace migration. This change shortens Brain guidance and PRM startup reading, makes environment/stage references conditional, and adds bounded output, resolved-path and completed-phase handoff rules.
The paired Mind change and prepared root update reduce the three maintained AGENTS surfaces from 43,365 to 25,731 bytes (40.7%). This is a static size reduction, not a claim of runtime token or billing savings. PRM's main body falls from 349 to 169 lines; every merge, freeze, review and close-out requirement remains reachable at its applicable stage. Claude delegation and Astra configuration are preserved.
API Changes
Adds
bin/workspace_instructions.py --root <workspace> [--write], which updates recognized root instruction sections and refuses unexpected local edits. Shared instruction paths resolve by repository identity for grouped mains and flat bundles. No scientific library API changes.Validation
PYAUTO_MINDunset for fixture isolation.release validation incomplete: no rehearsal for current source; permitted development shipping only.Activation
Merge together with the paired PyAutoMind PR. Root changes are prepared, not installed on the live workspace: follow
docs/context_efficiency.mdafter both main checkouts advance. The updater preserves local additions and machine-specific HPC instructions.Closes #403.
Paired PR: PyAutoLabs/PyAutoMind#425