Skip to content

Constrain dev-demo summary validation to fail-closed forms - #2855

Merged
benhook1013 merged 2 commits into
codex/gate2-playable-deliveryfrom
codex/phase1-dev-demo-summary
Sep 25, 2026
Merged

benhook1013 merged 2 commits into
codex/gate2-playable-deliveryfrom
codex/phase1-dev-demo-summary

Conversation

@benhook1013

@benhook1013 benhook1013 commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Scope

Phase 1 dev-demo proof-tooling simplification, stacked on #2853. The workflow retains its exact-develop-SHA checkout, image/namespace identity, and LOGIN → PLAY → LOOK smoke gates; this PR changes only the validator and its tests.

  • Accept the one current direct summary-helper invocation and the exact safe login-metadata block; reject unsupported or indirect summary writes.
  • Inspect reachable repository shell helpers recursively and reject transitive summary writes, including credential-bearing output.
  • Parse the embedded bootstrap Python as Python syntax so comments and strings cannot impersonate the required player-bootstrap call.
  • Preserve the canonical summary-helper body check and add negative regressions for direct, nested, variable-rooted, and indirect sinks.

Validation

  • python3 -m unittest dev-tools/validation/test_check_dev_demo_summary.py (36 tests)
  • python3 dev-tools/validation/check_dev_demo_summary.py .
  • bash dev-tools/tests/dev-demo-workflow-contract.sh
  • ruff check dev-tools/validation/check_dev_demo_summary.py dev-tools/validation/test_check_dev_demo_summary.py
  • Python compilation and git diff --check

This is static/local proof only, not live hosted certificate or playable-delivery proof. Document owns Unit 1B/Account admission and Gameplay owns #2853 and #2818; this draft does not change those boundaries. CodeRabbit review remains with Gameplay.

FireMUD LOC impact

Compared cb494b66025a → decfe4556339 (PR merge-base → head).
PR scope: 2 changed files · 422 added textual lines / 581 deleted textual lines.

Section Base LOC Head LOC Δ LOC Change
Overall 560,631 560,472 -159 -<0.1%
 Source 480,925 480,766 -159 -<0.1%
  ↳ Code 220,804 220,743 -61 -<0.1%
  ↳ Tests 260,121 260,023 -98 -<0.1%
 Markdown 53,313 53,313 0 0.0%
 Design 56,080 56,080 0 0.0%
  ↳ Architecture 44,632 44,632 0 0.0%
  ↳ Project management 5,257 5,257 0 0.0%
  ↳ Observability 2,147 2,147 0 0.0%
  ↳ Operator runbooks 579 579 0 0.0%
  ↳ gRPC API documentation 2,023 2,023 0 0.0%
  ↳ Product requirements and user journeys 926 926 0 0.0%
  ↳ Developer workflows 437 437 0 0.0%
  ↳ Other design 79 79 0 0.0%

Rows are hierarchical and overlapping views; do not add them together.
LOC means cloc code lines; blank and comment-only lines are excluded.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 41468938-2d08-40f3-bf33-48c07795b116

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@benhook1013
benhook1013 merged commit 5d31ebf into codex/gate2-playable-delivery Sep 25, 2026
2 checks passed
@benhook1013
benhook1013 had a problem deploying to trusted-hosted-cluster September 25, 2026 06:35 — with GitHub Actions Failure

This branch had an error being deployed

1 failed deployment
trusted-hosted-cluster — decfe455 Deployed Sep 25, 2026 by benhook1013 via Delete Preview Runtime #1269
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant