Skip to content

Add local notification candidate review-plan builder - #539

Merged
Pigbibi merged 1 commit into
mainfrom
dot/schwab-local-candidate-plan-b-20261017
Oct 17, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
dot/schwab-local-candidate-plan-b-20261017

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Reviewing a notification-only candidate currently requires reasoning about which fields may differ from an explicitly selected baseline. Add a pure local builder and tests that require matching caller-supplied snapshots, preserve protected fields and routes, and allow only the explicit revision identity and primary image digest to differ.

The CLI reads an explicitly supplied synthetic schwab-local-review-v1 envelope and returns deterministic, redacted review JSON. Unknown fields, snapshot drift, invalid protected runtime settings and unexpected candidate differences stop the review. It reuses the applicable pure A validators without manufacturing provenance or calling the full admission check.

Scope is exactly two new files:

  • scripts/build_schwab_notification_revision_plan.py
  • tests/test_build_schwab_notification_revision_plan.py

Independent review at 1fb1cafa14c5d2f1e8e7c0a34a225b9cd5c3a737, tree a0fc106ed5f8af995029466e393889990ea982ad: PASS_WITH_NOTES, no confirmed blocking defect. Reviewer ran the original B suite (237 passed), original A suite (286 passed), Ruff, 38 additional synthetic checks and a direct script invocation without PYTHONPATH. Original disk CLI tests remain intact; external fake executable calls were zero. All 258 pre-existing tracked file blobs and modes remain unchanged, including workflows, manifests and business configuration.

The notes describe the intended boundary: this closed synthetic model is not a native Cloud Run resource, environment literals remain opaque, and caller-provided snapshot consistency is not live CAS or cloud/source/admission proof. Output stays review_only, deployment_ready=false, old_installation=UNKNOWN, and startup_side_effects=UNVERIFIED. No deployable configuration or execution script is emitted. No publisher wiring, deployment workflow, dependency pin, runtime setting, notification/trading flag, permission or Secret change is included.

Validation also requires the existing natural PR CI and, after an exact-head squash merge, the natural main CI. This code does not authorize or perform a production deployment.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi marked this pull request as ready for review October 17, 2026 12:25
@Pigbibi
Pigbibi merged commit 463e6c9 into main Oct 17, 2026
1 check passed
@Pigbibi
Pigbibi deleted the dot/schwab-local-candidate-plan-b-20261017 branch October 17, 2026 12:26
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