fix(dreaming): fleet-canon emits openclaw-required frontmatter#4
Merged
Conversation
Daily canon entries (canon/YYYY-MM-DD.md) now emit pageType, id, status, createdAt, updatedAt, sourceIds, tags in addition to the existing kind/date/title fields. Keeps kind/date for backward compat. Why: memory-wiki lint flags files without pageType/id as errors, and the BenchAGI canon-slice publisher (scripts/wiki-canon-publish/publish.ts in the Bench monorepo, per ADR-2026-04-19) skips daily canon files for the same reason. Without this fix, each night's fleet rollup was invisible to the shard-distribution pipeline. Next night's cron produces properly-structured files. Existing broken files (2026-04-18.md, 2026-04-19.md) can be backfilled with the same script pattern as scripts/wiki-canon-publish/fix-source-frontmatter.ts in the Bench monorepo — or left alone since daily canon is regenerative and supersedes itself. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 task
LightDriverCS
added a commit
that referenced
this pull request
Apr 28, 2026
Commits the bench-reflective-dreaming bundler stub (untracked since 2026-04-20). Should have shipped with #1 / #4 but was missed. Codex Anvil (gpt-5.5 xhigh) verdict: REPAIR. Initial bare `export const PLUGIN_RUNTIME` satisfied tsdown but failed the OpenClaw plugin loader contract (`src/plugins/loader.ts` rejects modules without `register`/`activate`). Repair: replaced with no-op `definePluginEntry`. Verified pnpm build emits dist/extensions/bench-reflective-dreaming/index.js + loader returns status: "loaded". 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Summary
Daily canon entries (
canon/YYYY-MM-DD.md) now emitpageType,id,status,createdAt,updatedAt,sourceIds,tagsin addition to the existingkind/date/titlefields. Backward-compatible (keepskind: canonanddate:).Why
Memory-wiki lint flags files without
pageType/idas errors. The BenchAGI canon-slice publisher (per Bench ADR-2026-04-19) skips files missing those fields. Without this fix, each night's fleet rollup was invisible to the shard-distribution pipeline.Impact
canon/2026-04-18.md,canon/2026-04-19.md) can stay as-is; daily canon is regenerative. Backfill possible with the pattern in scripts/wiki-canon-publish/fix-source-frontmatter.ts.Test plan
~/.openclaw/wiki/main/canon/<tomorrow>.md— verify frontmatter present.npx tsx scripts/wiki-canon-publish/publish.tsin the Bench monorepo — confirm the file is no longer skipped.openclaw wiki lint— confirm no new errors.Related
🤖 Generated with Claude Code