specs(automation): leela-agent-link -- linking a connected seller to her Leela editorial agent - #3601
Merged
Merged
Conversation
…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
Contributor
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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), soapprove()could never succeed;LEELA_AGENT_OWNERS=144022504was set the same day.Claim status:
HANDSHAKE_RAN_LIVE = false,BRIDGE_999_CONFIGURED = false.Validated with
public/t27/t27_compiler.wasmviaagents-from-specs.mjs:{typecheckOk:true, errors:0, discarded:0, hirOk:true}. ASCII-only.published_figures.pypin 12729 -> 12734;--checkand--self-checkpass.Closes #3600