Research resources

Exact guarded connector release protocol

This replaces the old packaged push.py as the actionable route. The archive and packaged historical driver are immutable; the driver is not invoked. The new wrapper is ../../provenance/source-cb8843f6b97ec405.html. It makes no network call. AWS operations remain through the official connector. The coordinator is trusted to execute only the emitted exact request once; filesystem custody does not constrain a hostile same-UID operator or authenticate Ed.

Current actual state is UNCONSUMED. The only native cloud command used in this preflight was the earlier read-only host check. No consume, upload or deploy command was performed outside disposable tests.

After independent acceptance and Ed's exact successor GO

  1. Run python3 ../../provenance/source-cb8843f6b97ec405.html plan. This verifies the exact archive/metadata and emits the fixed read-only preflight_request. Through mcp__aws_mcp__aws___run_script, call SSM SendCommand once with that request in us-east-1; poll that read-only command using GetCommandInvocation until terminal. Save { "request": <the exact request>, "response": <actual native GetCommandInvocation return_value> } privately as fresh_preflight.json. The response must establish ARM64, active service, exact current4face, successor absent, installed hashes and health. The wrapper rejects mismatched/stale/future/failed evidence; maximum age300seconds.

  2. Execute the one local claim before any upload or deployment send:

python3 ../../provenance/source-cb8843f6b97ec405.html consume --evidence ../../provenance/source-dded59b6e4ea96a2.html

An atomic candidate-specific directory claim is durable before intent emission; even a crash before the intent file leaves the release consumed UNKNOWN. The output binds archive, metadata, wrapper SHA, target, prior release, fresh preflight hash, region, S3 location, random nonce and exact SSM request/command hash. All repeated or overlapping consume calls refuse. The actual fixed state root is operator_state/6e3b2640a57b2278; the CLI cannot select another root. Never delete/rename it to retry.

  1. Only on successful consume, use mcp__aws_mcp__aws___get_presigned_url with operation upload, region us-east-1, and the exact bucket/key emitted in intent.upload. Upload the exact pinned local archive once by HTTP PUT to that signed URL; do not log the signed URL in public artifacts. No local AWS CLI is used. A failed or ambiguous upload ends this attempt as consumed UNKNOWN and does not authorize a retry.

  2. Use mcp__aws_mcp__aws___run_script to call ssm.SendCommand once with the exact send_command_request emitted by consume. The command independently rechecks current4face and successor absence before mutation and verifies archive SHA before extracting/running the existing installer. Save the native SendCommand return_value as native_send.json, then bind it:

python3 ../../provenance/source-cb8843f6b97ec405.html ack --evidence ../../provenance/source-834d4d3bdf8fe2e9.html

The response must match exact instance/document/comment nonce/parameters and valid command ID. Raw responses are retained exclusively; a malformed/mismatched response leaves UNKNOWN. Missing/timeout/error after submission never triggers another send. Use the nonce/comment to locate late native evidence through read-only ListCommands if needed, then acknowledge the original exact request. Do not generate another request.

  1. Poll only the acknowledged command ID with native SSM GetCommandInvocation, save its native return_value to a new evidence file, and reconcile:
python3 ../../provenance/source-cb8843f6b97ec405.html reconcile --evidence ../../provenance/source-a2035b49726c8cad.html

Pending/InProgress/Delayed returns exit75 with poll-only status. Failed/Cancelled/TimedOut/Cancelling returns nonzero; malformed/foreign response, contradictory success or missing exact HOST_ACCEPTED marker returns2 and remains unresolved. Success requires native Success, integer response0 and exact release/stamp marker. The immutable terminal receipt can never be overwritten. Even success means command completion only: independent host/public acceptance and final handback remain required.

status emits status/command identity only, not a new send request. A consumed UNKNOWN or acknowledged attempt can be reconciled with later evidence but never resubmitted automatically. The existing installer rollback behavior and guarded explicit post-success rollback in GO_PACKET.md remain separate. Do not erase a failed install to retry this release.

Qualification

OPERATOR_TESTS.json records19 networkless cases: success, terminal failures including CLI exit, after-send lost response, repeat, concurrent atomic claim, crash between claim/intent, archive/metadata drift before and after claim, stale/future/wrong-prior preflight, invalid/wrong payload acknowledgment, duplicate acknowledgment, pending poll, foreign invocation, invalid status/missing success marker, terminal overwrite refusal, legacy attempt refusal and duplicate JSON keys. Tests use isolated temporary state and injected native responses; no cloud operation or upload occurs. Independent review must inspect this actual protocol as well as code.

Complete public source text and line addresses
# Exact guarded connector release protocol

