Skip to content

[BOUNTY: 10 RTC] Add .trashclaw.toml project config with auto-loaded context files #67

@Scottcjn

Description

@Scottcjn

Bounty: 10 RTC

Task

Support a .trashclaw.toml (or .trashclaw.json) project config that auto-loads specified files into context on startup.

Requirements

  • Read .trashclaw.toml from CWD on startup
  • Support fields:
    • context_files = ["src/main.py", "README.md"] — auto-loaded into conversation
    • system_prompt = "You are a Rust expert" — appended to system prompt
    • model = "codestral" — override model name
    • auto_shell = true — skip shell approval
  • Existing .trashclaw.md support stays (this is additive)
  • Use stdlib tomllib (Python 3.11+) with JSON fallback for older Python

Why

Projects should be able to configure TrashClaw behavior per-repo. Drop a config file in your project and TrashClaw knows what to load.

Wallet: Drop your wallet name when you submit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions