Develop - #105
Merged
Merged
Conversation
…-in trigger repair PreToolUse recurrence gate: when the exact action has already failed >=2x and a captured lesson covers it, re-inject the covering rule above the recall bullets as a RECURRENT FAILURE escalation that cuts through session dedup. Advisory-only, once per action per session; the escalation is the rule's delivery so it is shown exactly once (recall body dedups it). Per-session telemetry: recordDelivered/recordFailure/recall telemetry take an explicit harness session_id that wins over the AGENTSMESH_SESSION_ID env fallback, plus a per-batch relevance rank on delivered rows, so stats group by real sessions and a failure only impeaches deliveries within its own session. Opt-in repairTriggers config (default false): narrow broad/wide file globs toward the evidence file's directory class, add matchable keyword variants, drop dead keywords - warn-only via NARROWED_GLOB/KEYWORD_VARIANT_ADDED/DROPPED_KEYWORD, never blocks a capture, never rewrites a glob to itself. Split captureLesson into capture.ts for the 200-line cap; update CLI/MCP/public importers. Docs (README + cli/reference mdx), changeset, and resynced .agentsmesh/.lock (0.30.1 -> 0.31.0).
…th current repo Pin pnpm 10 (pnpm 11 trips --frozen-lockfile on the lockfile); note CI Node 22/24; document the husky pre-commit gate and lint:dead. Add the load-bearing rules that were missing: never edit generated files (.agentsmesh is source of truth), docs must stay current, strict artifact tests, explicit return types/interface shapes. Add a dedicated Changesets section (published surface vs no-ship dirs; never hand-edit version/CHANGELOG). Expand the real CI gate list and fix the mis-nested capabilities heading.
Transitive via @modelcontextprotocol/sdk > ajv > fast-uri (was 3.1.2). Clears GHSA-v2hh-gcrm-f6hx and GHSA-4c8g-83qw-93j6 (host confusion) so 'pnpm audit --prod --audit-level=high' passes CI. Override added to package.json + pnpm-workspace.yaml and lockfile regenerated with pnpm 10 (lockfile stays 9.0); frozen install verified exit 0.
Codecov Report❌ Patch coverage is
🚀 New features to boost your workflow:
|
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.
What does this PR do?
Type of change
Checklist
pnpm test,pnpm lint,pnpm typecheck)pnpm changeset) for user-visible changes