repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

docs(system): cooperative core abort, bounded plugin destruction

e24399b9524cab276d359f67e397f623a59ce674

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+3 / −0 text lines

Diff layout

.system/specs/SMH-SPEC-SPEC0001-smith-specification/index.md

Modified

+3 / −0 text lines

@@ -48,6 +48,9 @@ Agent behavior
4848- exposes ordered lifecycle events,
4949- remains abortable during provider, tool, compaction, and plugin work.
51Abort is cooperative inside the core: every awaitable checks cancellation at effect edges, preserving frame atomicity and three-state effect evidence; cancelled effects record `not-applied` or `unknown`, never silently.
52Plugins may poll a cancellation API, but the host does not rely on plugin cooperation: after a short deadline it destroys the instance, leaving recorded evidence to speak for the effect.
5154A provider stream has explicit terminal success, tool-use, limit, abort, and error outcomes.
5255Malformed or incomplete provider streams fail explicitly.
5356A terminal event is emitted once.