68 lines
13 KiB
Markdown
68 lines
13 KiB
Markdown
# Channel Wiki: #jarvis-jr-knowledge-wiki
|
|
_Channel ID: 1519069810166599764_
|
|
_Last sync: 2026-10-22 daily sync_
|
|
|
|
## Purpose
|
|
Operate and audit Hermes's persistent Discord knowledge system: channel inventory, monitored-channel coverage, per-channel context, recurring syncs, and Gitea mirroring.
|
|
|
|
## Key Decisions
|
|
- Hermes monitors all current text channels in guild `1518726359512387766`; voice channels are excluded from message polling, while linked text channels remain monitored.
|
|
- On 2026-07-31 the live inventory was verified as 28 total channels: 26 text and 2 voice.
|
|
- Periodic wiki monitoring and unsolicited response behavior are separate. `discord.require_mention` remains enabled; only explicitly configured free-response channels receive unprompted conversational replies.
|
|
- **CONFIRMED (2026-08-16):** Lego changed the recurring Knowledge Wiki Sync from every four hours to **once daily at 03:00 UTC**. Cron `53ca9840b938` was renamed `wiki-sync-daily-3am`, remains enabled, and uses `0 3 * * *`.
|
|
|
|
## Monitoring Sources of Truth
|
|
- `/opt/data/scripts/channel-wiki-sync.py` → `MONITORED_CHANNELS`
|
|
- `/opt/data/wiki/channels/<channel_id>.md`
|
|
- Cron `53ca9840b938` (`wiki-sync-daily-3am`), scheduled daily at `03:00 UTC`
|
|
- `/opt/data/config.yaml` → `discord.channel_prompts`
|
|
- `/opt/data/wiki/discord/README.md` → human-readable inventory
|
|
|
|
## Active Topics
|
|
- **Run #195, 2026-10-27:** authenticated live REST scanned 37/38 authoritative IDs; retained test remains absent from live guild text inventory. Two Skills Public human messages reconciled the two-hour Kanban replenishment/stall-check request and unresolved ZIP-value question; human anchor advanced to `1564213593283629142`, others unchanged. All 33 installed skill/wiki routes verified, maximum 262 characters, all non-routing config unchanged. CUGA delivery remains routed but outside the scan map, not scanned. Mirror preflight clean/synchronized; final push/ref/artifact evidence belongs to the delivered report. No jobs, permissions, response scope or monitoring membership changed.
|
|
- **Run #194, 2026-10-26:** authenticated live REST scanned 37/38 authoritative IDs; retained test remains absent from live guild text inventory. Eight Skills Public human messages reconciled gallery reuse, broad industry coverage, rejected visual quality, theme-independent high-quality elements, and a requested four-hour improvement job (recorded only, no scheduler change). Skills Public anchor advanced to `1563992241796677733`; other human anchors unchanged. All 33 installed skill/wiki routes verified, maximum 262 characters; all non-routing settings unchanged. CUGA delivery remains routed but outside the authoritative scan map, not scanned. Mirror preflight clean/synchronized; final push/ref/artifact verification is reported in the delivered summary. No jobs, permissions, response scope or monitoring membership changed.
|
|
- **Run #192, 2026-10-24:** live REST scanned 37/38 authoritative IDs, including newly mapped Skills Public; retained test channel remains absent from live guild text inventory. Five initial Skills Public human messages reconciled into durable source-analysis and grouped openable Anime.js HTML-example requirements; anchor `1563199351461904405`. Other anchors unchanged (legacy anchorless wikis reconciled against Run #181 log anchors). All 33 mapped installed skill/wiki routes verified, maximum 262 characters; all non-routing config unchanged. CUGA delivery remains routed but outside the authoritative scan map and was not scanned. Mirror preflight clean/synchronized; final push/readback evidence is in the delivered report. No jobs, response scope, permissions or monitoring membership changed by this run.
|
|
- **Run #191, 2026-10-23:** live REST scanned 36/37 authoritative IDs; retained test channel remains absent. Reconciled eight CUGA presentation-refinement messages and five general-channel Conduit/governance messages. Latest human anchors: CUGA `1562882559682158643`, general `1562747828982521897`; other anchors unchanged. All 32 installed skill/wiki routes validated, maximum 262 characters; all non-routing settings unchanged. Newly observed coverage gap: routed CUGA delivery `1562800574892744835` is absent from MONITORED_CHANNELS, so its history was not scanned. Scope reconciliation remains open; no jobs, monitoring membership or response scope changed. Mirror preflight clean/synchronized; final push/readback evidence is in the delivered report.
|
|
- **Run #190, 2026-10-22:** live REST scanned 36/37 authoritative IDs, now including CUGA; retained test channel remains absent. Reconciled CUGA comparison direction, monthly-workshop slide requirements/rendering caveat, and Eldorado public-repository request (public metadata independently verified). Human anchors: CUGA `1562435905346609214`, Shorts `1562569220850581606`, Eldorado `1562405021952245894`. All 31 installed skill/wiki routes validated, maximum 262 characters; non-routing configuration unchanged. Mirror preflight clean/synchronized; final push/readback evidence belongs to the delivered report.
|
|
- **Run #186, 2026-10-18:** live authenticated REST scanned 35/36 authoritative IDs; retained test channel remains absent. Reconciled two Shorts human messages with the existing eShop series direction, added the exact original request ID, and advanced its human anchor to `1561045336582004757`. Other anchors unchanged. All 30 mapped skill/wiki routes validated, maximum 262 characters; non-routing configuration unchanged. Mirror preflight clean and synchronized; final push/readback results are recorded in the delivered run report.
|
|
- **Run #183, 2026-10-15:** authenticated live REST scan completed for 35/36 authoritative IDs; retained test channel remains absent. Nine human messages in Kreg channels captured Ingrida's low-text presentation brief and RootAtSkic's responsiveness/history/delivery follow-up requirements. Anchors advanced to general `1559828160634163242` and sandbox `1559894132892110941`; others unchanged. All 30 mapped installed skill/wiki routes verified, maximum 262 characters (symlinked skills included). No response scope, permissions or jobs changed. Existing deck record remains channel-workflow evidence; native rendering and user acceptance not independently verified.
|
|
- **Run #182, 2026-10-14:** live REST scan completed for 35/36 authoritative IDs; retained test channel remains absent. Two human requests reconciled the Kreg general/sandbox renames and matching local folders (both verified). Their latest anchors are `1559581079378333737` / `1559580995223552094`; other anchors unchanged. Monitoring labels still say Emplonet but stable IDs remain correct; label reconciliation is open, not a coverage failure. All 30 installed skill/wiki routes verified, max 262 characters; non-routing config unchanged. Mirror preflight passed with clean main and divergence `0 0`; final push/readback evidence is reported separately.
|
|
- Keep the channel inventory synchronized when channels are created, renamed, moved, or deleted.
|
|
- Ensure every new channel gets a real-history wiki seed where history exists.
|
|
- Verify config refresh and Gitea push independently after monitoring changes.
|
|
- The authoritative sync mapping now contains 38 text-channel IDs, including Skills Public (`1563119838740873277`), CUGA (`1562373274032414780`) and AeroSim 3D Models (`1557702471294521394`); one retained legacy ID (`#jarvis-jr-test-001`) remains absent from the live guild inventory and inaccessible.
|
|
- ✅ On 2026-09-13 the recurring health-check defect was repaired: zero-match `grep -c` output can no longer become the invalid multiline value `0\n0`, and the Discord check now recognizes the gateway's actual inbound/send activity log forms. A syntax check and complete rerun passed all four checks; the same run's authenticated Discord REST scan succeeded for 31/32 monitored channels.
|
|
- ⚠️ Run #180 on 2026-10-12 scanned 35/36 authoritative monitored IDs through authenticated live Discord REST. Five new Shorts human messages approved blog-alignment points 1/2 (not conversion point 3) and role-aware evaluation refinements informed by the user's architecture lead. Shorts anchor advanced to `1558896305114320937`; all others unchanged. Retained `#jarvis-jr-test-001` (`1518733120831226028`) remains absent from live guild text inventory; its anchor cannot advance. All 30 mapped skill routes verified against installed skills and wiki files, maximum 262 characters; all non-routing config values unchanged. Mirror preflight passed with clean main and fetched divergence `0 0`; final push/ref/artifact results belong to the delivered run report. Channel-workflow v2.8.14 delivery records preserved; deck and native Keynote compatibility not independently validated by this scan.
|
|
- ⚠️ RootAtSkic asked how people will obtain/use the numeric-ID Markdown channel files and whether moving the wiki to the “Google” `OKF` format would be useful. The intended format name and desired delivery interface are **UNKNOWN** and must be clarified before any migration; no format change was authorized.
|
|
|
|
## Channel Workspace
|
|
- Channel-owned working files belong under `/opt/data/channels/jarvis-jr-knowledge-wiki/`, grouped by purpose.
|
|
- The July 16, 2026 bootstrap exports and parser are archived under `operations/legacy-bootstrap-2026-07-16/`.
|
|
- The live channel wiki remains at `/opt/data/wiki/channels/1519069810166599764.md`; shared sync infrastructure remains in its canonical script/repository locations.
|
|
|
|
## Action Items
|
|
- On future inventory changes, update the script, cron prompt, per-channel wiki files, Discord README, config prompts, and mirror coverage together.
|
|
- ✅ Repaired `/opt/data/scripts/health-check.sh` on 2026-09-13 and verified a complete successful rerun. Continue treating authenticated REST scan results as the source of truth for wiki coverage.
|
|
- 🔲 Define a user-facing way to discover and retrieve channel wiki Markdown files whose filenames are Discord channel IDs.
|
|
- 🔲 Clarify what RootAtSkic meant by Google `OKF`, then assess migration value and compatibility before changing the current Markdown wiki.
|
|
|
|
## Source anchor
|
|
- Latest processed human message: `1550913962810282146` (2026-09-19 16:58 UTC; asked how numeric-ID Markdown files will be delivered and whether a move to Google `OKF` would be useful; exact format intent remains unknown).
|
|
|
|
## Mattermost daily sync — 2026-11-06 03:06 UTC
|
|
|
|
- Mattermost channel: [jarvis-jr-knowledge-wiki](https://mattermost.lego-cloud.eu/lego-cloud-eu/channels/jarvis-jr-knowledge-wiki) (`nxjkds6i7igrbriiqh58bthk4h`).
|
|
- Mapping provenance: `/opt/data/channels/mattermost-root-at-skic-dm/notes/discord-final-migration/plan.json`; original Discord ID and all earlier evidence retained.
|
|
- Authenticated API read: bounded latest page, up to 60 posts; inspected 2 posts and 0 human posts. No full-history import; earlier Mattermost content may be outside this initial window. System/integration posts excluded from knowledge extraction.
|
|
- Live channel state: active.
|
|
- Current scheduled-task instruction supersedes legacy Discord sync/config instructions: scan mapped Mattermost text channels only, preserve original-ID wiki paths and legacy evidence, and use separate Mattermost scan anchors. No message-history/attachment import, route rewrite, membership change or work enablement.
|
|
- First Mattermost daily scan read 37 of 38 original monitored text-channel destinations, including two archived/readable channels. Legacy test ID `1518733120831226028` has no verified text destination; no same-named voice substitute used. CUGA delivery remains outside original monitoring scope.
|
|
- The existing Gitea mirror is public (authenticated metadata); visibility is unchanged. Only curated wiki content is mirrored under the existing scheduled-mirror contract, not raw post exports or secrets.
|
|
- mattermost_last_post_id: 9rcmrz9unifqxypnyunks3kpty
|
|
- mattermost_last_post_time: 1793934406113
|
|
- Anchor semantics: latest inspected post, including automation/system posts, Unix milliseconds; independent of legacy Discord human anchors.
|
|
|
|
## Mattermost daily sync — 2026-11-07
|
|
- Authenticated incremental API scans reached saved anchors in all 37 mapped destinations; zero new human posts. Three automation posts across knowledge-wiki and planner were excluded; only their scan anchors advanced. Missing verified text mapping for original test ID `1518733120831226028` remains a coverage blocker.
|
|
- Supplied health-check script exited 1, reporting gateway process not running and Discord check unavailable; state.db passed and disk usage was 4%. This is supplied diagnostic output, not independently verified gateway state. Mattermost API reads succeeded despite it; runtime loader confirms Discord is explicitly disabled after cutover. No restart or configuration change performed.
|