Why This Exists
Current defaults still drift from real Foundry workflows, especially in compute-heavy repos. We need a policy model that is deterministic, easy to reason about, and easy to maintain.
Locked Decisions (For This Issue)
- Profile detection will use hard signatures only. No soft keyword scoring for classification.
- If no hard signature is found, use a single fallback profile:
default.
- Remove the
all vs unknown split and do not keep compatibility aliases.
- Tool policy is default-enable from discovered MCP tools, with only explicit deny rules.
- Maintain a complete inventory that includes both
mcp_tool and platform_api entries.
- Fix inventory CSV formatting so it opens/loads consistently across common tools.
Scope
In scope:
- Replace heuristic scoring with hard-signature detection.
- Consolidate fallback behavior into one profile (
default).
- Keep global
agent.foundry.mode = "all" behavior when mode is unset.
- Centralize profile policy defaults in one obvious location.
- Keep setup/rescan output explicit about selected profile and profile source.
- Normalize inventory data files while preserving full API coverage (
mcp_tool + platform_api).
Out of scope:
Success Criteria
High-Level Plan
- Define hard-signature matcher set and precedence.
- Replace profile taxonomy to use specific profiles + single
default fallback.
- Apply unified policy generation (default-enable + explicit denies) across setup/bootstrap/rescan.
- Update command summaries to reflect new profile semantics.
- Normalize inventory generation/output format and keep full API inventory.
- Add focused regression coverage and run full verification gates.
Dependencies
Why This Exists
Current defaults still drift from real Foundry workflows, especially in compute-heavy repos. We need a policy model that is deterministic, easy to reason about, and easy to maintain.
Locked Decisions (For This Issue)
default.allvsunknownsplit and do not keep compatibility aliases.mcp_toolandplatform_apientries.Scope
In scope:
default).agent.foundry.mode = "all"behavior when mode is unset.mcp_tool+platform_api).Out of scope:
Success Criteria
default.allandunknownare removed from active profile selection, with no alias fallback.agent.foundry.modeis set toallonly when missing, and explicit user mode is preserved.mcp_toolandplatform_api) and parse cleanly.High-Level Plan
defaultfallback.Dependencies