This replaces the old packaged push.py as the actionable route. The archive and packaged historical driver are immutable; the driver is not invoked. The new wrapper is `../../provenance/source-cb8843f6b97ec405.html`. It makes no network call. AWS operations remain through the official connector. The coordinator is trusted to execute only the emitted exact request once; filesystem custody does not constrain a hostile same-UID operator or authenticate Ed.

Current actual state is UNCONSUMED. The only native cloud command used in this preflight was the earlier read-only host check. No consume, upload or deploy command was performed outside disposable tests.

## After independent acceptance and Ed's exact successor GO

1. Run `python3 ../../provenance/source-cb8843f6b97ec405.html plan`. This verifies the exact archive/metadata and emits the fixed read-only `preflight_request`. Through `mcp__aws_mcp__aws___run_script`, call SSM SendCommand once with that request in us-east-1; poll that read-only command using GetCommandInvocation until terminal. Save `{ "request": <the exact request>, "response": <actual native GetCommandInvocation return_value> }` privately as `fresh_preflight.json`. The response must establish ARM64, active service, exact current4face, successor absent, installed hashes and health. The wrapper rejects mismatched/stale/future/failed evidence; maximum age300seconds.

2. Execute the one local claim before any upload or deployment send:

```sh
python3 ../../provenance/source-cb8843f6b97ec405.html consume --evidence ../../provenance/source-dded59b6e4ea96a2.html
```

An atomic candidate-specific directory claim is durable before intent emission; even a crash before the intent file leaves the release consumed UNKNOWN. The output binds archive, metadata, wrapper SHA, target, prior release, fresh preflight hash, region, S3 location, random nonce and exact SSM request/command hash. All repeated or overlapping consume calls refuse. The actual fixed state root is `operator_state/6e3b2640a57b2278`; the CLI cannot select another root. Never delete/rename it to retry.

3. Only on successful consume, use `mcp__aws_mcp__aws___get_presigned_url` with operation `upload`, region us-east-1, and the exact bucket/key emitted in intent.upload. Upload the exact pinned local archive once by HTTP PUT to that signed URL; do not log the signed URL in public artifacts. No local AWS CLI is used. A failed or ambiguous upload ends this attempt as consumed UNKNOWN and does not authorize a retry.

4. Use `mcp__aws_mcp__aws___run_script` to call `ssm.SendCommand` once with the exact `send_command_request` emitted by consume. The command independently rechecks current4face and successor absence before mutation and verifies archive SHA before extracting/running the existing installer. Save the native SendCommand return_value as `native_send.json`, then bind it:

```sh
python3 ../../provenance/source-cb8843f6b97ec405.html ack --evidence ../../provenance/source-834d4d3bdf8fe2e9.html
```

The response must match exact instance/document/comment nonce/parameters and valid command ID. Raw responses are retained exclusively; a malformed/mismatched response leaves UNKNOWN. Missing/timeout/error after submission never triggers another send. Use the nonce/comment to locate late native evidence through read-only ListCommands if needed, then acknowledge the original exact request. Do not generate another request.

5. Poll only the acknowledged command ID with native SSM GetCommandInvocation, save its native return_value to a new evidence file, and reconcile:

```sh
python3 ../../provenance/source-cb8843f6b97ec405.html reconcile --evidence ../../provenance/source-a2035b49726c8cad.html
```

Pending/InProgress/Delayed returns exit75 with poll-only status. Failed/Cancelled/TimedOut/Cancelling returns nonzero; malformed/foreign response, contradictory success or missing exact HOST_ACCEPTED marker returns2 and remains unresolved. Success requires native Success, integer response0 and exact release/stamp marker. The immutable terminal receipt can never be overwritten. Even success means command completion only: independent host/public acceptance and final handback remain required.

`status` emits status/command identity only, not a new send request. A consumed UNKNOWN or acknowledged attempt can be reconciled with later evidence but never resubmitted automatically. The existing installer rollback behavior and guarded explicit post-success rollback in GO_PACKET.md remain separate. Do not erase a failed install to retry this release.

## Qualification

OPERATOR_TESTS.json records19 networkless cases: success, terminal failures including CLI exit, after-send lost response, repeat, concurrent atomic claim, crash between claim/intent, archive/metadata drift before and after claim, stale/future/wrong-prior preflight, invalid/wrong payload acknowledgment, duplicate acknowledgment, pending poll, foreign invocation, invalid status/missing success marker, terminal overwrite refusal, legacy attempt refusal and duplicate JSON keys. Tests use isolated temporary state and injected native responses; no cloud operation or upload occurs. Independent review must inspect this actual protocol as well as code.