P0: Clearer MCP context layer for local LLM agents - #93
Closed
thunderdew-dawn wants to merge 61 commits into
Closed
Conversation
…y, and workflow terminology
…ct cleanup and mixer diagnostics
…e-specific project templates and update classification logic
…d of checking all family members
…ss, and drum tracks
Generated roadmap and changelog snapshots from GitHub source data.
Document human/agent workflows for local implementation, roadmap slicing, bug fixes, security alerts, and accepted feature planning.
Add common maintenance workflows for release execution, CI fixes, dependency updates, reviews, hotfixes, reverts, docs-only changes, API probes, and backports.
Require the GitHub planning/playbook docs for issue, roadmap, PR, release, security, maintenance, and probe work. Clarify that high-reasoning roadmap plans must be stored as GitHub issue comments.
Align source-of-truth guidance with the implemented GitHub snapshot workflow, update the post-migration Project #7 fingerprint, and sync closed issues in project automation.
Fetch the existing automation branch before pushing generated GitHub markdown snapshots with --force-with-lease.
Generated roadmap and changelog snapshots after completing issue #9.
* feat!: rename project to fls-pilot * test: support Python 3.10 rename assertions
* docs: remove v2.0.0 versioning from high-level tools header in README * docs: update README documentation to reflect current project scope, features, and workflow limitations * docs: add project status, CI, and technical specification badges to README
* docs: remove v2.0.0 versioning from high-level tools header in README * docs: update README documentation to reflect current project scope, features, and workflow limitations * docs: update capability matrix in README and add documentation requirements file * docs: clarify project rename rationale and fork divergence in README and NOTICE * docs: move generated snapshots to docs project * docs: reorganize project documentation into a structured MkDocs architecture and migrate legacy guides. add readthedocs.io support. closes #71 --------- Co-authored-by: Mokvana <daricha@posteo.org>
* docs: remove v2.0.0 versioning from high-level tools header in README * docs: update README documentation to reflect current project scope, features, and workflow limitations * docs: update capability matrix in README and add documentation requirements file * docs: clarify project rename rationale and fork divergence in README and NOTICE * docs: move generated snapshots to docs project * docs: reorganize project documentation into a structured MkDocs architecture and migrate legacy guides. add readthedocs.io support. closes #71 * docs: update README and development guide to emphasize knowledgebase-first and token-efficient architectural principles. * docs: add status badges and live documentation links to README * feat: add script to clean repository cache, build artifacts, and junk files * docs: relocate project overview and architecture description from user guide to landing page * refactor: move live capability probe scripts to the scripts/probes/ directory
* docs: fix paths for safety contract and roadmap documentation * docs: update readthedocs documentation link in README * docs: update path for safety-contract documentation in AGENTS.md
breaking commit
closes #56 P0: Define default safe UX contract
…nment diagnostics
…s and project data
…paths and execution commands for macOS and Windows
…disclosure policy
…sion validation, and robust pipx command handling
…stallation scripts
v3.0.0-beta.1 is the Setup Doctor, safe first-run, and Control Center validation beta. It stabilizes the v3 rename line for broader installation and runtime validation without expanding the 3.0 product scope. The previously planned v3.0.0-alpha.2 safety-core scope was folded into v3.0.0-alpha.1. No separate alpha.2 safety-core tag is planned for that scope. Beta.1 starts from the alpha.1 safety contract and focuses on setup and first-run reliability.
…organizer changes.
…plement UI animations throughout the control center
… state terminology
# Conflicts: # scripts/install_macos.sh # scripts/install_windows.bat
…iables and relative repository paths
…y to knowledgebase
Owner
Author
|
Closing this PR because it currently represents a broad v3/alpha → main integration with 61 commits and 332 changed files. This is too large and too mixed in scope for a focused P0 PR. The v3/alpha branch remains the integration branch for ongoing v3 work. Individual changes should be reviewed as small feature/fix/docs PRs into v3/alpha. A new v3/alpha → main release PR should only be opened once the alpha line is stable, tested, documented, and explicitly ready for main. |
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.
Description
This PR introduces a safer and more explicit MCP context layer for local LLM agents.
Problem
The current MCP surface already exposes useful tools and runtime resources, but recurring agent workflows still rely mostly on documentation and ad-hoc orchestration. This makes it harder for a local LLM agent to consistently choose the right context, respect FL Studio API boundaries, and follow the intended safety sequence for read-only analysis, dry-run planning, and approved writes.
Repeated user pain this addresses:
Desired outcome
A user or local LLM agent should be able to ask in plain language:
The MCP server should guide these requests through a predictable structure:
Desired workflow
This PR adds or prepares MCP prompt workflows for:
mix_reviewrouting_reviewproject_organizerproject_preflightplugin_chain_plannercomposition_scale_writeraudio_to_midi_or_reference_analysisapi_probebug_triageimplementation_slicerelease_prepareThe workflow prompts are intended to reuse the existing documentation under
docs/agents/prompts/where possible, so runtime behavior and documentation stay aligned.Current limitation
Without registered MCP prompts and clearer context/capability resources, agents must infer workflow order from scattered documentation and tool descriptions. This increases the risk of:
Proposed safe tool path
The implementation should keep existing high-level workflow tools as the preferred execution layer and add prompt/resource guidance around them.
Examples:
Mix review
fl://agent-briefing.fl://status.fl://mixer.fl_review_mix.fl_review_low_end_stereo.fl_mix_watch_startandfl_mix_watch_stop.fl_apply_mix_adjustmentunless the user explicitly approves one rollback-backed change.Routing review
fl_review_routing.fl_plan_routing_cleanup.Project organization
fl_plan_project_cleanup.Composition
Safety class
Primary safety class:
read-onlySecondary safety class for optional follow-up actions:
write-safe-requiredThis PR should not introduce new unsafe FL Studio mutations. Any persistent FL Studio write exposed or affected by this work must continue to require explicit user approval, scoped snapshotting, readback verification, changelog/rollback support, and clear user-facing before/after reporting.
FL Studio API evidence
This change is primarily an MCP interface and context-organization improvement. It should rely on existing, already exposed tools and existing documented project safety rules.
Evidence classification:
existingRisks and unsupported boundaries
This PR must not imply support for API-limited or prohibited behavior.
Unsupported or manual-only boundaries must remain explicit:
The new prompts/resources should make these boundaries easier for agents to discover, not weaker.
Implementation notes
Expected implementation shape:
Add
src/fls_pilot/prompts.py.Register prompt definitions from
src/fls_pilot/server.py.Reuse existing files under
docs/agents/prompts/where practical.Preserve existing tools and resource registrations.
Add compact context/capability resources such as:
fls://docs/safety-contractfls://docs/tool-policyfls://docs/knowledgebase-protocolfls://capabilities/supportedfls://capabilities/not-possiblefls://capabilities/api-limitsfls://capabilities/write-safetyImprove Knowledgebase lookup behavior only if it can be done as a focused, reviewable slice.
Add or update FastMCP registration checks where applicable.
Token and tool-surface impact
This PR is intended to reduce tool-selection noise and avoidable context dumping by making common workflows discoverable as prompts and compact resources.
It should not add redundant low-level tools. Any new MCP surface should be high-signal, workflow-oriented, and safety-preserving.
Related Issues
Closes #TODO
Checklist
AGENTS.mdanddocs/engineering/standards.mdare satisfied.pytest).python scripts/audit_tool_safety.py --fail-on-gapsandpython scripts/audit_tool_safety.py --fail-on-missing-safety-docs --format json).python scripts/audit_anti_vibe.py).