“Add search” sounds like a task, but leaves a lot undecided. What can be searched? Should a misspelling still find a result? Does searching start while someone types or after they press a button? An agent that starts coding has to make those choices somewhere, even if nobody has discussed them.
I built ctxforge to bring that discussion before implementation. The idea is to use an LLM's engineering knowledge as an interviewer: ask relevant questions, uncover constraints and turn a loose idea into an agreed task.
The public experimental toolkit installs editable Markdown instructions and project notes through a Node command-line tool. It provides a process for the conversation. It does not enforce the resulting scope or guarantee that the model will follow it.
Ask the questions that change what gets built
The README uses search as a teaching example. Its questions cover the data, number of items, matching, when results should appear, acceptable response time and accessibility.
The answers can lead to quite different work. Searching a small list of names on demand has different requirements from searching a large catalogue while someone types, including misspellings. Calling both “search” would hide the decisions the implementation needs.
For a new project, the entry document starts with its vision, technical foundation and the first thing a user should be able to do. It then selects a task-specific protocol for more detail. For a bug, the questions change: the core document's duplicate-search example asks how to reproduce it and whether it happens consistently or intermittently. It directs the assistant toward investigation.
Both search examples belong to the repository's explanation. They are not reported client incidents or benchmark results.
The intended outcome is an agreed task with expected behavior, constraints and open decisions. A coding agent can then work from those answers instead of silently supplying its own.
Show the assumptions while they can still be corrected
The core instruction is explicit:
Make ALL technical assumptions explicit
Show confidence levels (HIGH/MEDIUM/LOW)
Present inferences BEFORE writing any code
Wait for human approval/correctionThis excerpt is from CORE.md. After questioning, the assistant should state what it inferred before it implements anything. A proposal about storage, matching or an error case is then available for the person to correct.
The confidence words help identify an assumption. They are not measured probabilities and do not make it true. The person still has to judge whether the proposal matches what they need.
Load the questions for the current task
- 01CORE.mdIdentify the request type
- 02One protocolRead its discovery questions
- 03AssumptionsShow confidence and unresolved choices
- 04project.mdSave decisions for the next session
I have challenged unsupported precision in related work too. In a separate narrative-agent discussion, I asked for the evidence behind a 1,500-token budget and four calls per day. The assistant acknowledged they were estimates and revised the document toward configurable starting values. That exchange supports questioning defaults; it is not a result achieved by ctxforge.
Keep the agreed context available for the next session
The toolkit installs six core documents and 16 task protocols. An entry document chooses the relevant protocol, so the assistant need not load every workflow for each request.
Project decisions and learnings live in project.md. Its initial structure records the vision, stack, current focus and next task. The initializer preserves an existing copy. After a task, the instructions ask for a state snapshot describing what changed, what is current and what a later session needs to know.
A later session can use that state to recover the project and current task. Older discussion can leave the active context while relevant decisions remain available. Reload instructions return the assistant to the core protocol, project state and quality directives. These are instructions to the assistant, rather than a runtime memory guarantee.
The explanation needed work too
Programmers I showed the toolkit to did not fully understand its README, even though they were experienced. I asked for simpler examples without bragging. That was a useful check on whether I could explain the purpose independently of the file structure and terminology.
The implemented result is a public, editable framework with CLI checks and protocols that can be inspected and tried. The reason to try it is concrete: make the questions and assumptions visible before handing a task to a coding agent. I have not established a controlled reduction in mistakes, delivery time, hallucinations or token use.
Project sources & checks
The user says skilled programmers shown the work did not fully understand the README, and asks for clearer examples without bragging.
Version 3.1.2 contains the Node initializer, six core documents and 16 task protocols. CORE.md defines questioning, intent routing, explicit assumptions, project snapshots and reload instructions.
The excerpt below is from CORE.md. Search and duplicate-result examples are repository teaching examples, not reported production incidents or benchmark results.
In a separate narrative-agent research conversation, the user challenges the basis for a 1,500-token budget and four calls per day. The assistant admits those were estimates and revises the document toward configurable starting values.
An implemented experimental toolkit and existing CLI checks, without a controlled productivity, token-saving or hallucination-reduction benchmark.