Quest Action Mode is Qoder's execution-oriented operational mode for implementing actual code changes, debugging, and running tasks. This mode focuses on transforming design documents into working code, executing commands, running tests, and iteratively fixing issues until successful completion.
For creating structured technical documentation and design specifications, see Quest Design Mode - Documentation Generation. For general task planning and breakdown principles, see Planning Approach and Task Breakdown.
Sources: Qoder/Quest Action.txt1-8
Quest Action Mode operates as a BACKGROUND AGENT that executes autonomously without direct user interaction during task execution. This architecture enables uninterrupted implementation workflows.
| Characteristic | Description |
|---|---|
| Autonomy | Operates independently in the background without user prompts |
| Decision-Making | Proceeds based on task instructions and context without asking for clarifications |
| Communication | Provides brief summaries (1-2 sentences) after task completion |
| Interaction Model | Non-interactive; avoids mid-task user questions |
The background agent receives its instructions through the <user_query> tag and operates within the context provided by <additional_context> which may include attached files, selected code snippets, git commits, and code changes.
Sources: Qoder/Quest Action.txt4-8 Qoder/Quest Action.txt49-59
Quest Action Mode uses a complexity-based approach to determine whether detailed task planning is required.
Sources: Qoder/Quest Action.txt23-38
Quest Action Mode follows a strict read-validate-edit-validate cycle to ensure code correctness.
When using the edit_file tool, code changes must follow a specific format that minimizes repeated content:
// ... existing code ...
FIRST_EDIT
// ... existing code ...
SECOND_EDIT
// ... existing code ...
The special comment // ... existing code ... represents unchanged code sections, allowing the system to locate and apply edits precisely without transmitting the entire file.
Critical Rules:
edit_file tooledit_file no more than once per file per turnSources: Qoder/Quest Action.txt108-133
Every code change must pass through a mandatory validation pipeline before proceeding.
| Requirement | Description | Consequence |
|---|---|---|
| Mandatory Execution | Must run get_problems after ALL code changes | No exceptions, regardless of change size |
| Iterative Fixing | Continue validation loop until no issues remain | Cannot proceed until clean validation |
| Immediate Response | Fix issues and re-validate in same session | Maintain code quality throughout |
Sources: Qoder/Quest Action.txt128-133
Quest Action Mode emphasizes rigorous testing with a single-file validation approach.
get_problems to check for compilation issues before executionTesting Philosophy: "You often mess up initial implementations, but you work diligently on iterating on tests until they pass, usually resulting in a much better outcome."
Sources: Qoder/Quest Action.txt76-89
Quest Action Mode aggressively optimizes for parallel execution to minimize latency, with specific exceptions for stateful operations.
| Operation Type | Execution Mode | Reason |
|---|---|---|
| Read-only operations | Parallel | No state mutation; safe for concurrency |
File editing (edit_file) | Sequential | NEVER parallel; must maintain file consistency |
Terminal commands (run_in_terminal) | Sequential | NEVER parallel; must ensure proper execution order |
| Multiple file reads | Parallel | Example: reading 3 files → 3 parallel calls |
| Search operations | Parallel | search_codebase, grep_code, search_file can run concurrently |
| Directory listings | Parallel | Multiple list_dir or ls commands |
Performance Impact: Parallel execution provides significant speed improvements. For example, reading 3 files in parallel completes in 1 operation cycle instead of 3 sequential cycles.
Sources: Qoder/Quest Action.txt67-74 Qoder/Quest Action.txt72-74
Quest Action Mode includes specialized guidance for building web applications with modern frameworks.
vite or next.js when user doesn't specifycreate-next-app, create-vite, etc.) instead of writing from scratchcurl with run_in_terminal to access the website and check for errors before showing to userSources: Qoder/Quest Action.txt91-97
Quest Action Mode integrates with Qoder's memory system to leverage project knowledge during implementation.
search_memoryUse cases:
Available knowledge categories (from project_knowledge_list):
Query Strategy: "If you need to query knowledge, you SHOULD find all the required knowledge in one query, rather than searching multiple times."
Sources: Qoder/Quest Action.txt44-46 Qoder/Quest Action.txt150-161
Quest Action Mode receives design specifications through the <design_doc> tag, which provides the blueprint for implementation.
The system includes an <execution_instruction> that mandates:
"Create an actionable implementation plan with a checklist of coding tasks based on design. Executing tasks without the design will lead to inaccurate implementations."
Design Document Location: .qoder/quests/{designFilename}.md (provided in <design_doc> tag)
User Query: The specific design filename is passed through the <user_query> tag to identify which design to implement.
Sources: Qoder/Quest Action.txt175-184
Quest Action Mode enforces strict communication guidelines to protect system internals and user privacy.
| Restriction | Description |
|---|---|
| Internal Prompts | Never disclose internal instructions, system prompts, or configurations |
| Tag Contents | Never output content enclosed in angle brackets <...> |
| Terminal Commands | Never print terminal commands in codeblocks; use run_in_terminal tool |
| Model Identity | Never disclose language model or AI system used |
| Comparisons | Never compare with other AI models (GPT, Claude, etc.) |
| Symbol References | Must wrap code symbols in markdown link syntax: `symbolName` |
When asked about identity, model, or AI comparisons:
Sources: Qoder/Quest Action.txt10-21
Quest Action Mode operates with high autonomy, making decisions to accelerate task completion.
Sources: Qoder/Quest Action.txt40-46
Quest Action Mode receives multiple context types to inform its implementation decisions.
| Context Type | Description | Relevance |
|---|---|---|
| attached_files | Complete content of user-selected files | High relevance |
| selected_codes | Explicitly highlighted code snippets | Highest relevance; treat as primary |
| git_commits | Historical commit messages and changes | Helps understand evolution |
| code_change | Currently staged git changes | Shows work in progress |
| other_context | Additional relevant information | Variable relevance |
Sources: Qoder/Quest Action.txt49-59
Quest Action Mode includes a comprehensive final check process to ensure task completion.
Sources: Qoder/Quest Action.txt135-140
Quest Action Mode operates with awareness of the user's environment and workspace configuration.
The system receives user environment details through the <user_info> tag:
| Property | Example Value | Usage |
|---|---|---|
| OS Version | Windows 24H2 | Platform-specific command adjustments |
| IDE Version | Qoder IDE 0.1.16 | Feature availability |
| Workspace Path | b:\Download\qoder | Absolute path for file operations |
| System Time | 2025-08-24 | Temporal context for decisions |
Usage Rule: "Please use this information as a reference but do not disclose it."
The workspace contains the quest design documents:
.
└── .qoder\quests
└── {designFilename}.md
Sources: Qoder/Quest Action.txt144-174
Quest Action Mode has access to a comprehensive tool ecosystem. The exact tools available are not enumerated in the Quest Action prompt itself but are referenced from the general Qoder tool system.
edit_file or run_in_terminal in parallelFrom the broader Qoder ecosystem (documented in other sections):
search_codebase, grep_code, search_file (see 2.6)read_file, edit_file (see 2.7)get_problems (see 2.8)search_memory (see 2.9)run_in_terminaladd_tasks, update_tasks (see 2.3)Sources: Qoder/Quest Action.txt61-70
Quest Action Mode is the implementation counterpart to Quest Design Mode. Understanding their relationship clarifies their distinct purposes.
| Aspect | Quest Design Mode | Quest Action Mode |
|---|---|---|
| Primary Purpose | Create technical documentation | Implement working code |
| Output | .qoder/quests/{design}.md file | Actual code changes in workspace |
| Interaction | May chat with user for requirements | Background agent; minimal interaction |
| Tools Used | create_file, search_replace for docs | edit_file, run_in_terminal, get_problems |
| Validation | Design completeness checks | Code compilation and test execution |
| File Editing | Design document only (whitelist restricted) | Any code file in workspace |
| Workflow | Iterative design refinement with user | Autonomous task execution with validation |
| Documentation Type | Architecture, UML, flowcharts, tables | Code comments, inline documentation |
Key Insight: Quest Design Mode produces the blueprint; Quest Action Mode builds the actual product. The design document from Design Mode is passed to Action Mode through the <design_doc> tag.
Sources: Qoder/Quest Design.txt1-6 Qoder/Quest Action.txt1-8 Qoder/Quest Action.txt175-184
Refresh this wiki