Commit Graph

448 Commits

Author SHA1 Message Date
0fd8b9cd2a meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 09:12:25 +00:00
c1c42d63f3 meta(tasks): claim [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:12744 2026-06-18 09:12:24 +00:00
5b16a7a3f3 meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 09:10:33 +00:00
1c9647e7a1 meta(tasks): claim [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:12744 2026-06-18 09:10:32 +00:00
a82e974595 meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 09:09:33 +00:00
3a73b967eb meta(tasks): claim [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:12744 2026-06-18 09:09:32 +00:00
260383b8b5 meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 09:08:32 +00:00
d83119bcb0 meta(tasks): claim [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:12744 2026-06-18 09:08:32 +00:00
f0bb8be811 meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 09:07:33 +00:00
8796a6edb3 meta(tasks): claim [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills by DESKTOP-NSEF0UK:claude-opus:12744 2026-06-18 09:07:32 +00:00
22bf99df21 fix(tasks): drop stray lowercase weight/notify on windows-fixes task
tasks_create emitted lowercase **weight:**/**notify:** body prose; the
later capital **Weight:** needs-claude coexisted with the stale
lowercase **weight:** needs-human, and the poller parsed needs-human
(case-insensitive, last wins) -> task skipped. Remove the lowercase
dupes; only **Weight:** needs-claude + **Notify:** remain. (This is
exactly the gap tracked by [tasks-create-emit-weight-notify-fields].)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 12:06:40 +03:00
5dfebb07e8 chore(tasks): opt board in + scope autonomous duty to one task
Add L1 **Poller:** eligible marker; ensure every ready task except
setup-agents-task-runner-windows-fixes carries **Weight:** needs-human
so the armed poller claims only that one task (no churn).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 11:42:38 +03:00
cf8d247250 meta(tasks): update [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 08:26:55 +00:00
f66f5a50b2 meta(tasks): create [setup-agents-task-runner-windows-fixes] in OpeItcLoc03/claude-skills 2026-06-18 08:12:28 +00:00
9418c8e21d meta(handoff): hermes closed/green + deprioritized per owner; session wrap
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:15:36 +03:00
a55f080613 meta(tasks): close meta-host-routing-hermes-mapping (mapped pending, build green)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:14:49 +03:00
43f9912c54 build(hermes): unblock RED build + promote inter-session-peer-discipline to auto
Build was RED: 5 skills in skills/ were unmapped (meta-host-routing,
ralph-loop-execution, setup-agents-task-runner, task-format,
using-system-snapshot) — "unmapped entries" abort. Mapped all 5 as `pending`
(conservative placeholder, no auto-commitment; each keeps its own mode decision).
meta-host-routing mapping executes task meta-host-routing-hermes-mapping.

- inter-session-peer-discipline: pending -> auto (category meta). Gate
  ("non-implementer test-trigger + review") satisfied — both VERDICT PASS this
  session; purely behavioral, no tool-side effects, no Windows-PS hook. Human-ratified.
- session-inbox-monitor: reason updated — behavioral gate CLEARED (test-trigger +
  review PASS), STAYS pending on two independent tool-side blockers (Linux port of
  the PS hook + settings.json/process-kill audit), not on behavioral verification.
- dist-hermes regenerated: build now GREEN (auto 14 / manual 2 / skip 9 / pending 13);
  materialized dist-hermes/meta/inter-session-peer-discipline/; synced stale
  using-markitdown / using-tasks copies (source had been bumped without a hermes rebuild).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:14:25 +03:00
fdb278f358 meta(handoff): review-kit drained — both inbox lentes green, encoding-guard shipped
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:06:20 +03:00
8205f5d758 fix(session-inbox-monitor): UTF-8 OutputEncoding forward-guard in SessionStart hook (v0.2.2)
Closes session-inbox-monitor-encoding-guard-followup (finding from -review
structural audit item E, CONCERN).

inbox-monitor.ps1 emitted ConvertTo-Json (incl. the interpolated inbox path)
to a redirected pipe under WinPS 5.1 without setting [Console]::OutputEncoding
— the same context that mojibaked stop-dispatcher. ASCII-safe today, but the
inbox path is user-data, so a non-ASCII path/content would mangle the inject.

- Add [Console]::OutputEncoding + $OutputEncoding = UTF8 after the $ProjectDir
  gate (mirror of stop-dispatcher.ps1). Comment text kept pure ASCII.
- Regression under WinPS 5.1: parse 0 errors; ran hook against a Cyrillic-path
  project, read raw stdout bytes as no-BOM UTF-8 -> JSON valid, Cyrillic path
  round-trips intact.
- Re-deployed to ~/.claude/hooks/inbox-monitor.ps1, SHA256 byte-identical.
- SKILL.md Mojibake failure-mode extended; version 0.2.1 -> 0.2.2 (PATCH).

install/hermes/dist not rebuilt — PATCH needs only reload-plugins; the runtime
hook is deployed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:05:15 +03:00
c5f983a2a2 meta(tasks): close review-kit — 3 tracks VERDICT PASS
Clean non-implementer session: did not install/modify the skill, hook, or
SKILL.md; trigger checks + structural audit delegated to clean-context
unprimed subagents.

- inter-session-peer-discipline-test-trigger: pos 4/4 -> peer (high),
  0 false-positive across 5 foreign phrases (3 monitor-raise + 2 multi-machine
  backend), RU+EN.
- inter-session-peer-discipline-review: body v0.1.1 carries all 3 principles
  (proposal-not-authority / human-ratification-gate / echo-chamber-guard);
  complements global CLAUDE.md inter-session-messaging, no blocking findings.
- session-inbox-monitor-review (umbrella): activation 3/3 monitor + neg clean
  (X2 RU-backend low-conf observation); structural hook audit 5 PASS / 1 CONCERN
  (A sweep, B inject-one+headless, C no-loop, D body<->reality, E encoding latent);
  received-msg-fp counted RESOLVED via (b); hermes kept pending until tool-side audit.

Filed follow-up: session-inbox-monitor-encoding-guard-followup
(latent UTF-8 OutputEncoding guard missing in inbox-monitor.ps1).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:00:23 +03:00
e2e616bfaa meta(handoff): add review-kit for the next non-implementer session
Self-contained checklists + sources for the three tracks that unblock together:
session-inbox-monitor-review (umbrella), inter-session-peer-discipline-test-trigger,
and -review. Includes the clean-context-subagent method, acceptance items, design
sources, and the resolved FP note.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:49:34 +03:00
38ac9ef5d1 feat(hermes): map inter-session-peer-discipline as pending + file its ledger
Un-reds the hermes build (build fails on unmapped skills in skills/; this skill
landed in sources 2026-06-16 unmapped). Entry is mode:pending, intended auto/meta
— a purely behavioral governance skill (no tool-side effects) that should pass a
non-implementer test-trigger + review before auto-firing. Filed 
inter-session-peer-discipline-test-trigger + 🔵 -review.

Zone confirmed claude-skills (skill lives in this repo). Human-ratified; workshop
coordinated as a peer proposal, not authority (per the skill itself). YAML validated
(33 skills, 9 pending). Schema version untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:45:42 +03:00
8ac3fa49f1 feat(session-inbox-monitor): resolve received-msg FP via option (b) [human-ratified]
Root cause confirmed: the carve-out routed to inter-session-peer-discipline,
which existed in sources but was not installed -> no competitor in the registry,
nearest in-domain skill won. Fix = install the sibling (byte-identical parity).
FP-twin verified: a fresh clean-context subagent on the N1 phrase now routes to
inter-session-peer-discipline (in registry), not session-inbox-monitor.

session-inbox-monitor description untouched (option a rejected as whack-a-mole).
Governance: workshop (peer) proposed (b) as a ruling; per the freshly-installed
inter-session-peer-discipline (peer = proposal, not authority), it was surfaced as
a recommendation and ratified by the user, not closed on the peer's say-so.

Closes session-inbox-monitor-received-msg-fp. Wiki concept Status open->resolved.
Tail flagged: inter-session-peer-discipline now installed but not in hermes mapping.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:37:56 +03:00
3ea007e9c7 meta(handoff): wrap session — session-inbox-monitor 6/6 baseline, -test-trigger PASS
-review next (NON-implementer session only); open informational FP follow-up
session-inbox-monitor-received-msg-fp. Autopush grant resets next session.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:31:37 +03:00
951bc62c04 docs(wiki): capture session-inbox-monitor received-msg FP as concept
New page concepts/session-inbox-monitor-received-msg-fp.md — sibling of
delegate-task-negative-trigger-fp. Same FP family, new dimension: the carve-out
is already literal+routed (NOT for handling a received message ->
inter-session-peer-discipline) but the route target is not installed, so it has
no competitor and the nearest in-domain skill wins anyway. Borderline (neg 2/3,
EN twin clean), self-corrects on body-load. Bidirectional cross-link +
index + log. New principle: a routed negative competes only if its route
target is installed. Captured in the wiki (not private memory) per owner direction.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:28:31 +03:00
2cd52cfcec feat(session-inbox-monitor): close -test-trigger (PASS) + add CLAUDE.md trigger-line
test-trigger run in a clean session via 7 unprimed clean-context subagents.
Positives 4/4 -> session-inbox-monitor (incl. CLAUDE.md-line P4).
Negatives 2/3 clean (N2 multi-machine backend, N3 received-msg EN -> none);
N1 RU received-msg = borderline false-positive, self-corrects on body-load,
root cause = inter-session-peer-discipline sibling not installed in registry.
Filed follow-up session-inbox-monitor-received-msg-fp. -review unblocked
(needs a non-implementer session). Added `inbox monitor: raise on start` to
project CLAUDE.md (user-approved) -- discoverable opt-in + materializes P4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:24:21 +03:00
80a013bdd7 meta(handoff): wrap session — session-inbox-monitor 5/6, -test-trigger next (clean session)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:16:37 +03:00
857a9d381d feat(hermes): map session-inbox-monitor as pending + close install/hermes-mapping
session-inbox-monitor-hermes-mapping -> done: added to hermes/mapping.yaml
pending section, mode:pending + intended {auto, productivity} (mirrors the
session-handoff sibling). Reason cites the settings.json mutation, the OS
process kills, and the Windows-PowerShell hook needing a Linux port for Hermes.
Schema version untouched (schema, not content). YAML validated (32 skills).

session-inbox-monitor-install -> done: install.ps1 -Names session-inbox-monitor,
byte-identical (diff 0), v0.2.1; activation confirmed live this session (harness
picked the skill into available-skills with full description, no /reload-plugins).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:11:08 +03:00
29d5e9ffa8 fix(session-inbox-monitor): force UTF-8 on Stop-hook delivery + writer guide v0.2.1
Closes session-inbox-monitor-stophook-utf8-fix. Cyrillic message bodies arrived
as mojibake when force-delivered via the Stop-hook block reason.

Root cause: ~/.claude/hooks/stop-dispatcher.ps1 reads bodies with -Encoding UTF8
(fine) but did NOT set [Console]::OutputEncoding, so ConvertTo-Json to stdout
under a harness-spawned redirected pipe (WinPS 5.1) emitted in OEM cp866.

Fix applied to the machine-local hook (not in git): set
[Console]::OutputEncoding/$OutputEncoding = UTF8 at the top. In-situ RED->GREEN
verified through the real Stop-hook path: a Cyrillic pangram that previously came
back as mojibake now delivers clean; no-loop holds.

Repo changes: SKILL.md Failure modes documents the encoding contract for inbox
writers (no-BOM UTF-8 LF; WriteAllText, not Set-Content -Encoding utf8 which BOMs
under 5.1); bump 0.2.0 -> 0.2.1 PATCH. stop-dispatcher.ps1 multi-machine
propagation is the workshop setup's concern (notified).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:06:00 +03:00
d91809bd71 meta(tasks): close stophook-blockfix-proof (PASS) + file utf8-fix finding
session-inbox-monitor-stophook-blockfix-proof -> done. Live proof: planted a
self-test message in .claude-inbox/, ended the turn, and the Stop hook force-
re-invoked the session with the message as a decision:block reason (no user
Enter). No-loop confirmed (inbox empty after delivery, message in .read/). The
live Monitor also paged the same file end-to-end.

Finding (orthogonal to the block mechanism, independently confirmed by workshop):
Cyrillic message bodies arrive as mojibake on inject. On-disk file is clean
UTF-8; stop-dispatcher.ps1 reads with -Encoding UTF8 (line 44) but does NOT set
[Console]::OutputEncoding, so ConvertTo-Json to stdout under harness-spawn
(WinPS 5.1, redirected pipe) encodes as OEM cp866. Start-Process repro does not
reproduce (inherits UTF-8) -> harness-spawn-specific, in-situ verify only.
Filed session-inbox-monitor-stophook-utf8-fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 10:58:49 +03:00
c3e1ce7b40 feat(session-inbox-monitor): SessionStart hook + fill SKILL body v0.2.0
Core content task of the session-inbox-monitor line. Two deliverables:

1. SessionStart hook `skills/session-inbox-monitor/hooks/inbox-monitor.ps1`
   (versioned for multi-machine rollout; deployed to ~/.claude/hooks/ and
   registered in ~/.claude/settings.json SessionStart):
   - sweep: Get-CimInstance | Stop-Process orphaned monitors of THIS inbox,
     matched by sentinel CLAUDE_INBOX_MONITOR + inbox path (a /clear leaves
     the poll process alive -> re-raise without sweep stacks duplicates);
   - inject: hookSpecificOutput.additionalContext with the exact persistent
     Monitor command (Monitor tool, not background Bash);
   - opt-in gate: fires only on .claude-inbox/ dir or CLAUDE.md trigger line.
   ASCII-only (em-dash -> mojibake under WinPS 5.1 without BOM, fixed).

2. SKILL.md body filled (When to use / Inputs / Steps / Deployment /
   Failure modes / Side effects / What NOT to do); bump 0.1.0 -> 0.2.0 MINOR.

Headless: no hook-level signal exists (verified via claude-code-guide) ->
agent-side best-effort skip, default errs toward raising (false-skip in
interactive loses the feature; false-raise in headless is a harmless no-op).

Live-verified: inject -> valid JSON; sweep -> killed a planted orphan (PASS);
real Monitor tool spawns a bash process carrying the sentinel (sweep will
find real orphans); settings.json stays valid. Sweep over-match edge and
multi-session-per-project limit documented honestly in Failure modes.

Closes [session-inbox-monitor-sessionstart-hook].

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 10:48:50 +03:00
cf08fdeea7 feat(skills): add session-inbox-monitor v0.1.0 (promoted from .workshop/.brainstorm/session-inbox-monitor.md) 2026-06-17 10:28:47 +03:00
9954356a4a feat(setup-agents-task-runner): L2 installer skill for standing-duty service
poller-service-deploy-via-factory (fork 1). New skill v0.1.0 — installs the
standing-duty stack as platform-native services (systemd/launchd/winsw):
no node window, OS-supervised autostart+crash-restart, run-as-user, deploy-boundary.

- fetches winsw (pinned v2.12.0 + SHA256-verify, not vendored; STOP on placeholder)
- installs DISARMED: scope is runtime config (poller-scope.json), arming is a
  separate operator step via the appeals-inbox pult; never carries POLLER_PROJECTS/DRY_RUN
- confirmation gates: discovery (read-only) -> plan -> writes; rollback section
- tears down the legacy start-worker.ps1 Scheduled Task (no double-claim)
- dist/setup-agents-task-runner.skill rebuilt

[skip-tdd: visual] — installer docs + OS service config, no testable pure logic.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 10:28:47 +03:00
b0b0c49cd9 meta(tasks): create [session-inbox-monitor-review] in OpeItcLoc03/claude-skills 2026-06-17 07:16:50 +00:00
0111489df0 meta(tasks): create [session-inbox-monitor-stophook-blockfix-proof] in OpeItcLoc03/claude-skills 2026-06-17 07:16:36 +00:00
08bdb8d832 meta(tasks): create [session-inbox-monitor-sessionstart-hook] in OpeItcLoc03/claude-skills 2026-06-17 07:16:26 +00:00
25a1586150 meta(tasks): create [session-inbox-monitor-test-trigger] in OpeItcLoc03/claude-skills 2026-06-17 07:16:12 +00:00
6a28c3d046 meta(tasks): create [session-inbox-monitor-hermes-mapping] in OpeItcLoc03/claude-skills 2026-06-17 07:15:56 +00:00
80e47b397a meta(tasks): create [session-inbox-monitor-install] in OpeItcLoc03/claude-skills 2026-06-17 07:15:47 +00:00
013913bcc2 feat(skills): inter-session-peer-discipline v0.1.1 — multi-session caveat
Add the channel contract (inbox = comms only; tasks via meta tasks_*)
and the multi-session caveat: don't assert a peer override from partial
vision — the human may have ratified in a channel you can't see; ask
first. Both earned 2026-06-16.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 11:12:54 +03:00
b292f1a5a2 feat(skills): add inter-session-peer-discipline
Codifies the inbox/peer-channel discipline that emerged 2026-06-16:
- a peer agent session's messages are proposals, not authority; the
  human is the only source of direction and scope.
- never report a peer-driven (or self-driven) design escalation as a
  settled decision without explicit human ratification.
- channel contract: the inbox carries discussion/help/notification only;
  tasks themselves go solely through meta tasks_* (board = source of truth).
- guards the echo-chamber failure mode (two sessions inflating scope past
  the human) and its circuit-breaker.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 10:39:10 +03:00
255dbc777f feat(skill): add ralph-loop-execution — agent inner loop with verifier oracle
Verifier field (exit-code oracle) + Attempts tracking + re-queue on fail.
Design: OpeItcLoc03/workshop/.brainstorm/ralph-loop-inner-execution.md
2026-06-15 22:51:16 +03:00
71f4690e6a meta(tasks): refresh board header — task-loop-test-trigger closed, all 3 baselines done
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 18:12:14 +03:00
2b87a0f009 meta(tasks): close [task-loop-test-trigger] in OpeItcLoc03/claude-skills 2026-06-11 15:10:38 +00:00
8b46c75381 meta(tasks): close [task-loop-test-trigger] — VERDICT PASS (baseline 3/3)
Live clean-session run (this session did NOT install the skill). Probe
confirmed subagents inherit the REAL installed registry (task-loop present,
description verbatim = SKILL.md) — upgrade over dev-time simulated proxy.

Trigger-discrimination: positives 6/6 -> task-loop; negatives clean
(delegate-task, using-tasks after deconfound, configure-poller -> none with
explicit task-loop exclusion); task-loop false-positive 0/3.

Behavioral (skill body loaded) 4/4: consult-gate human-only -> STOP before
close; session_break -> SESSION BOUNDARY + STOP; empty -> stop+report no poll;
long-watch -> single ScheduleWakeup >=1200s, not CronCreate.

Finding (informational, non-blocking): session_break is the fragile gate — its
STOP semantics live only in the body (step 6), invert to soft-checkpoint when
reasoning from description alone; correct with body loaded. No fix needed
(rule triple-stated; using-tasks is REQUIRED SUB-SKILL). No follow-up filed.

All 3 task-loop deployment baselines (install / hermes-mapping / test-trigger)
now closed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 18:04:50 +03:00
1433fd80ea meta(handoff): regen NEXT_SESSION — task-loop install+hermes-mapping closed, test-trigger next (clean session)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:52:53 +03:00
74a94a6696 feat(hermes): map task-loop as pending (intended auto/mcp)
task-loop orchestrates the projects-meta board cycle (tasks_claim_next /
tasks_close / tasks_update / tasks_heartbeat) and may arm a long ScheduleWakeup —
critical-infra-adjacent, so it lands in the behavioral-audit pending tier, not auto.
Promotion to auto gated on task-loop-test-trigger. Schema version untouched.

Closes [task-loop-hermes-mapping] (baseline 2/3).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:52:10 +03:00
e07413fec3 meta(tasks): close [task-loop-install] — installed + verified visible in available-skills
install.ps1 -Names task-loop → ~/.claude/skills/task-loop/SKILL.md (diff-identical to
source, v0.1.0). Post-/reload-plugins task-loop appears in available-skills with full
description (YAML parsed, RU/EN triggers present). Unblocks task-loop-test-trigger
(🔵 ready, needs clean session for live behavioral run).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:47:59 +03:00
036e0d59d9 meta(handoff): regen NEXT_SESSION for task-loop deployment leg
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:41:22 +03:00
47fc8065f5 meta(tasks): create [task-loop-test-trigger] in OpeItcLoc03/claude-skills 2026-06-11 14:38:25 +00:00