Discord Bot Foundation #231
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#231
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1: Discord Bot Foundation
Goal: Get a Discord bot process running alongside the mesh stack, with token management, connection lifecycle, and presence/heartbeat.
Approach candidates:
discord.pylibrary, managed as a container alongside existing docker servicesdocker/api_gateway.pyFlask process as a background thread (simpler deployment, coupling risk)cli/commands/discord_bot.py) that can run as a sidecarOutputs:
docker/discord_bot.py— Discord client process with startup/shutdown lifecycleconfig/discord.yaml— Discord token config (loaded from env, not committed)substrate/secrets_manager.py)docker/docker-compose.yml) — optional sidecar or managed processAcceptance criteria:
Files touched:
docker/discord_bot.py,config/discord.yaml(create),docker/docker-compose.yml(amend),substrate/secrets_manager.py(possibly extend for Discord token)Decomposed from mesh-seed#134
QA FAILED — false-positive close from reconciliation sweep.
This issue was auto-closed at
2026-08-04T04:34:54Zduring the same reconciliation sweep that closed multiple unrelated issues (mesh-seed#252, docker_backup#20, etc.) at04:34:54Z–04:34:58Zwithout verifying fixes. The close event has no associated commit or PR.Verification against origin/master at
92521ce:docker/discord_bot.py— does not existconfig/discord.yaml— does not existdocker/docker-compose.ymlamendment for Discord sidecar — does not exist80f711b,02b8488) were both reverted in4f66d30Phase 1 acceptance criteria are unmet: no bot process, no token management, no presence/heartbeat, no health endpoint. Reopening to clear the false-positive and restart the implementation pipeline.
This run was performed by
kanban reconcile → QA pipelineafter the kanban fixit board marked the issue done. The actual fix never landed.QA FAILED — second false-positive close of #231.
This issue was closed for a second time at
2026-08-04T14:30:20Z(event #50153) after I had reopened it earlier today at08:10:56Z(event #50026) with full evidence that the fix never landed. The state remains "closed" even though no implementation has been delivered.Independent verification at
2026-08-04T(post-second-close):Master HEAD:
92521ce9"fix #250: authenticate idempotency tests via /v1/auth/login" (2026-07-30 21:58:25 -0700). No commits have landed onorigin/mastersince 2026-07-31, and the latest commit on every branch/tag/remotes is the same92521ce9.Files specified in the Phase 1 acceptance criteria:
docker/discord_bot.py— does not existconfig/discord.yaml— does not existsubstrate/secrets_manager.py— does not exist (note: the issue references this file as if it exists; no such module is in the repo)docker/docker-compose.yml— last touched by686827e"fix #148: MON-005 — Centralized Logging (Loki + structured JSON)" on 2026-07-13; no Discord sidecar amendments.Repo-wide grep for
discordin HEAD: 5 hits, all in docs/specs (API.md,ROADMAP.md,docs/archive/DAY0_TECH_STACK.md,docs/archive/IMMEDIATE_INTEGRATION.md,docs/archive/NODE0_UNSTRUCTURED.md,specs/intent-ingestion-protocol.md). Zero source-code references.PR search across all open/closed PRs in
Mark/mesh-seed: 3 PRs total (#265 open, #243/#242 closed), none reference Discord or #231.The only Discord/bot-related commits in the entire repo are
02b8488and80f711b, both reverted in4f66d30"Revert 'chore: commit unrelated chat/bots work (mesh-seed#6.6) to clear pre-dispatch gate'" on 2026-07-30.Phase 1 acceptance criteria — all six unmet:
docker-compose.ymlAction: Reopening to clear this second false-positive close. The implementation pipeline needs to actually run #231 through the triage/fixer chain — closing the issue without delivering the code is not a fix.
This matches the documented false-positive close pattern from earlier today (#252, docker_backup#20, easystitch#109, nodedesk#38, org_mode#17, mesh-seed#245/#253/#256/#257) where the reconciliation sweep closed multiple issues without verifying fixes. Issue #231 was caught in that sweep twice and continues to be incorrectly closed.
QA: Third false-positive close — reopened 2026-08-04.
Independent verification at 2026-08-04 (post-close):
docker/discord_bot.py— does not existconfig/discord.yaml— does not existMaster HEAD
134c00chas no Discord bot commits. The issue was auto-closed by the reconciliation sweep without any implementation landing.Phase 1 acceptance criteria — all unmet. Reopening to clear false-positive. Implementation pipeline needs to actually deliver code for #231.
QA: Fourth false-positive close — reopened 2026-08-04.
Independent verification at 2026-08-04 (post-close):
bots/discord_bot.py— does NOT exist (stale .pyc only)config/discord.yaml— does NOT exist.pycfiles inbots/__pycache__/andtests/unit/bots/__pycache__/are test run artifacts, not implementationNo code has landed. Issue reopened.
QA: Fifth false-positive close prevented (2026-08-04).
Independent verification (repo at /home/b/Projects/mesh-seed):
Issue remains genuinely open. Discord Bot Foundation has never been implemented.
QA: Sixth verification (2026-08-04). Independent repo check:
No fix has ever been implemented. The kanban fixit board showing this as done is a false positive. Issue remains open and valid.
QA: Seventh verification (2026-08-04). Fix never landed.
Independent repo verification at 2026-08-04:
docker/discord_bot.py— does NOT existconfig/discord.yaml— does NOT existbots/directory — empty (only__pycache__/with stale.pyc)git log --grep=discord— zero commitsgit log --grep=231— one unrelated revert commit (98fa947)This issue has been falsely closed 6 times today by the reconciliation sweep without verifying that fixes actually landed. The Discord Bot Foundation has never been implemented. Issue remains open and unfixed.