PE hyperstack: reflect panel mode - every relevant lens at once - #132
Merged
Conversation
Truly generalist reflection: a panel of the lenses the product actually has as customers, not one archetype at a time. - rules/panel-protocol.txt (new, MCP-served): relevance-based assembly (3-5 seated lenses; Sam on every interactive-screen panel), own-voice rule (swappable lines = failed panel), named collisions with a winner per collision for THIS product, blocker vetoes that belong to the CLASS not the seat (accessibility, security/data, compliance/deceptive practice fire even when their natural owner is unseated), one panel call + veto-clearing fix named before highest-leverage fix - reflect_get_panel (new tool, 4th): protocol + shared voice rules + seated lens docs in one call; optional ids scope the panel - SKILL/LIFECYCLE/persona.json/bootstrap bullet wired for panel mode Pressure evidence: devtool pricing page panel seated Kenji+Sandra+Zoe+Sam per protocol, voices stayed distinct, 3 collisions named with winners, Sam's keyboard-trap veto fired; test surfaced the seat-bound compliance veto gap - closed by making vetoes class-owned. 87 tests pass (new get_panel scoping test).
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.
Adds panel mode to reflect: truly generalist reflection - the screen reviewed from every RELEVANT lens at once, each in its own voice, tensions surfaced with winners, blocker classes vetoing. Builds on the 8-archetype roster from #131.
Changes
src/plugins/reflect/snippets/rules/panel-protocol.txtsrc/plugins/reflect/tools/get-panel.tsreflect_get_paneltool (4th): protocol + voice rules + seated lens docs in one call; optionalidsscopeskills/reflect/SKILL.mdpersonas/reflect/{persona.json, LIFECYCLE.md}multi-persona-panelcapability + panel lifecycletests/reflect-behaviour.test.tsKey protocol rules
Pressure-test evidence
Scenario: "get me everyone's read" on a devtool pricing page (card-required free tier, seat pricing, checkout-revealed annual billing, Escape-proof modal, pulsing badge).
Verification
bun test: 87 pass, 0 fail (was 86; +1 panel test)tsc --noEmit: cleanbun run compile:context+skills:index: regenerated