Documentation Index
Fetch the complete documentation index at: https://docs.gascityhall.com/llms.txt
Use this file to discover all available pages before exploring further.
Pack V2 Migration Guide
This guide covers the migration path for packs that still declare agents with v1[[agent]] blocks while also using v2 convention-discovered agent
directories.
The duplicate-agent diagnostic links here when Gas City finds both of these
definitions for the same agent name after pack composition:
Recommended Migration
Use the v2 agent directory layout for new and migrated packs.- Create
agents/NAME/. - Move the v1
[[agent]]fields for that agent intoagents/NAME/agent.toml. - Move the agent prompt into
agents/NAME/prompt.mdwhen the prompt is part of the pack. - Move agent-specific assets into the same directory:
overlay/,skills/,mcp/, andtemplate-fragments/. - Delete the old
[[agent]]block frompack.tomlorcity.toml. - Run the config-loading tests or
gc doctorflow that exposed the collision.
doc-agent-v2.md. For the pack and city model, see
doc-pack-v2.md.
Field Mapping
Most scalar fields move directly from the v1[[agent]] block into
agent.toml:
prompt_template path. If the prompt belongs only to this agent, prefer
agents/worker/prompt.md and reference it as prompt.md.
Collision Resolution
When the diagnostic reports a v1/v2 layout collision, inspect both source lines:- Keep the v2 directory and remove the v1
[[agent]]block. - Keep the v1 block temporarily and remove the v2 directory.
- Rename one agent if the two definitions are intentionally different roles.