|
Download tasks/data/reverse/0x0501__gothic.aeb9179/environment/docs/usage.md from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 2.31 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/0x0501__gothic.aeb9179/environment/docs/usage.md
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/reverse/0x0501__gothic.aeb9179/environment/docs/usage.md
-
curl -L -o usage.md https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/0x0501__gothic.aeb9179/environment/docs/usage.md
2.31 kB
Gothic — Cleanroom Usage Documentation
Gothic is a CLI automation tool for agentic IDEs (Cursor, Trae, Kiro, Codex, etc.). It launches the IDE, connects through CDP, submits tasks, tracks task state, and handles human-in-the-loop (HITL) actions automatically.
Build
cargo build --release
Configuration
Generate a config file in the working directory:
cargo run -- config init --path .\config.jsonc
Validate it:
cargo run -- config check --path .\config.jsonc
Example configuration (JSONC):
{
"$schema": "assets/config-schema.json",
"trae_executable_path": "C:\\Program Files\\Trae\\Trae.exe",
"command_strategy": "allow",
"question_strategy": "auto",
"max_concurrent_task": 5,
"max_task_action_retry": 3,
"task_poll_interval_ms": 2000,
"logging": {
"directory": "logs",
"level": "info"
},
"model": {
"api_key": "",
"base_url": "",
"model_name": "gpt-5-mini"
}
}
Usage
Run tasks and listen for incoming events:
gothic run trae --task "Task A" --task "Task B"
Config Fields
| Field | Description |
|---|---|
trae_executable_path |
absolute path to Trae.exe |
command_strategy |
allow, deny, or llm |
question_strategy |
skip, auto, or llm |
max_concurrent_task |
reserved for future scheduling |
max_task_action_retry |
retry limit for automated task actions |
task_poll_interval_ms |
task polling interval |
logging.directory |
log directory |
logging.level |
default tracing filter |
model.api_key |
API key for OpenAI-compatible endpoints |
model.base_url |
base URL for OpenAI-compatible endpoints |
model.model_name |
model used for question_strategy = "llm" |
CLI Subcommands
config init --path <file>— generate a starter config file.config check --path <file>— validate a config file.run trae --task "<text>" [--task "<text>" ...]— submit one or more tasks to a launched Trae IDE instance and track them.
Input / Output
- Input: JSONC configuration file (schema in
assets/config-schema.json); tasks are passed as--taskstring flags. - Output: task execution logs written to the configured
logging.directory(defaultlogs).
License
MIT