cortical_next_prompt
Harvest repo, issue, ADR, and memory state, then run a confidence gate or browser questionnaire to synthesize a precise continuation prompt.
Instructions
Harvest repo/issue/ADR state + loop_memory, run 5-Trigger confidence gate or open one-shot ephemeral loopback browser questionnaire, and synthesize a high-precision continuation prompt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cortical_next_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response and questionnaire language (auto-detected from seed or explicit en/it). | auto |
| mode | No | Execution mode: browser (ephemeral 127.0.0.1:0 questionnaire), tui, auto, or auto_if_confident. | auto |
| seed | No | Short rough idea, seed request, or empty when resume=true. | |
| issue | No | Optional GitHub Issue number to anchor repository context on. | |
| resume | No | Resume from the latest saved loop memory snapshot. | |
| target | No | Target profile/harness (pi, argon, neon, hybrid, general, claude-code, codex, antigravity, opencode, dsh). | |
| browser | No | Browser launcher preference when mode=browser. | default |
| persona | No | Questioning style: auto-detect, plain-spoken colleague mode, or technical engineering mode. | auto |
| detail_tier | No | Privacy detail tier applied when privatizing attached files or directories. | medium |
| timeout_sec | No | Timeout in seconds before the ephemeral loopback elicitor server closes automatically. | |
| attach_paths | No | Optional files or directories to privatize into the 3+1 Second Brain before synthesizing. | |
| reconcile_brain | No | When true, reconcile cross-document concepts and detect numeric/date discrepancies. | |
| auto_curate_skill | No | When true, generate a reusable zero-PII SKILL.md from the reconciled session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| prompt | Yes | ||
| target | No | ||
| escalated | No | ||
| mode_used | Yes | ||
| confidence_gate | Yes | ||
| prompt_audit_path | No |