Skip to content

specs(automation): leela-agent-link -- linking a connected seller to her Leela editorial agent - #3601

Merged
gHashTag merged 1 commit into
masterfrom
specs/leela-agent-link
Sep 13, 2026
Merged

gHashTag merged 1 commit into
masterfrom
specs/leela-agent-link

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Spec for the Leela editorial-agent handshake (host: gHashTag/999-multibots-telegraf render tool crm_agent_link, agent side gHashTag/leela): claim from the seller's own session, list + approve from the trusted owner's session, status back. Records the measured cause of the unlinked agent: on 2026-09-13 the Leela Railway service had no trusted owner configured (OWNERS_BEFORE = 0), so approve() could never succeed; LEELA_AGENT_OWNERS=144022504 was set the same day.

Claim status: HANDSHAKE_RAN_LIVE = false, BRIDGE_999_CONFIGURED = false.

Validated with public/t27/t27_compiler.wasm via agents-from-specs.mjs: {typecheckOk:true, errors:0, discarded:0, hirOk:true}. ASCII-only. published_figures.py pin 12729 -> 12734; --check and --self-check pass.

Closes #3600

…her Leela editorial agent

How the Leela bot grants its content-administrator role: /agent_claim from
the claimant's own session (435572800, @Playom), /agent_claims and
/agent_approve <32-hex id> from the trusted owner's session (144022504),
/agent status back; claim 24h, role 30 days; fn approves() mirrors
editorial-store.ts. Records the measured cause of 'the agent does not answer
in the bot': on 2026-09-13 the Leela Railway service had no
LEELA_AGENT_OWNERS / LEELA_STARS_OPERATORS (OWNERS_BEFORE = 0), so nothing
could be approved; the variable was set the same day. Host tool
crm_agent_link on the 999 render: owner-only, both accounts connected,
transcript returned, no session string. Free text for the approved
administrator lands in gHashTag/leela (off the game table only).
HANDSHAKE_RAN_LIVE = false; BRIDGE_999_CONFIGURED = false.
Validated with the wasm compiler: typecheckOk, 0 errors, 0 discarded.
Pin 12729 -> 12734.

Closes #3600
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-13 07:41:04 UTC

Summary

Status Count
Total Open PRs 16
PRs with Failing Checks 10
PRs with All Checks Green 6
READY 5
FAILING 10
PENDING 0
NO CHECKS YET 0

These columns do not partition: 5 + 10 + 0 + 0 = 15, and there are 16 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=d4c5b22b471e != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit 0df1a04 into master Sep 13, 2026
30 checks passed
gHashTag added a commit to gHashTag/999-multibots-telegraf that referenced this pull request Sep 13, 2026
…orial agent (#2361)

Owner-only render tool that performs the Leela bot's two-person handshake
through the sessions already held in tg_sessions: /agent_claim from the
claimant's session (default 435572800, @Playom), /agent_claims and
/agent_approve <32-hex id> from the owner's, /agent status back. The reply
read is the incoming message with an id greater than the sent command's.
Both accounts must be connected sellers; the owner cannot be his own
claimant; a transcript is returned, never a session string.

Measured 2026-09-13: the Leela Railway service had no LEELA_AGENT_OWNERS /
LEELA_STARS_OPERATORS, so store.approve() could never succeed — the agent
answered nobody. The variable was set the same day (owner-confirmed).

Spec: t27 specs/automation/leela-agent-link.t27 (gHashTag/t27#3601).
Doc: docs/leela-agent-link-2026-09-13.md. Tests: crm-agent-link.test.ts (8);
render suite 164 files / 1576 passed / 1 skipped. Not live-run yet.

Co-authored-by: gHashTag <oxicocicate35@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

specs(automation): leela-agent-link -- linking a connected seller to her Leela editorial agent

1 participant