Skip to content

Refresh runtime support and harden MCP data paths - #33

Merged
Lyther merged 6 commits into
mainfrom
feat/grimoire-rev-skills
Sep 2, 2026
Merged

Refresh runtime support and harden MCP data paths#33
Lyther merged 6 commits into
mainfrom
feat/grimoire-rev-skills

Conversation

@Lyther

@Lyther Lyther commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Refresh the implemented runtime matrix to 25 targets: add DSH, Qoder, Qwen Code, and Kiro; retire VSCodium and Gemini CLI; align adapters, config routes, capabilities, subagents, and generated outputs.
  • Replace local JSONC, TOML, and YAML merge wheels with pinned maintained parsers while preserving user configuration and live outputs during stale cleanup.
  • Index rev-skills through Grimoire and harden source provenance, attribution, UTF-8 validation, and atomic index reopening.
  • Preserve Synapse memory identity across projects, reject stale supersession references, scrub forgotten content, and make notification coalescing deterministic.
  • Require demonstrated value before adding safeguards, compatibility branches, speculative scope, or tests of implementation trivia.

Verification

  • npm test (12 repository suites)
  • npm run check
  • npm run check:generated (25 targets)
  • PATH=/opt/homebrew/bin:$PATH npm test in mcps/grimoire (46/46)
  • PATH=/opt/homebrew/bin:$PATH npm test in mcps/synapse (40/40)
  • npm audit --omit=dev in the root and both MCP packages (0 vulnerabilities)
  • DSH and Qwen Code headless model probes through Ollama Cloud

Proof boundary

Qoder and Kiro model execution still require native account authentication. The intentionally dirty external source-pack worktrees are not part of these commits.

Serve the 121-skill pack from the registry instead of host catalogs.
index_root and pack-root git checks keep the pin honest.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T06:51:46.206424Z 5dcc388 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5dcc3889ff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 205 to 207
if (baseCommit !== "uncommitted" && !baseCommit.endsWith("-dirty")
&& (indexedSourceIsDirty(pack.path) || indexedSourceChanged(sourceSnapshots)
&& (indexedSourceIsDirty(pack.path, skillsRel) || indexedSourceChanged(sourceSnapshots)
|| (initialHead !== undefined && gitHead(pack.path) !== initialHead))) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recheck earlier packs after the full multi-pack build

When an earlier pack is modified while a later pack is being indexed—for example, a submodule update occurs during the lengthy second-pack scan—this check has already completed for the earlier pack, so its manifest and skill provenance retain the clean commit even though the source changed before publication. Because runtime freshness compares the database only with that manifest, the resulting outdated content is reported as healthy; retain each pack's snapshots/HEAD and validate all packs again immediately before the atomic rename.

Useful? React with 👍 / 👎.

Add DSH, Qoder, Qwen Code, and Kiro while retiring unsupported runtime surfaces. Use maintained structured parsers for config merges and preserve live outputs during stale cleanup.

Align adapters, registries, schemas, documentation, and install coverage with the 25-target matrix.
Bind each index to clean source bytes, commit state, attribution,
and registry membership. Reopen atomically replaced databases and
fail closed on malformed or non-UTF-8 skills.
Reject stale supersession references, keep cross-project records
read-only, and scrub forgotten content while retaining audit metadata.
Make notification coalescing deterministic without wall-clock gates.
Require demonstrated value before safeguards, prefer maintained
implementations over local wheels, and keep speculative findings from
expanding accepted work or its tests.
@Lyther Lyther changed the title Index Lyther/rev-skills in Grimoire Refresh runtime support and harden MCP data paths Sep 2, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 232c7b2. Configure here.

Comment thread mcps/grimoire/src/indexer.ts
Prevent packs from attributing content reached through a symbolic
SKILL.md. A real-filesystem regression points outside the pack and
proves that indexing fails closed.
@Lyther
Lyther merged commit cbcc55e into main Sep 2, 2026
3 checks passed
@Lyther
Lyther deleted the feat/grimoire-rev-skills branch September 2, 2026 13:02
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