Repository navigation
Hyperworld Builder HGW-02: nested beliefs, secret AIocracy endings and phase cascades - #19
Open
patrickdugan wants to merge 15 commits into
Open
patrickdugan wants to merge 15 commits into
patrickdugan wants to merge 15 commits into
Conversation
…reusable builder skill
… effects and frozen baseline
…lay compatibility
Comment on lines
+16
to
+36
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.11' | ||
| - name: Exact posterior, perception and source-isolation tests | ||
| run: python -m unittest discover -s codex-skills/hyperworld-builder/tests -p 'test_*.py' -q | ||
| - name: Original StoryworldBuilder validation contract | ||
| run: python codex-skills/storyworld-building/scripts/sweepweave_validator.py validate storyworlds/cairo_directorate_hyperworld/storyworld.json | ||
| - name: Rebuild authored export from the frozen generator | ||
| run: python codex-skills/hyperworld-builder/scripts/build_hyperworld.py --out-dir "$RUNNER_TEMP/cairo_rebuilt" | ||
| - name: Compare exact generated public fixtures | ||
| run: | | ||
| cmp "$RUNNER_TEMP/cairo_rebuilt/storyworld.json" storyworlds/cairo_directorate_hyperworld/storyworld.json | ||
| cmp "$RUNNER_TEMP/cairo_rebuilt/hyperworld_manifest.json" storyworlds/cairo_directorate_hyperworld/hyperworld_manifest.json | ||
| cmp "$RUNNER_TEMP/cairo_rebuilt/demo_public_replay.json" storyworlds/cairo_directorate_hyperworld/demo_public_replay.json | ||
| cmp "$RUNNER_TEMP/cairo_rebuilt/demo_secret_witnesses.json" storyworlds/cairo_directorate_hyperworld/demo_secret_witnesses.json | ||
| - name: Verify immutable HGW-02 episode rows and allowlisted HGW-03 source changes | ||
| run: python codex-skills/hyperworld-builder/scripts/rehearse_hyperworld_phase.py --out-dir storyworlds/cairo_directorate_hyperworld/rehearsal_phase_v02 --check-compatible |
This branch has not been deployed
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.
HGW-02: secret endings, nested social inference and consensus phase shifts
This PR extends GPTStoryworld's fictional Cairo Directorate Hyperworld (Nūr, six fictional institutional principals, two personified public constituencies). It builds on the repo's StoryworldBuilder skill and preserves SweepWeave pValue
[property,target]and p2Value[property,believer,target]pointer semantics.Frozen registration: commit
a2f21f8, before the 48-root HGW-02 full development rehearsal. The 48 roots (1200–1247) were previously used in HGW-01, so this is descriptive development evidence, not sealed or independent confirmation.Mathematics and gameplay
Fractionposterior. The 48 base trait entries, 336 directed pValues and 2016 p2Values are dependent projections of that posterior and do not add independent factors.supporters/8order parameter. A single toy link can change modeled support from 2 to 8 under the registered public-development example.appeal,convene,sever,resonance,snap_vote. All are fictional high-level council dialogue/graph moves with explicit phase feedback. Each independent testimony response has a separate provenance root; recycled claims cannot mint fresh evidence.secret_aiocracy_consensus_snap,secret_mirror_majority,secret_constitutional_tripwire,secret_civic_counterphase. Human council votes, public assent and enforceable recall are adjudicated independently from modeled group consensus.Reproducible checks and public development evidence
ac0b7963defe6755bbdb6e2ab8f5efb29dee22ac0488d6e8d57762d23d526d9d.--checkregenerates the same CSV and source-hashed summary byte-for-byte.--policy snap|civicCLI, andreferences/TOPOLOGY_SECRET_ENDINGS.md.exact-narrativeCI passed for commitc50e009; concurrent workflows and aggregate CodeQL status should be inspected separately.Boundaries
All characters, audience segments, institutions and rules are fictional; no real officers, surveillance systems, susceptibility estimates or operational intelligence methods are modeled. p/p2 values are bounded perceived-property scores, not statistical hypothesis-test p-values. The exact Python engine is canonical for secret gates, posterior updates and human votes. SweepWeave JSON remains a narrative shell requiring a verified runtime adapter to play identical dynamic verdicts. No frontier-model success or real-world persuasion claim is made.
Playable demo:
python codex-skills/hyperworld-builder/scripts/play_hyperworld.py --seed 0 --auto --policy snap --show-lockedFull check:
python codex-skills/hyperworld-builder/scripts/rehearse_hyperworld_phase.py --check --workers 4