Skip to main content

Manifest reference

Phonton extension files are TOML. The loader parses them locally and reports diagnostics through phonton extensions doctor.

Skill manifest

[skill]
id = "review-gate"
name = "Review Gate"
version = "0.1.1"
entry = "SKILL.md"
trust = "text-only"
recommended_verify = ["phonton review latest", "phonton extensions doctor"]

Field notes:

FieldRequiredNotes
idyesStable id used in reports and profiles.
namenoHuman-readable label. Defaults to id.
versionnoDefaults to 0.1.0.
entrynoDefaults to SKILL.md.
trustnoDefaults to text-only.
pathsnoPath applicability patterns.
languagesnoLanguage labels such as rust or typescript.
recommended_verifynoCommands surfaced as verification suggestions.

Steering manifest

[[rules]]
id = "review-gate.verification-output"
name = "Verification output"
severity = "fail"
text = "A completed change must report which verification commands ran, passed, failed, or were not run."

MCP manifest

MCP servers can live in one shared .phonton/mcp.toml file or in separate .phonton/mcp.d/*.toml files. Separate files are useful when a workspace tracks more than one server manifest.

[[servers]]
id = "workspace-filesystem-readonly"
name = "Workspace filesystem readonly"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "."]
trust = "read-only-tool"
permissions = ["fs.read.workspace", "process.run"]
enabled = true

MCP definitions request capability. They do not grant it. Phonton still applies workspace trust, approval policy, and tool-call checks before running tools.

Profile manifest

[[profiles]]
id = "review-gate"
name = "Review Gate"
activates = ["review-gate", "review-gate.changed-files", "review-gate.verification-output"]
max_tokens = 120000

Trust levels

TrustUse for
text-onlySkills and steering that only add prompt context.
read-only-toolTooling that reads workspace data.
mutating-toolTooling that can write files or mutate local state.
networked-toolTooling that can make network requests.

Permissions

Supported permission labels include:

  • fs.read.workspace
  • fs.read.outside-workspace
  • fs.write.workspace
  • fs.write.outside-workspace
  • process.run
  • network.request
  • git.write