Skip to content

Add Loop Wiki local knowledge store#11

Merged
rlaope merged 1 commit into
mainfrom
codex/loop-wiki-v1
Jun 13, 2026
Merged

Add Loop Wiki local knowledge store#11
rlaope merged 1 commit into
mainfrom
codex/loop-wiki-v1

Conversation

@rlaope

@rlaope rlaope commented Jun 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add markdown-first Loop Wiki storage under .loop/wiki/user, with derived AI memory, index, and graph artifacts.
  • Add loop wiki list/read/open/serve plus localhost-only dashboard startup controls for loop run.
  • Make post-policy wiki writes part of CLI success, with exit code 6 after durable run state is preserved on wiki failures.
  • Harden run/wiki identity and data ownership: nonce-backed run IDs, hashed note IDs, and persistent preservation of human-edited canonical markdown.

Verification

  • node --test test/wiki-store.test.js test/adapter.test.js test/safety.test.js
  • npm test
  • npm run lint
  • npm run typecheck
  • git diff --check
  • npm audit --omit=dev
  • npm pack --dry-run --json

Review

  • Code review lane: 0 issues after fixes; final recommendation COMMENT only because optional LSP/AST tools were unavailable in this session, with tsc --noEmit and rg used as substitutes.
  • Architecture lane: CLEAR.

Risks

  • Dashboard startup is intentionally optional and soft-fail; run execution does not depend on dashboard availability.

Signed-off-by: rlaope <piyrw9754@gmail.com>
@rlaope rlaope merged commit 0409909 into main Jun 13, 2026
2 checks passed
@rlaope rlaope deleted the codex/loop-wiki-v1 branch June 13, 2026 09:29
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.

1 participant