Refresh production apply authorization SHA
Some checks are pending
CI / lint-and-test (push) Waiting to run

This commit is contained in:
twentyOne2x 2026-07-10 04:33:49 +02:00
parent 3a0c47c83d
commit 48c3b26599
8 changed files with 15 additions and 15 deletions

View file

@ -167,7 +167,7 @@ A working Leo, for Cory/m3taversal's current expectation, is a Telegram-facing a
- `safe_to_enter_apply_window=false` - `safe_to_enter_apply_window=false`
- `production_apply_executed=false` - `production_apply_executed=false`
- `production_apply_authorization_present=false` - `production_apply_authorization_present=false`
- the verifier constructs the exact expected authorization text for deployed SHA `427a9f1a1e114814c750bb3e9e99e3456a6c1539`, but refuses because authorization text and operator identity are absent - the verifier constructs the exact expected authorization text for deployed SHA `3a0c47c83d80a56281461533616397758c111d07`, but refuses because authorization text and operator identity are absent
- Live production preflight baseline is now retained: - Live production preflight baseline is now retained:
- the collector ran on the VPS with `--transport local-docker`, `execute_requested=true`, `mutates_production_db=false`, `applies_production_packet=false`, `production_apply_executed=false`, and `readonly_transaction_wrapper=true` - the collector ran on the VPS with `--transport local-docker`, `execute_requested=true`, `mutates_production_db=false`, `applies_production_packet=false`, `production_apply_executed=false`, and `readonly_transaction_wrapper=true`
- `5/5` preflight SQL files returned `ok=True` - `5/5` preflight SQL files returned `ok=True`

View file

@ -97,7 +97,7 @@ Claim ceiling: VPS Telegram memory/KB audit, full live-safe open-ended Telegram
## WL-EXEC-06B - Integrated production-order packet rehearsal ## WL-EXEC-06B - Integrated production-order packet rehearsal
- Status: `done_integrated_clone_ready_not_executed` - Status: `done_integrated_clone_ready_not_executed`
- Result: Applied the full prepared packet set in one disposable clone in dependency order: mapped base, cross-surface anchor, Rio strategy context, governance/concept schema, and Helmer 7 Powers. Expected integrated footprint was `12` claims, `28` sources, `18` claim edges, `34` claim evidence rows, `1` reasoning tool, `2` Rio strategy nodes, `5` Rio strategy anchors, `1` concept map, `1` concept link, `2` governance links, one Helmer ledger row marked applied, and one cross-surface anchor update. Reverse rollback restored all generated rows/schema to zero/absent, restored the cross-surface anchor to the old claim, restored the Helmer ledger to `approved`, dropped the disposable DB, removed temp files, and left production unchanged. The apply-readiness verifier now passes over the retained manifest/files/logs with `ready_for_authorized_production_apply_packet=true`, `production_apply_executed=false`, and `production_apply_authorization_present=false`. The authorized apply runbook now emits preflight/apply/postflight/rollback command templates in manifest order, a read-only pre-apply production baseline collector, a post-apply regression command bundle, a required production-apply receipt schema, and an offline receipt validator with `status=ready_not_executed`. The authorized apply session plan maps concrete output paths for pre-apply validation, preflight, apply, postflight, post-apply regression, service readback, cleanup readback, receipt validation, and rollback; apply and rollback steps require explicit authorization, non-apply steps are non-mutating, and `production_apply_executed=false`. The production apply authorization packet now passes all evidence gates and retains the operator authorization template plus fresh deployed-SHA requirement while keeping `production_apply_executed=false` and `production_apply_authorization_present=false`. The authorization verifier constructs the exact expected text for deployed SHA `427a9f1a1e114814c750bb3e9e99e3456a6c1539` but refuses the apply window with `safe_to_enter_apply_window=false` because authorization text and operator identity are absent. The receipt assembler now proves no final receipt can be emitted yet: `receipt_ready=false`, `authorization_verified=false`, `all_session_artifacts_exist=false`, `actual_counts_match_expected=false`, and `production_apply_executed=false`. The live production preflight baseline ran through `begin transaction read only` and passed `5/5` with no production apply executed. - Result: Applied the full prepared packet set in one disposable clone in dependency order: mapped base, cross-surface anchor, Rio strategy context, governance/concept schema, and Helmer 7 Powers. Expected integrated footprint was `12` claims, `28` sources, `18` claim edges, `34` claim evidence rows, `1` reasoning tool, `2` Rio strategy nodes, `5` Rio strategy anchors, `1` concept map, `1` concept link, `2` governance links, one Helmer ledger row marked applied, and one cross-surface anchor update. Reverse rollback restored all generated rows/schema to zero/absent, restored the cross-surface anchor to the old claim, restored the Helmer ledger to `approved`, dropped the disposable DB, removed temp files, and left production unchanged. The apply-readiness verifier now passes over the retained manifest/files/logs with `ready_for_authorized_production_apply_packet=true`, `production_apply_executed=false`, and `production_apply_authorization_present=false`. The authorized apply runbook now emits preflight/apply/postflight/rollback command templates in manifest order, a read-only pre-apply production baseline collector, a post-apply regression command bundle, a required production-apply receipt schema, and an offline receipt validator with `status=ready_not_executed`. The authorized apply session plan maps concrete output paths for pre-apply validation, preflight, apply, postflight, post-apply regression, service readback, cleanup readback, receipt validation, and rollback; apply and rollback steps require explicit authorization, non-apply steps are non-mutating, and `production_apply_executed=false`. The production apply authorization packet now passes all evidence gates and retains the operator authorization template plus fresh deployed-SHA requirement while keeping `production_apply_executed=false` and `production_apply_authorization_present=false`. The authorization verifier constructs the exact expected text for deployed SHA `3a0c47c83d80a56281461533616397758c111d07` but refuses the apply window with `safe_to_enter_apply_window=false` because authorization text and operator identity are absent. The receipt assembler now proves no final receipt can be emitted yet: `receipt_ready=false`, `authorization_verified=false`, `all_session_artifacts_exist=false`, `actual_counts_match_expected=false`, and `production_apply_executed=false`. The live production preflight baseline ran through `begin transaction read only` and passed `5/5` with no production apply executed.
- Next action: If production apply is explicitly authorized, use the generated runbook order, run every postflight SQL file, run the post-apply regression bundle, retain the production receipt, and then rerun any user-visible Telegram canary needed for the demo/meeting tier. - Next action: If production apply is explicitly authorized, use the generated runbook order, run every postflight SQL file, run the post-apply regression bundle, retain the production receipt, and then rerun any user-visible Telegram canary needed for the demo/meeting tier.
- Not done condition: Production canonical rows/schema remain unapplied until explicit production apply authorization. - Not done condition: Production canonical rows/schema remain unapplied until explicit production apply authorization.
- Evidence: - Evidence:

