oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

Verdict: the plan is safe but the wrong shape. It treats every unexpected observation as a safety stop, so each unknown costs a full revise-approve-rerun cycle, and 15 unknowns are still listed (plan §12). Attempt 4 will most likely stop again unless that changes.

1. Approach

  • Split stops into two kinds. Safety stops stay hard: wrong account, spend, a VM alive outside its step, anything outside the ledger. Fact mismatches become FINDING lines and the run continues.
  • Approve an envelope for reads, not a script. Any read-only call on this run's own resources should be allowed without a stop. All three attempts died on reads or on a guess about a reply.
  • Stop using the CLI as the oracle. Its bundled lambda-core model has 5 operations and no VersionArn or LatestVersion; the pinned SDK (lambdacore@v1.14.0) has both, plus ListNetworkConnectorVersions. Production uses the SDK, so the CLI tests a different client.
  • Run a free discovery pass now against attempt 3's ACTIVE connector, before revision 5 is written (see 2 and 4).

2. Step 2.4

  • The report's diagnosis is slightly off. The installed CLI model does have Version on GetNetworkConnector output (~/.local/aws-cli/v2/current/dist/awscli/botocore/data/lambda-core/2026-04-30/service-2.json). The service simply did not send it on the unqualified read.
  • The SDK explains why: an unqualified read returns LatestVersion and LatestVersionArn, which the CLI drops (api_op_GetNetworkConnector.go, output struct). An SDK helper that reads only .Version may get nil too; it must read all four fields.
  • Cheapest fix, no new tool: the SDK says "A newly created connector starts at version 1" (api_op_CreateNetworkConnector.go:129-131). Read $CONN_ARN:1 with the existing CLI and assert .Version == 1; 5.6 then proves VersionArn through the SDK (network.go:97).
  • Add --debug on the unqualified read to capture the raw body as evidence. I did not check whether a newer CLI exists; an upgrade is not needed.
  • The qualified ARN is required by code, not by the spec: runner.go:138 and network.go:97. Keep it. The pin is a real property, and relaxing it means a code change, a new PIN_SHA and a re-review.
  • One thing is unproven: that RunMicrovm accepts a qualified egress ARN at all. The first launch in 9.A finds out.

3. Likely stops in attempt 4

  • 9.B (line ~1581) asserts the VM echoes exactly [$CONN_QARN], a null executionRoleArn and a null idlePolicy. All three are guesses about undocumented replies, made with a VM running. Make them recorded facts.
  • 3.6 picks the newest base version with sort -V and tries no other (U4). The CLI drops status, so a newest-but-inactive version stops 3.7. Pre-approve one step down.
  • 2.2 will burn two known refusals again. Go straight to the managed policy plus the scoped delete.
  • 6.1 approves only two contract failures. Not-found codes (U18), the ID format (U17) and the 30 s/60 s lag guesses (live_test.go:86-97) each abort. Let the contract finish and classify afterwards.
  • 10.2 is the worst one. If ec2:ManagedResourceOperator is not set on Lambda's DeleteNetworkInterface (plan line 820), the connector goes DELETE_FAILED and the VPC cannot be deleted. Pre-approve dropping to the subnet-only condition and retrying.
  • I checked the image steps against the CLI model: hooks.port, resources, cpuConfigurations, status and tags are all present, so 3.7 to 3.9 should not repeat the 2.4 failure. The CLI enum lists only ARM_64; whether it passes X86_64 through is still unconfirmed (U3).

4. Leftovers Use them, then tear down now. Cost is zero either way.

  1. Run the read-only discovery against the live connector: the :1 read, the --debug body, the interface list that 2.4 never recorded.
  2. Run section 10 today. This rehearses the riskiest teardown step (10.2) for $0, with no image or VM in the way.
  3. Start attempt 4 fresh. Recreating the connector costs about 10 minutes on a path that is now known, and the run's collision checks and ledger assume a clean start.

Keeping the connector saves those 10 minutes but leaves a role with the broad managed policy sitting in the account, and pushes the 10.2 unknown to the end of a five-hour run.