0
0
versions: atirc 58f46d0 (agent run posts <nick> online itself)
docs/acceptance/0004-vm-atirc-agent.md+1−1
| @@ -191,7 +191,7 @@ wait the event `Published`, see the agent in the owner node's peers, **Release** | ||
| CLI release, token alive | requester exited before the termination POST (pre rc132); now revoke first | | ||
| `spec.agent` contract fails before RFP | `an agent needs spec.secretsRef`: `--agent` adds a one-entry bundle; page must send one | | ||
| the owner node never dials the agent | the walk of the peer record's repo DID must reach the owner node's owner: `socialweb-computer internal association <agent DID>` (roots, errors); a missing renter endorsement (`requester_endorsement_skipped`: the optional scope) leaves the chain at R2 | | ||
| FAIL `the agent never posted <nick> online` (before 2026-11-18 the module prompted after 60 s and passed on the answer, reading `online_after_agent_start_s: "not seen..."`: 4 of the 10 kept 0004 runs and 5 of the 8 kept 0013 runs, 2026-11-13 to 11-16) | the harness prompt does not ask for the line: `atirc agent run` passes the last `/goal never exit` block of atirc's README (`cli/src/main.rs` `agent_prompt`, `mesh_prompt`; README "Just set the monitor and wait"), so the first line is the model's choice (seen: `<nick> online - monitor armed`, `harness online: ...`, `ack - subscribed and standing by`, `format test`, or nothing). Fix in atirc: the prompt tells the agent to publish `<nick> online` once its monitor is armed, or `agent run` publishes it itself; then the pinned `assets.atirc` moves | | ||
| FAIL `the agent never posted <nick> online` (before 2026-11-18 the module prompted after 60 s and passed on the answer, reading `online_after_agent_start_s: "not seen..."`: 4 of the 10 kept 0004 runs and 5 of the 8 kept 0013 runs, 2026-11-13 to 11-16) | the harness prompt does not ask for the line: `atirc agent run` passes the last `/goal never exit` block of atirc's README (`cli/src/main.rs` `agent_prompt`, `mesh_prompt`; README "Just set the monitor and wait"), so the first line is the model's choice (seen: `<nick> online - monitor armed`, `harness online: ...`, `ack - subscribed and standing by`, `format test`, or nothing). Fixed in atirc 58f46d0 (branch agent-online, `assets.atirc` 0.1.0-58f46d0): `agent run` posts `<nick> online` itself through the mesh daemon as soon as it answers, the model no longer decides; not yet seen on a network | | ||
| an agent ignores a prompt that starts with its nick | atirc before 2de8b6c: the agent filtered its "own echoes" by text; 2de8b6c's prompt monitors with `atirc mesh sub --others` (by identity) | | ||
| the owner node reaches the agent's own channel only with it in `-c` | the agent carries `#<identity>` beyond the record's `channels` (hellos list both); the owner node opens it when it carries it too | | ||
| `atirc mesh run` panics: `Could not automatically determine the process-level CryptoProvider` | an atirc older than a6a3f0f (both rustls providers, no default); the pinned `assets.atirc` installs ring | | ||
docs/acceptance/0013-mixed-prod.md+1−1
| @@ -285,7 +285,7 @@ it; no second release is needed. | ||
| ||
| Symptom | Cause / fix | | ||
| --- | --- | | ||
| A: FAIL `the agent never posted <nick> online` | the agent's first line is the model's choice: [0004](0004-vm-atirc-agent.md) Known pitfalls (the fix is in atirc's agent prompt) | | ||
| A: FAIL `the agent never posted <nick> online` | before atirc 58f46d0 the agent's first line was the model's choice; since, `agent run` posts it itself: [0004](0004-vm-atirc-agent.md) Known pitfalls | | ||
| C: the tenant node joins 4 to 5 min after the apply (`pod_ready_s` 275.7; was 45 to 50): the node's `socialweb-node-prep` logs `HTTP 400 could not load configuration` from `auth/jwt-<hash>/login`, the cluster OpenBao `error checking oidc discovery URL: issuer did not match ... got https://127.0.0.1:0/v1/identity/oidc` | before the fix: the bidder's guest control plane fetched the OIDC discovery document 3 s before it configured the issuer and cached the OpenBao default for 5 min (`oidcDocumentRefresh`); a document that does not name the configured issuer is no longer cached (`internal/guestidentity/service.go`, bidder log `refreshing the guest OIDC document failed; no document is cached yet ... does not name the configured issuer yet`) | | ||
| C on a dev network: no node VM, ComputeContract `Requesting` / `rfp_submitted`, `requester_submit_rfp_failed` 401 from prod bidders | before 22b49fb2: the test host started `run requester` without `--network`, so it discovered the public relays and the prod bidders; `requester_bidder_discovery` must read `relay:http://127.0.0.1:<port>` and the network's bidders | | ||
| after a restart every Held contract is Failed `the held contract is not resumed: ... the policy engine is not running` | main 6497fe61 and rc157: fixed in rc158 (resume waits for the policy engine) | | ||
docs/plans/0040-findings.md+11−0
| @@ -1321,3 +1321,14 @@ Each: what was seen (with the log), the cause, the fix, its proof. | ||
`plcDirectoryUrl` is its own PLC (`/etc/socialweb-computer/net.json`). Open (design, not built): that isolation is | ||
implicit; a staging stand-up that named its own `release-repo` (the gateway owner's DID) in `bidder.json`, as 0020 | ||
does for its bidder, would state it, with no change to prod's default. | ||
- `agent run` posts `<nick> online` itself (decision 24c's fix; atirc branch `agent-online` 58f46d0, pinned here as | ||
`assets.atirc` 0.1.0-58f46d0 on branch `atirc-online`): right after it spawns the harness, independent of the model's | ||
first turn. With a minted child token it posts once as that child (3 retries 500 ms apart); a kcp guest's agent has | ||
none, so it polls the agent user's mesh state file and ops port every 500 ms (the guest starts `agent run` before | ||
`atirc mesh run --no-publish`) and posts on the node's owner channel (`channels()[0]`) once the daemon answers. The | ||
line stays in the agent node's history, so the owner node, which links later, replays it to its | ||
`mesh sub --cursor 0`: what remains inside the 60 s is the owner node's link to the agent, no longer the model. SEEN | ||
locally only (atirc `tests/test_mesh_loopback.py` `test_agent_run_announces_online`: a sleeping harness, `agent run` | ||
before `mesh run`, the owner node last): announced 0.5 s after the agent daemon's state file, the owner's sub has | ||
exactly one `{"identity":"bot.agent.test","text":"bot online"}`; logs `~/.tmp/atirc-online/evidence/`. Not run on a | ||
network or a guest yet. | ||
internal/versions/versions.json+11−11
| @@ -418,16 +418,16 @@ | ||
} | ||
}, | ||
"atirc": { | ||
"version": "0.1.0-72e210d", | ||
"source": "tangled.org/johnandersen777.bsky.social/atirc branch native-roots at commit 72e210d7aefe8ce0c2bbf4ac5a10104ad2edecf1 (2026-11-17, the wss clients of sub and the mesh daemon trust the system's roots beside webpki-roots: tokio-tungstenite rustls-tls-native-roots, plan 0040 step 8c; on 965fc35 (2026-11-16): identlink a220869, the native client trusts the system's roots; on de9e74a (2026-11-13): --plc-directory-url / ATIRC_PLC_DIRECTORY_URL; on e962ee8: agent run takes its agent config on stdin or --config, so the ssh gateway path runs; agent run spawns the harness and removes its workdir on exit; on 9e83813: owner graph on the ident.link pair + grant walk of atlibs-identlink aa7cacc, ATIRC_DID, --peer <handle>@<did>), unpatched, built here by scripts/stage-assets.sh (fetch kind cargosrc, scripts/build-cargosrc.sh): the knot's source archive of that commit, cargo build --release --locked of cli/Cargo.toml for <arch>-unknown-linux-musl with the pinned rustc, zig cc and rust-lld, static; crates from crates.io and their git sources, verified by the archive's Cargo.lock. The host's atirc (AtircNode runs atirc mesh run as a HostProcess of this asset) and the guests' atirc-x86_64 of socialweb-guest-downloads are this build", | ||
"version": "0.1.0-58f46d0", | ||
"source": "tangled.org/johnandersen777.bsky.social/atirc branch agent-online at commit 58f46d08cc250e80d4a607954b5e36234f2f1d41 (2026-11-18, agent run posts `<nick> online` itself as soon as its mesh daemon or child token can post, not the model, plan 0040 decision 24c; on 72e210d (2026-11-17, branch native-roots): the wss clients of sub and the mesh daemon trust the system's roots beside webpki-roots: tokio-tungstenite rustls-tls-native-roots, plan 0040 step 8c; on 965fc35 (2026-11-16): identlink a220869, the native client trusts the system's roots; on de9e74a (2026-11-13): --plc-directory-url / ATIRC_PLC_DIRECTORY_URL; on e962ee8: agent run takes its agent config on stdin or --config, so the ssh gateway path runs; agent run spawns the harness and removes its workdir on exit; on 9e83813: owner graph on the ident.link pair + grant walk of atlibs-identlink aa7cacc, ATIRC_DID, --peer <handle>@<did>), unpatched, built here by scripts/stage-assets.sh (fetch kind cargosrc, scripts/build-cargosrc.sh): the knot's source archive of that commit, cargo build --release --locked of cli/Cargo.toml for <arch>-unknown-linux-musl with the pinned rustc, zig cc and rust-lld, static; crates from crates.io and their git sources, verified by the archive's Cargo.lock. The host's atirc (AtircNode runs atirc mesh run as a HostProcess of this asset) and the guests' atirc-x86_64 of socialweb-guest-downloads are this build", | ||
"verify": "the source archive's sha256 is pinned here and its top directory must name the pinned commit; the build runs in a private mount namespace with remapped paths, so the unpacked tree must equal the treeSha256 pin (make pins writes it; a cargosrc change re-pins it)", | ||
"executables": { | ||
"atirc": "atirc" | ||
}, | ||
"cargosrc": { | ||
"url": "https://tangled.org/johnandersen777.bsky.social/atirc/archive/72e210d7aefe8ce0c2bbf4ac5a10104ad2edecf1", | ||
"sha256": "be2f10c5d50bfd76595dfeb8c6448fd43560e429615d0acc17c3cc02cdf5adc0", | ||
"commit": "72e210d7aefe8ce0c2bbf4ac5a10104ad2edecf1", | ||
"url": "https://tangled.org/johnandersen777.bsky.social/atirc/archive/58f46d08cc250e80d4a607954b5e36234f2f1d41", | ||
"sha256": "00bfb61243b734ba4de5d310b07c69b664ade8700354040aeaa8c0472f286a3d", | ||
"commit": "58f46d08cc250e80d4a607954b5e36234f2f1d41", | ||
"toolchain": "1.97.0", | ||
"manifest": "cli/Cargo.toml", | ||
"package": "atirc", | ||
| @@ -449,14 +449,14 @@ | ||
}, | ||
"platforms": { | ||
"linux/amd64": { | ||
"treeSha256": "9c61fad865322d25eccd49ad1ab6fe8e03f87c80828a31271a52c1f6dd91f37d", | ||
"rawBytes": 53920944, | ||
"zstdBytes": 11918079 | ||
"treeSha256": "7ed6b4f257ae70fa2e2db2678c165fe421e693efb8ad5dcfc5d54e18313bc602", | ||
"rawBytes": 54109728, | ||
"zstdBytes": 11948892 | ||
}, | ||
"linux/arm64": { | ||
"treeSha256": "f045e2738d5b1fe4d81ea23675bfe05be3ef4ea375e99ae4d9c9a0002e7a2667", | ||
"rawBytes": 51414520, | ||
"zstdBytes": 11737365 | ||
"treeSha256": "68717c1fbf0ecec2aa76f32f3841a4c4104ac4e9b5455bd082b539376c439ae7", | ||
"rawBytes": 51618648, | ||
"zstdBytes": 11763629 | ||
} | ||
} | ||
}, | ||