View file

@ -46,7 +46,7 @@
], ],
"evidence_paths": { "evidence_paths": {
"direct_claim_score": { "direct_claim_score": {
"bytes": 15659, "bytes": 14730,
"exists": true, "exists": true,
"path": "docs/reports/leo-working-state-20260709/telegram-handler-direct-claim-suite-score-current.json" "path": "docs/reports/leo-working-state-20260709/telegram-handler-direct-claim-suite-score-current.json"
}, },
@ -77,7 +77,7 @@
} }
}, },
"explicit_operator_authorization_text_template": "I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit <DEPLOYED_SHA_READBACK> in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized.", "explicit_operator_authorization_text_template": "I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit <DEPLOYED_SHA_READBACK> in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized.",
"generated_at_utc": "2026-07-10T02:04:20.678937+00:00", "generated_at_utc": "2026-07-10T02:32:40.085769+00:00",
"mode": "production_apply_authorization_packet_not_executed", "mode": "production_apply_authorization_packet_not_executed",
"next_non_user_action_after_authorization": [ "next_non_user_action_after_authorization": [
"Re-read deployed SHA, service state, and production preflight baseline.", "Re-read deployed SHA, service state, and production preflight baseline.",
@ -86,7 +86,7 @@
"Capture service readback, cleanup readback, and production receipt.", "Capture service readback, cleanup readback, and production receipt.",
"Run the offline production receipt validator and retain the validation artifacts." "Run the offline production receipt validator and retain the validation artifacts."
], ],
"packet_generation_git_sha": "45bec0ed84846ae92a53993e5337313014538206", "packet_generation_git_sha": "3a0c47c83d80a56281461533616397758c111d07",
"production_apply_authorization_present": false, "production_apply_authorization_present": false,
"production_apply_executed": false, "production_apply_executed": false,
"ready_to_request_authorization": true "ready_to_request_authorization": true

View file

