Skip to content

feat: scope auto-resolve + context split for parallel loading#24

Merged
George-iam merged 2 commits intomainfrom
feat/scope-resolve-and-context-split-20260407
Apr 7, 2026
Merged

feat: scope auto-resolve + context split for parallel loading#24
George-iam merged 2 commits intomainfrom
feat/scope-resolve-and-context-split-20260407

Conversation

@George-iam
Copy link
Copy Markdown
Contributor

Summary

  • Scope auto-resolve: when scope: ["repo-name"] is passed without project_path, server resolves to workspace/repo-name automatically. Applies to axme_save_memory, axme_save_decision, axme_finalize_close.
  • Context split: axme_context now returns compact meta (~5-10K) + instructions to call axme_oracle, axme_decisions, axme_memories in parallel. Each sub-call fits within tool output limits.
  • New tool: axme_memories - returns all memories (workspace-aware merge)
  • Truncated output fallback: MCP instructions tell agent to Read full file if any output is truncated
  • Worklog reduced from 5 entries to 1 in context

Test plan

  • scope auto-resolve: tested with scope: ["axme-code"], scope: ["all"], no scope
  • Reload VS Code, call axme_context - verify compact output with parallel load instructions
  • Call axme_oracle, axme_decisions, axme_memories in parallel - verify each returns data

When scope contains a specific repo name (not "all") and project_path
is not provided, server resolves to workspace/repo-name automatically.
Applies to axme_save_memory, axme_save_decision, and axme_finalize_close.
Prevents repo-scoped data from landing in workspace storage.
axme_context now returns only compact meta (safety, handoff, last worklog
entry, plans, warnings) plus instructions to call axme_oracle,
axme_decisions, axme_memories in parallel. Each sub-call fits within
tool output limits.

- Add axme_memories tool (workspace-aware merge)
- Add TRUNCATED OUTPUT RULE to MCP instructions
- Reduce worklog from 5 entries to 1 in context
- Update CLAUDE.md template with new tool list
@George-iam George-iam merged commit d2ecff4 into main Apr 7, 2026
@George-iam George-iam deleted the feat/scope-resolve-and-context-split-20260407 branch April 7, 2026 15:26
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