Skip to content

bug: tutorial city has excess agent use even with no beads #698

@dlstadther

Description

@dlstadther

Before you continue

  • I searched existing issues and did not find a duplicate.
  • I read the relevant docs and contributor guidance.

Gas City version

0.14.0

Environment

mac, zsh

Reproduction

  1. gc init ~/gc-test
  2. gc start
  3. wait a short time
  4. observe agent sessions (2 mayor sessions; then 3 dogs looping new sessions)
  5. depending on your usage plan, session usage will get consumed fairly quickly (Claude Pro plan session used 75% in ~10 minutes)

Expected behavior

No rigs and no user-created beads shouldn't consume excess usage. Or at least the "tutorial" config template should be light enough to allow users to make mistakes and get the hang of gascity.

Actual behavior

Claude session limits are hit in a matter of minutes (on Pro plan). (Yes, this is a small plan which wouldn't be suitable for serious gascity usage, but there's no reason why this shouldn't be acceptable for a tutorial-level trial and small experimentation)

Logs, screenshots, or traces

~/gc-tutorial > gc version
0.14.0

√ ~/gc-tutorial > gc init ~/gc-test
Welcome to Gas City SDK!

Choose a config template:
  1. tutorial  — default coding agent (default)
  2. gastown   — multi-agent orchestration pack
  3. custom    — empty workspace, configure it yourself
Template [1]:

Choose your coding agent:
  1. Claude Code  (default)
  2. Codex CLI
  3. Gemini CLI
  4. Cursor Agent
  5. GitHub Copilot
  6. Sourcegraph AMP
  7. OpenCode
  8. Auggie CLI
  9. Pi Coding Agent
  10. Oh My Pi (OMP)
  11. Custom command
Agent [1]:
[1/8] Creating runtime scaffold
[2/8] Installing hooks (Claude Code)
[3/8] Writing default prompts
[4/8] Writing default formulas
[5/8] Writing city configuration
Created tutorial config (Level 1) in "gc-test".
[6/8] Checking provider readiness
[7/8] Registering city with supervisor
Registered city 'gc-test' (/Users/dlstadther/gc-test)
Installed launchd service: /Users/dlstadther/Library/LaunchAgents/com.gascity.supervisor.plist
[8/8] Waiting for supervisor to start city

√ ~/gc-tutorial > cat city.toml
[workspace]
name = "gc-tutorial"
provider = "claude"

[[agent]]
name = "mayor"
prompt_template = "prompts/mayor.md"

[[named_session]]
template = "mayor"
mode = "always"~/gc-tutorial > echo "starting at 25% usage"
starting at 25% usage

√ ~/gc-tutorial > gc start
Registered city 'gc-tutorial' (/Users/dlstadther/gc-tutorial)
Installed launchd service: /Users/dlstadther/Library/LaunchAgents/com.gascity.supervisor.plist
[8/8] Waiting for supervisor to start city
City started under supervisor.

√ ~/gc-tutorial > gc stop
Unregistered city 'gc-tutorial' (/Users/dlstadther/gc-tutorial)
Reconciliation triggered.
City stopped.

Additional context

agentsview for this local gc-test project
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBroken behaviorpriority/p2Medium — real problem, workaround exists

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions