oficina / equipo Public

progress: Task 17 attempt 3 discovery and teardown

Attempt 3 (plan revision 4 at c5f9bc36, run 1126-c01121) stopped
safely at 2.4: the CLI's connector read has no Version field. The
connector was created only through the approved fallback (managed
operator policy plus a scoped delete). Per Paul's ruling (discussion
46), read-only discovery on the live connector, then revision 4's
section 10 as written: everything deleted and verified by type; the
tag index shows only lag for deleted resources.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 52d73c2c73b455a8439435650b5b2581f26feb4b parent 56c8210
1 file changed, +139 −0
  • docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md +139 −0
diff --git a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
index d2107e4c..4d77b0ea 100644
--- a/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
+++ b/docs/superpowers/plans/HOSTED-SLICE1-PROGRESS.md
@@ -1292,3 +1292,142 @@ TEARDOWN attempt 2 done: 10.3 as written; 10.4 operator-role lines only (build r
```
VM ledger (`vms.tsv`): empty, no VM was launched.
+
+### Attempt 3 (plan revision 4 at `c5f9bc36`, code `a7f505a0`, run `1126-c01121`)
+
+Started 2026-11-26 11:18Z. Every block was extracted verbatim from `c5f9bc36` and run with the
+agent sandbox off.
+
+#### Attempt 3, section 0
+
+- 0.1: code pin ok; aws-cli 2.36.10; go1.26.10. 0.1a: no earlier scratch, nothing to remove.
+- 0.3: `640012953448`, `user/remote-agent`. 0.4: 0 live MicroVMs; nothing tagged
+ `purpose=equipo-hosted-dev`; collision checks clean. Estimate: $0.21 (fixed items).
+
+#### Attempt 3, section 1
+
+- VPC `vpc-0fca2d577ca433d82`, DNS off; defaults `sg-04486f43343aa2423`, `rtb-0c96c86355176c103`,
+ `acl-0de2037b6cfee48c7`, rules `sgr-0b198bb6a3fc81262` and `sgr-0262fe4480ff4ef56`, all tagged.
+- Subnet `subnet-0404401a8cd7d255d`; route table `rtb-06096f98e685c2bc1` (local route only,
+ associated); security group `sg-0df60ecf755a35e99` (no rules). Estimate: $0.21.
+
+#### Attempt 3, section 2: stopped at 2.4 (safe stop run)
+
+- 2.1: role `arn:aws:iam::640012953448:role/equipo-hosted-dev-t17-1126-c01121-conn-op`, narrow
+ inline policy, 60 s wait (11:20:07Z to 11:21:13Z).
+- 2.2, the connector:
+ - Attempt 1 (11:21:21Z, 74 s after the role was created) was refused with the same error as
+ attempt 2: `InvalidParameterValueException`, "invalid ConnectorOperatorRole permissions".
+ - Attempt 2 (11:23:39Z, after a further 120 s) was refused the same way. Both were confirmed
+ `NOTCREATED`. Propagation is therefore ruled out: the narrow policy lacks something the
+ connector needs.
+ - Fallback: the role got `AWSLambdaNetworkConnectorOperatorPolicy` plus an inline
+ `t17-connector-eni-delete`.
+ - Attempt 3 (11:26:58Z) was accepted: connector `nc-9027ec0e-413c-45c2-8233-70242dda0764`,
+ `PENDING`. `CONN_OPERATOR_POLICY` = managed policy plus inline delete.
+- 2.3: `ACTIVE` at 11:31:23Z, about 4.4 min after create (16 polls).
+- 2.4 aborted: `connector version is [None]`. The installed CLI (aws-cli 2.36.10) has no `Version`
+ field in `get-network-connector`, and none in the create reply either (its keys are Arn,
+ Configuration, Id, Name, OperatorRole and State). This is U3, the old CLI model.
+- Safe stop: S.1 no controller; S.2 nothing unresolved; S.3 skipped (no image). Estimate: 0 VMs,
+ $0.21 (fixed items; real spend about $0).
+- Left in place for Paul (S.4, no listed charge):
+ - the VPC with its defaults, the subnet, the route table and its association, and the group;
+ - the operator role, with the managed policy attached and the inline delete policy;
+ - the ACTIVE connector and its Lambda-managed interfaces in the subnet. These were not recorded,
+ because 2.4 stopped before its interface read.
+
+#### Attempt 3, discovery against the live connector (Paul, 2026-11-28, discussion 46)
+
+These were read-only calls on connector `nc-9027ec0e-413c-45c2-8233-70242dda0764`, behind the
+account guard, at 14:59Z.
+
+- The literal `--network-connector-identifier` flag fails CLI parameter validation (rc 252, no
+ request sent). The CLI's flag is `--identifier`.
+- `get-network-connector --identifier <arn>:1` succeeds: `Version` 1, `State` ACTIVE,
+ `StateReason` "Initial creation", `LastModified` 2026-11-26T11:31:09Z. The CLI shows no
+ `VersionArn`.
+- The unqualified read's raw response body (from `--debug`) holds `LatestVersion: 1` and
+ `LatestVersionArn: <arn>:1`. It has no `Version`, `VersionArn`, `StateReasonCode` or
+ `LastUpdateStatus`. The CLI output drops `LatestVersion*`, so `--query Version` gives `None`
+ (the cause of 2.4's abort). The response carries a `Date` header.
+- Network interfaces: 0 in the run's VPC and 0 in its subnet while the connector is ACTIVE, so
+ there were no `SERVICE-ENI` lines to journal.
+
+#### Attempt 3, teardown (revision 4's section 10, as written)
+
+- 10.1: no controller; `SKIP IMAGE_ARN`.
+- 10.2: `delete-network-connector` at 15:00:00Z; DELETING at 15:00:03Z; not found by 15:00:19Z
+ (about 19 s); interfaces in the VPC 0. No DELETE_FAILED.
+- 10.3: deleted the group `sg-0df60ecf755a35e99`, association `rtbassoc-07254c8e1b8d2f5e6`,
+ route table `rtb-06096f98e685c2bc1`, subnet `subnet-0404401a8cd7d255d` and VPC
+ `vpc-0fca2d577ca433d82`. The defaults `sg-04486f43343aa2423` (with rules
+ `sgr-0b198bb6a3fc81262` and `sgr-0262fe4480ff4ef56`), `rtb-0c96c86355176c103` and
+ `acl-0de2037b6cfee48c7` were each confirmed gone by a filtered describe listing 0.
+- 10.4: the operator role, its inline `t17-connector-eni-delete` and the
+ `AWSLambdaNetworkConnectorOperatorPolicy` attachment removed; `get-role` gives `NoSuchEntity`.
+ `SKIP BUILD_ROLE_ARN`.
+- 10.5, 10.6 and 10.7: `SKIP` (bucket, log group and topic never created).
+- 10.8:
+ - 0 VMs.
+ - Unmatched values: only `CONN_ID` (the deleted connector's ID) and the `CONN_OPERATOR_POLICY`
+ label. Neither is a separate resource.
+ - Tag index, by `run=1126-c01121` and by `purpose=equipo-hosted-dev`: only the deleted default
+ group and its two rules, and the deleted connector. That is index lag; the direct reads show
+ them gone.
+- Left in AWS: nothing. Spend for attempt 3: about $0 (0 VMs; no image, bucket, logs or topic).
+
+Journal (attempt 3, intents and controller lines omitted, as in 10.9):
+
+```
+RUN 1126-c01121 start pin=a7f505a0d69a2459062c83cb46baf7882e261c5f
+COLLISION-CHECKS clean
+CONFIRMED VPC vpc-0fca2d577ca433d82
+CONFIRMED DEF_SG sg-04486f43343aa2423
+CONFIRMED MAIN_RTB rtb-0c96c86355176c103
+CONFIRMED DEF_ACL acl-0de2037b6cfee48c7
+CONFIRMED DEF_SG_RULES sgr-0b198bb6a3fc81262 sgr-0262fe4480ff4ef56
+CONFIRMED SUBNET subnet-0404401a8cd7d255d
+CONFIRMED RTB rtb-06096f98e685c2bc1
+CONFIRMED RTB_ASSOC rtbassoc-07254c8e1b8d2f5e6
+CONFIRMED SG sg-0df60ecf755a35e99
+CONFIRMED OPERATOR_ROLE_ARN arn:aws:iam::640012953448:role/equipo-hosted-dev-t17-1126-c01121-conn-op
+REFUSED connector attempt 1: | aws: [ERROR]: An error occurred (InvalidParameterValueException) when calling the CreateNetworkConnector operation: Encountered unauthorized operation while calling EC2 due to invalid ConnectorOperatorRole permissions
+NOTCREATED connector attempt 1
+REFUSED connector attempt 2: | aws: [ERROR]: An error occurred (InvalidParameterValueException) when calling the CreateNetworkConnector operation: Encountered unauthorized operation while calling EC2 due to invalid ConnectorOperatorRole permissions
+NOTCREATED connector attempt 2
+FALLBACK operator role: AWSLambdaNetworkConnectorOperatorPolicy plus inline delete (Paul, 2026-11-25)
+CONFIRMED OPERATOR_MANAGED_POLICY arn:aws:iam::aws:policy/AWSLambdaNetworkConnectorOperatorPolicy
+CONFIRMED OPERATOR_INLINE_POLICY t17-connector-eni-delete
+CONFIRMED CONN_OPERATOR_POLICY managed AWSLambdaNetworkConnectorOperatorPolicy plus inline delete
+CONFIRMED CONN_ARN arn:aws:lambda:eu-west-1:640012953448:network-connector:nc-9027ec0e-413c-45c2-8233-70242dda0764
+CONFIRMED CONN_ID nc-9027ec0e-413c-45c2-8233-70242dda0764
+TIMING connector-active
+ABORT connector version is [None]
+SKIP IMAGE_ARN none
+DISCOVERY start (Paul 2026-11-28, disc 46): read-only, connector arn:aws:lambda:eu-west-1:640012953448:network-connector:nc-9027ec0e-413c-45c2-8233-70242dda0764
+FACT discovery a0: --network-connector-identifier rc=252 (CLI flag is --identifier)
+FACT discovery a: :1 read ok, keys ["Arn","Configuration","Id","LastModified","Name","OperatorRole","State","StateReason","Version"], Version=1, State=ACTIVE
+FACT discovery b: unqualified read rc=0, CLI keys ["Arn","Configuration","Id","LastModified","Name","OperatorRole","State","StateReason"], Date header present
+FACT discovery c: 0 interfaces in the VPC, 0 in the subnet
+SKIP IMAGE_ARN none
+DELETED connector arn:aws:lambda:eu-west-1:640012953448:network-connector:nc-9027ec0e-413c-45c2-8233-70242dda0764
+DELETED security-group sg-0df60ecf755a35e99
+DELETED route-table-association rtbassoc-07254c8e1b8d2f5e6
+DELETED route-table rtb-06096f98e685c2bc1
+DELETED subnet subnet-0404401a8cd7d255d
+DELETED vpc vpc-0fca2d577ca433d82
+DELETED vpc-default-security-group-rules sgr-0b198bb6a3fc81262 sgr-0262fe4480ff4ef56
+DELETED vpc-default-security-group sg-04486f43343aa2423
+DELETED vpc-main-route-table rtb-0c96c86355176c103
+DELETED vpc-default-network-acl acl-0de2037b6cfee48c7
+DELETED iam-role arn:aws:iam::640012953448:role/equipo-hosted-dev-t17-1126-c01121-conn-op
+DELETED iam-inline-policy t17-connector-eni-delete
+DELETED iam-managed-attachment arn:aws:iam::aws:policy/AWSLambdaNetworkConnectorOperatorPolicy
+SKIP BUILD_ROLE_ARN none
+SKIP BUCKET_CREATED none
+SKIP LOG_GROUP_CREATED none
+SKIP TOPIC_ARN none
+```
+
+VM ledger (`vms.tsv`): empty, no VM was launched.