mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 12:18:39 +00:00
A built-in tool that already knows its call failed must leave the registry
a typed result. The legacy adapter types a string by its first-line
`⚠️ IDENTIFIER` marker, so identifier-less prose and bare `ERROR:` strings
were recorded as successful calls in tools.jsonl, the outcome classifier
and the acceptance packet.
- plan_task: a schema-equivalent empty optional field (blank goal/plan,
`{}` or a spec of declared keys holding [] / "") beside a real disposition
no longer reads as a mixed envelope; a non-empty list, unknown key or
wrong type still refuses typed. Every plan-review refusal publishes typed
(argument vs state), and `_plan_unavailable` splits faults (error) from
availability outcomes such as a budget-declined panel (unavailable).
- view_image / vlm_query: the local image loader publishes its own
refusals as TOOL_ARG_ERROR; policy markers keep their owners' typing; the
host's auto-attach stays non-fatal outside a registry call.
- GitHub: `_gh_run` returns a structured result (exit code, bounded and
redacted stderr head, gh's own `(HTTP NNN)` marker read before bounding,
failure class); `_gh_cmd` keeps the string ABI and its typed target
refusals. Publication carries error_detail / github_status /
github_operation beside the stage code and through the structured
attempt projection; hints state producer facts and name Settings →
Secrets; mandatory fork sync still stops before any mutation and PR
settlement stays a read-only exact lookup.
- tests/test_typed_tool_refusals.py: shrink-only source lint over returned
failure literals in ouroboros/tools (oracle: the real adapter); its
allowlist is the disclosed residual for the other packages.
- docs: DEVELOPMENT (typed-refusal rule, plan closure), ARCHITECTURE
(vision, skill publication, github.py row).
|
||
|---|---|---|
| .. | ||
| about | ||
| archive | ||
| assets | ||
| benchmarks | ||
| history/first-48-hours | ||
| install | ||
| paper | ||
| v7next | ||
| .nojekyll | ||
| 404.html | ||
| ARCHITECTURE.md | ||
| CHECKLISTS.md | ||
| CHECKLISTS_ARCHIVE.md | ||
| CNAME | ||
| CREATING_SKILLS.md | ||
| DELEGATED_ADMISSION.md | ||
| DEPLOYMENT.md | ||
| DESIGN.md | ||
| DEVELOPMENT.md | ||
| DOMAIN_MAP.md | ||
| index.html | ||
| install.json | ||
| llms.txt | ||
| PERSISTENCE.md | ||
| robots.txt | ||
| sitemap.xml | ||