Files
tai/research/agentic-tool-loop-design/sgiark-arkos-harness-spec.md
T
retoor afc88b8087 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.
2026-10-11 02:54:17 +02:00

959 B

sgiark/arkos - docs/specs/HARNESS_SPEC.md

Metadata

Field Value
Institute Molodetz Institute — Research & Retrieval Division
Subject agentic-tool-loop-design
Document type Source Citation Card
Tier 2
Source title sgiark/arkos - docs/specs/HARNESS_SPEC.md
Source URL https://github.com/sgiark/arkos/blob/HEAD/docs/specs/HARNESS_SPEC.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 harness-validation search; looked relevant as a cautionary spec (raw json.loads on the hot path, no retry, malformed payloads kill the run).

Changelog

Date Change
2026-10-11 Logged as consulted-but-not-analyzed.