Skip to content

feat: to-human output style — the human-stream doctrine, selected per launch - #107

Merged
SSFSKIM merged 1 commit into
mainfrom
to-human-style
Sep 4, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
to-human-style

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the to-human output style — the carrier of the human-stream doctrine designed in docs/doperpowers/specs/2026-09-05-sminos-human-stream-design.md (#105, #106). The style tells a session, in one sentence, that its tool calls and messages are not shown to the human and that what the human should read goes inside <to-human>…</to-human>; it then carries the explanatory-insights style verbatim, so a session that selects it loses nothing. keep-coding-instructions: true is set because a custom style otherwise replaces the harness's coding guidance (verified against 2.1.260).

The style is selected per launch: a launcher whose surface is the report stream (afleet) passes a settings file with "outputStyle": "to-human". Every other session on the machine is untouched, and a human in a plain session can switch it on or off with the output-style command.

Why an output style

The spec's Decision Log records the alternatives and why they lost:

  • Root or project CLAUDE.md — unconditional. The doctrine's premise ("your messages are not shown to the human") is false in a plain terminal session, so every session would hear a false premise and show raw tags.
  • SessionStart hook keyed on a launcher variable — conditional, but needs a script and settings machinery, and delivers context rather than prompt.
  • The sminos SKILL.md and spawn preamble alone — reach only seats and only sessions that load the skill; the doctrine is about the surface, not the fleet.

An output style is the harness's own slot for shaping how the agent writes to the user, is chosen by one settings key so the launcher that owns the surface turns it on, is re-injected after compaction, and ships with the plugin.

What lands

  • output-styles/to-human.md — the style (195 words of body).
  • Spec revision: §1 names the style as the doctrine's carrier; the acceptance line and Decision Log follow; a Revision Note records the change.
  • CLAUDE.md repo map and README.md mention the style.
  • Version 7.72.0.

The transcript reader (sminos inbox, afleet's view) is not built — the spec defers it to afleet's plumbing work.

Verification

  • tests/skill-links/test-cross-doc-refs.sh: 238 references across 23 skills resolve.
  • tests/version-bump/test-bump-version.sh passes; the bump audit is clean.
  • The style's frontmatter parses to name, description, and keep-coding-instructions: true, the three keys the loader reads (checked against the schema in the 2.1.260 binary).
  • Not verified here: the style appearing in a live /config picker and its context landing in a session. That needs the plugin reinstalled from this commit; the first afleet launch, or a manual "outputStyle": "to-human" in a settings file, is the live check.

… launch

Adds output-styles/to-human.md, the carrier of the human-stream doctrine
designed in docs/doperpowers/specs/2026-09-05-sminos-human-stream-design.md:
one sentence telling the session that its tool calls and messages are not
shown to the human and that what the human should read goes inside
<to-human>…</to-human>, followed by the explanatory-insights style so a
session that selects it loses nothing. keep-coding-instructions is on
because a custom style otherwise replaces the harness's coding guidance.

A launcher whose surface is the report stream (afleet) turns it on with
"outputStyle": "to-human" in the settings file it passes; every other
session is untouched. The spec's Decision Log records why the style won over
CLAUDE.md (unconditional, and the premise is false in a plain terminal), a
SessionStart hook (conditional but heavier, and context rather than prompt),
and the sminos skill alone (reaches only seats). The reader is not built.

Version 7.72.0.
@SSFSKIM
SSFSKIM merged commit 98c4a20 into main Sep 4, 2026
SSFSKIM added a commit that referenced this pull request Oct 21, 2026
Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM added a commit that referenced this pull request Oct 21, 2026
Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant