fix(memory): improve extraction, indexing, and scanner reliability - #90
Merged
Merged
Conversation
… support - Memory extract: fix Rust is_exported and signature attribute skipping; resolve JS/TS arrow functions and export statements; strip Python raw route prefixes; isolate superclass name in class inheritance. - Memory store: configure SQLite busy_timeout to 5s; fix schema_version retention in reset; copy commit/last_indexed metadata on artifact import; fix receiver-scoped callees_of filtering; improve module_stem extension stripping. - Memory cypher: allow legitimate identifiers (delete, select, create) in string literals without triggering read-only keyword rejection; quote-aware find_keyword. - Memory trace: prevent sideways walks in Direction::Both by tracking branch direction during BFS. - Harnesses: add AgentTarget::Omp with rules, skills (.agents/skills), hooks (.agents/hooks.json), and MCP support; update Codex block hook wire format; add typed DetailArg/DirectionArg enums for MCP tools. - Core gate: run secret scanning prior to syntax error early return; populate end_line on duplicate block findings and include arrow_function in clone scope; normalize baseline evidence for FG-DRY rules. - Tests: add regression tests for memory extraction, cypher identifier safety, OMP project initialization, and CLI updates.
Member
|
Hey @badrus123, thanks for putting this together! The bugfixes across the memory subsystem & core scanner look really solid:
That said, I have a few major architectural concerns regarding the OMP harness integration:
Suggested Path Forward:
What do you think? |
mulhamna
approved these changes
Sep 20, 2026
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
Fixes correctness and stability issues across ForgeGuard's memory subsystem, scanner, duplication detection, coverage handling, MCP schema, and command runner.
OMP integration has been removed from this PR. It remains out of scope until
suiflex/kurirprovides native OMP skill-directory, hook-file, and hook-registration support.Changes
User-visible result
kurirsupport is released.Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --locked --workspacecargo build --locked --workspace --releasesh tests/install_test.shsh tests/wizard_test.shforgeguard gate --changed --output compactguardener / forgeguardcheck