PE hyperstack: codemode iron laws - no grep-shimming, no re-reads - #126
Merged
Merged
Conversation
User feedback: (1) programmatic extraction was over-shimming - greps were substituting for reads of files whose behaviour gets asserted later; (2) files already loaded in context were being re-read after phases done. Same fix pattern as the inline-only fix: state each rule at Iron Law salience, then reinforce in the loading discipline, the programmatic-first boundary, Phase 2, and the post-loading iron rules.
KailasMahavarkar
added a commit
that referenced
this pull request
Jul 18, 2026
…rsona refs, trigger dedup, changelog (#135) Deep coherence pass over the whole system after #126-#134: - skills/hyperstack/SKILL.md: stale 3-persona Layer 4 table KILLED (not updated - updating recreates the drift class); replaced with pointer to the manifest-compiled registry - README: Three-Layer -> Four-Layer Framework; Layer 4 Personas section added; Product & Growth plugin row added; tool count corrected 80 -> 118 (measured by registering all 16 plugins against a counting mock) - summary.md: four-layer phrasing - reflect manifest: 12 overlapping trigger phrasings deduped to 5 canonical (bootstrap 11224 -> 11011 chars) - CHANGELOG: [Unreleased] block covering all 9 unreleased feature PRs - release debt now visible instead of silent Verified live during the pass: audit harness clean (0 major-behind, 0 lint findings), all 5 platform manifests consistent at 1.3.2, Dockerfile persona-absence is not a bug (server runtime never loads personas - compile-time only). 87 tests pass, tsc clean. Known-and-deliberate: ghcr :main image stale while Actions stay disabled; release pin to 1.4.0 left as an explicit user decision.
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.
Codemode had two context-discipline failures observed in live runs: greps were shimming in place of reads for files whose behaviour later gets asserted, and already-loaded files were being re-read after the phases completed. Both are the same failure class as the parallel-subagent bug fixed in #120 - a rule stated once in body prose does not hold. This applies the proven #120 fix pattern: Iron-Law salience plus repetition through the body.
Changes
GREP FOR INVENTORY, READ FOR UNDERSTANDINGandNEVER RE-READ WHAT IS ALREADY IN CONTEXTgit status/git diffevidence of disk change)Before / After
Verification
bun test: 85 pass, 0 fail (821 expects, 13 files)