@ -1,12 +1,12 @@
# Working Leo Production Apply Authorization Packet # Working Leo Production Apply Authorization Packet
Generated UTC: `2026-07-10T02:04:20.678937+00:00` Generated UTC: `2026-07-10T02:32:40.085769+00:00`
Mode: `production_apply_authorization_packet_not_executed` Mode: `production_apply_authorization_packet_not_executed`
Production apply executed: `False` Production apply executed: `False`
Production apply authorization present: `False` Production apply authorization present: `False`
Ready to request authorization: `True` Ready to request authorization: `True`
Authorization gate status: `ready_to_request_explicit_authorization` Authorization gate status: `ready_to_request_explicit_authorization`
Packet generation git SHA: `45bec0ed84846ae92a53993e5337313014538206` Packet generation git SHA: `3a0c47c83d80a56281461533616397758c111d07`
Authorization commit SHA rule: `Use the fresh deployed SHA read back immediately before apply.` Authorization commit SHA rule: `Use the fresh deployed SHA read back immediately before apply.`
## Scope ## Scope

View file

@ -11,9 +11,9 @@
"telegram_visible_post_not_authorized": true "telegram_visible_post_not_authorized": true
}, },
"claim_ceiling": "This verifier only checks whether an authorization string is valid for the current deployed SHA. It does not run SQL, does not mutate production, and does not prove canonical rows were changed.", "claim_ceiling": "This verifier only checks whether an authorization string is valid for the current deployed SHA. It does not run SQL, does not mutate production, and does not prove canonical rows were changed.",
"deployed_sha": "427a9f1a1e114814c750bb3e9e99e3456a6c1539", "deployed_sha": "3a0c47c83d80a56281461533616397758c111d07",
"expected_authorization_text": "I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit 427a9f1a1e114814c750bb3e9e99e3456a6c1539 in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized.", "expected_authorization_text": "I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit 3a0c47c83d80a56281461533616397758c111d07 in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized.",
"generated_at_utc": "2026-07-10T02:08:21.123976+00:00", "generated_at_utc": "2026-07-10T02:32:44.128995+00:00",
"mode": "authorization_verification_only", "mode": "authorization_verification_only",
"next_action_if_verified": [ "next_action_if_verified": [
"Re-run production preflight immediately before each packet phase.", "Re-run production preflight immediately before each packet phase.",

View file

@ -1,12 +1,12 @@
# Working Leo Production Apply Authorization Verification # Working Leo Production Apply Authorization Verification
Generated UTC: `2026-07-10T02:08:21.123976+00:00` Generated UTC: `2026-07-10T02:32:44.128995+00:00`
Mode: `authorization_verification_only` Mode: `authorization_verification_only`
Status: `missing_authorization_text` Status: `missing_authorization_text`
Safe to enter apply window: `False` Safe to enter apply window: `False`
Production apply executed: `False` Production apply executed: `False`
Production apply authorization present: `False` Production apply authorization present: `False`
Deployed SHA: `427a9f1a1e114814c750bb3e9e99e3456a6c1539` Deployed SHA: `3a0c47c83d80a56281461533616397758c111d07`
Operator identity: `` Operator identity: ``
## Checks ## Checks
@ -22,7 +22,7 @@ Operator identity: ``
## Expected Authorization Text ## Expected Authorization Text
I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit 427a9f1a1e114814c750bb3e9e99e3456a6c1539 in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized. I authorize production DB apply for the integrated Working Leo packet set on VPS using deployed commit 3a0c47c83d80a56281461533616397758c111d07 in this order: mapped-rich-base, cross-surface-anchor, rio-strategy-context, governance-concept-schema, helmer-7powers. Run preflight immediately before each phase, run the authorized apply SQL, run every postflight, run the non-posting direct-claim regression and scorer, capture service and cleanup readbacks, validate the production receipt, and do not post Telegram-visible messages unless separately authorized.
## Next Action If Verified ## Next Action If Verified

View file

@ -24,7 +24,7 @@
"rio_strategy_nodes": 2, "rio_strategy_nodes": 2,
"sources": 28 "sources": 28
}, },
"generated_at_utc": "2026-07-10T02:12:31.599618+00:00", "generated_at_utc": "2026-07-10T02:32:47.988484+00:00",
"missing_paths_by_group": { "missing_paths_by_group": {
"actual_counts_path": [ "actual_counts_path": [
"docs/reports/leo-working-state-20260709/production-apply-session-artifacts/actual-after-apply-counts.json" "docs/reports/leo-working-state-20260709/production-apply-session-artifacts/actual-after-apply-counts.json"

View file

@ -1,6 +1,6 @@
# Working Leo Production Apply Receipt Assembly # Working Leo Production Apply Receipt Assembly
Generated UTC: `2026-07-10T02:12:31.599618+00:00` Generated UTC: `2026-07-10T02:32:47.988484+00:00`
Mode: `receipt_assembly_offline` Mode: `receipt_assembly_offline`
Status: `not_ready_missing_or_unverified_session_evidence` Status: `not_ready_missing_or_unverified_session_evidence`
Receipt ready: `False` Receipt ready: `False`