feat: results-inspector MCP server — mirrored core + lens layer#75
Merged
Conversation
Mirrors the autofit_assistant MCP core byte-identically (tools.py, __main__.py) and adds the lens layer: al.agg enum resolution for combine_lens_images (AggregateImages) and extract_lens_fits (AggregateFITS), 10 tools total. Includes the al_inspect_results_mcp skill, .mcp.json, audit-sweep wiring and fixture tests. Phase 2 of PyAutoLabs/autofit_assistant#12. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
Adds the read-only results-inspector MCP server, lens edition (
autoassistant/mcp/): the core tools are byte-identical mirrors ofautofit_assistant:autoassistant/mcp/(tools.py,__main__.py—diffthem when syncing; graduation to anautofit[mcp]extra is the recorded de-dup path), plus this repo's own lens layer — extract/combine named subplot panels and FITS HDUs across every fit in a directory via theal.aggenum groups. Phase 2 of PyAutoLabs/autofit_assistant#12.Lens tools:
list_extractable_images(theal.agggroups/names as "group.name" specs),combine_lens_images(af.AggregateImages, rendered inline in chat),extract_lens_fits(af.AggregateFITS, written only to an explicit destination outside the output directory).Scripts Changed
autoassistant/mcp/tools.py,autoassistant/mcp/__main__.py— byte-identical mirrors of the autofit_assistant coreautoassistant/mcp/lens_tools.py— the lens layer: string-spec resolver overal.aggenums +AggregateImages/AggregateFITSwrappersautoassistant/mcp/server.py— mirrored core registrations + the 3 lens tools (10 tools total)autoassistant/tests/test_mcp_tools.py— mirrored core tests + lens tests; fixture runs a real tiny fit, then plants a subplot-grid png (named viasubplot_filename) and afit.fitswithFITSFitHDUs (10 tests)skills/al_inspect_results_mcp.md— new skill (tool table, client config, deployment tiers, mirror/sync rules); registered inskills/README.md+.claude/skills/symlinkskills/al_setup_environment.md— one-linepip install mcpnoteautoassistant/audit_skill_apis.py—autoassistant/mcp/*.pyjoins the symbol-audit scan.mcp.json— Claude Code registrationTest Plan
autoassistant/tests/— 62 passed (includes the 10 new MCP tests)audit_skill_apis.py --scope all— 0 missing/broken (mcp files scanned)Generated by the PyAutoLabs agent workflow.