ask_user tool, prompt-JSON CLI repair loop, tool-loop research archive

- New ask_user core tool: mid-turn user question with option picking,
  refusing cleanly in autonomous mode, for background workers, and
  without a tty; system prompt points at it instead of prose questions.
- Structural loop control for prompt-JSON CLI backends (opencode,
  grok, claude, codex, gemini): shared cli_json_turn repairs a
  missing JSON envelope exactly once, then accepts prose; prompt
  contract hardened against narrate-without-calling.
- research/agentic-tool-loop-design: 74 sources plus 2 conclusions
  backing the loop-control decisions; INDEX updated to 6 subjects.
This commit is contained in:
2026-10-11 02:54:17 +02:00
parent 2e0e0547ed
commit afc88b8087
79 changed files with 2677 additions and 40 deletions
@@ -0,0 +1,28 @@
# za-kiu/ai-powered-software-dev - course-pack/labs/lab-8/guides/reAct-loop-guide.md
## Metadata
| Field | Value |
|---|---|
| Institute | Molodetz Institute — Research & Retrieval Division |
| Subject | agentic-tool-loop-design |
| Document type | Source Citation Card |
| Tier | 2 |
| Source title | za-kiu/ai-powered-software-dev - course-pack/labs/lab-8/guides/reAct-loop-guide.md |
| Source URL | https://github.com/za-kiu/ai-powered-software-dev/blob/HEAD/course-pack/labs/lab-8/guides/reAct-loop-guide.md |
| Source type | repository |
| Date researched | 2026-10-11 |
| Researched by | tai (agent), model: Muse Spark, on behalf of retoor |
| Research method | Search aggregator result listing (not independently opened or quoted) |
| Confidence | Not independently verified |
| Status | Active |
## Why it's here
Surfaced by the OpenAI function-calling loop search; looked relevant for its explicit no-tool-calls-means-final-answer check with tool_choice auto.
## Changelog
| Date | Change |
|---|---|
| 2026-10-11 | Logged as consulted-but-not-analyzed. |