Repository navigation
Open
Labels
area/towerArea: Tower server / agent farm CLI
Description
Background
The architect address grammar has two per-name gaps in how it composes across workspaces:
- Within a workspace,
afx send architect:<name>reaches a specific sibling architect. - Across workspaces,
afx send <workspace>:architectreaches that workspace's default architect (the one namedmain, else the first registered). - The combined form,
afx send <workspace>:architect:<name>, does not resolve: after the<workspace>:prefix,resolveAgentInWorkspaceonly special-cases the literalarchitect, soarchitect:<name>falls through to a builder-id lookup and fails with a bare NOT_FOUND.
Surfaced in real cross-workspace coordination on 2026-09-03: a named architect in a peer multi-architect workspace asked for replies to the combined form, which Tower rejected. The sender tried it because the grammar looks like it should compose, and the error gave no guidance.
Decision: this gap is the design, not a bug
Cross-workspace messages should route only through the target workspace's default architect, which forwards internally. Rationale:
- Encapsulation. A workspace's architect topology is a private detail; seats are added and removed routinely.
<workspace>:architectis a stable public address that survives internal reorganization. Per-name external addressing would break senders on every rename or removal. - Single trust ingress. Cross-workspace messages can carry claims Tower cannot attest (sender identity, relayed approvals). One front door means the workspace's default architect applies its conventions, verifies claims, and routes with context before anything reaches a specialized seat. Direct per-name delivery would bypass that scrutiny.
- Adequate in practice. The forward-once workaround handled the real case with no friction at current traffic levels.
Requested changes
- Error message. When a cross-workspace address matches the shape
<workspace>:architect:<name>, fail with a purposeful message instead of the generic builder-id NOT_FOUND: per-name architect addressing is workspace-internal; cross-workspace messages route via<workspace>:architect, and the receiving architect forwards. Senders should name the intended recipient in the message's first line. - Docs. Update the addressing table and its surrounding prose in CLAUDE.md/AGENTS.md (byte-identical twins) and the skeleton counterparts to state the front-door rule and its rationale explicitly. The table currently documents the two forms separately and never says they don't compose.
Out of scope
Adding <workspace>:architect:<name> resolution. If a future need for direct external seat addressing emerges, it should be argued against the encapsulation and trust-ingress rationale above, not slipped in as a grammar completion.
Metadata
Metadata
Assignees
Labels
area/towerArea: Tower server / agent farm CLI
Activity
waleedkadous commentedon Oct 2, 2026
Data point against the "adequate in practice at current traffic levels" rationale, from the codev workspace, 2026-09-29 to 2026-10-02:
localarchitect. Fifteen reports from eight workspaces (writing, manazil, auth, ansari, member, shannon, iaser.ai, taqwabench, streamdeck) all landed on codevmain, which relayed each by hand, two of them as file-backed batches because the bodies would not fit anafx send.The front-door rule still holds up on encapsulation and trust-ingress grounds. But the forwarding cost is now a real tax whenever one named architect fans out a request to many workspaces, and the requested change 1 (a purposeful error for the
<workspace>:architect:<name>shape) has not shipped: on 2026-09-29 the form still failed with the bare builder NOT_FOUND. Suggest at least landing the error message and docs, and recording that fan-out coordination is a known cost of the design.[Spec 1940] Specification, third revision: #1605, relay attestation, …