Skip to content

feat(skills): add HomeMux design system skill - #22

Merged
kunchenguid merged 1 commit into
mainfrom
fm/homemux-design-skill
Jun 18, 2026
Merged

kunchenguid merged 1 commit into
mainfrom
fm/homemux-design-skill

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Vendors the HomeMux design system as a Claude-visible skill under .agents/skills/homemux-design (the .claude/skills symlink already exposes it). It drives the holistic HomeMux design pass. This is vendored design reference content (tokens, components, guidelines, the iOS UI-kit mock, brand assets), not firstmate-authored code, so it did not go through the no-mistakes code pipeline.

Vendored design-system export (tokens, components, guidelines, iOS UI-kit
mock, brand assets) used to drive HomeMux's holistic design pass. Lives as a
Claude-visible skill under .agents/skills (.claude/skills already symlinks it).
@kunchenguid
kunchenguid merged commit 30e2a9e into main Jun 18, 2026
2 of 3 checks passed
@kunchenguid
kunchenguid deleted the fm/homemux-design-skill branch June 18, 2026 03:39
kunchenguid added a commit that referenced this pull request Jun 18, 2026
vipentti pushed a commit to vipentti/firstmate that referenced this pull request Aug 5, 2026
Vendored design-system export (tokens, components, guidelines, iOS UI-kit
mock, brand assets) used to drive HomeMux's holistic design pass. Lives as a
Claude-visible skill under .agents/skills (.claude/skills already symlinks it).
@ghost

ghost commented Aug 11, 2026

Copy link
Copy Markdown

Evidence disclosure: The accepted intent is live proof of the observed error class plus dedupe, and live pipeline 41 first-run emission plus second-run silence satisfies it; pipeline 40 scrolled out of the bounded last-10 window because new pipelines were created since - environmental drift, not a code gap - and the mocked tests already prove distinct multi-pipeline wakes.

@x45dev

x45dev commented Aug 16, 2026

Copy link
Copy Markdown

Correcting my own comment above: the first reason I gave does not hold.

I read the policy as forbidding an autonomous merge on a change to the constitution's methodology. It does not. AGENTS.md:50 on origin/main reads "knowledge/constitution.md's invariants or to this file's methodology or merge policy" - the methodology and merge-policy clause attaches to AGENTS.md itself, not to the constitution. Ticking Definition of Done boxes is not an invariant change, and the invariants are confirmed untouched, so that trigger never fired.

The hold still stands, on the two grounds that do hold. The substantive one is unchanged and is the real reason: the deferred naming set explicitly names an invariant inside knowledge/constitution.md as carrying a named institution, so that file genuinely sits inside the question already in front of the author. This branch touches a different section of it, which is why the change itself reads as safe - but it is his file to rule on this week. Under the policy, what formally earns the hold is the last high condition, a named reason for wanting a second opinion, and that is what I am recording it as.

Nothing about the verification above changes, and my recommendation is unchanged: merge.

@Ikha14

Ikha14 commented Oct 4, 2026

Copy link
Copy Markdown

Phase 2 : rapport final Hermès (tour et ARM64 : voir le commentaire précédent, inchangés à e7f0e90)

Droits de /opt/data, option 1 d'Ilian

  • ACL avant réparation, notée dans /home/llian/firstmate/data/pstack-autotrigger-propagation/hermes-data-acl-before.txt sur la tour : user::rwx, user:10000:rwx, user:28100-28102:--x, group::---, mask::---, other::---. Retour arrière : setfacl -m m::--- /opt/data.
  • Commande appliquée : uniquement setfacl -m m::rwx /opt/data, aucune autre modification de droits.
  • Vérification : en tant que hermes, je lis de nouveau /opt/data et le clone de skills. .drain_request.json n'existe pas en ce moment, ce qui est normal hors drain. Les erreurs drain_request ont cessé.

Clone de skills d'Hermès, lu par fm-vps et Pi sur l'hôte

  • Il n'y a pas eu de chown. Le dossier ~llian/.local/share/claude-skills-ilian est un montage bind en lecture seule (home-llian-.local-share-claude\x2dskills\x2dilian.mount) de /opt/data/home/.hermes/workspaces/claude-skills, qui appartient à hermes. J'ai donc travaillé sur la source, en tant que hermes.
  • Le clone était propre (0 changement ; les 20 vus côté llian venaient de la lecture à travers le montage). La sauvegarde backup/hermes-skills-local-2026-10-04 = 64cde66, non poussée. J'ai ensuite fait avancer main par fast-forward jusqu'à e7f0e90 : statut vide.
  • Côté hôte : le montage montre e7f0e90. 48 liens ont été créés dans ~/.claude/skills, pour un total de 147 entrées, sans lien mort. lavish et navigateur sont des dossiers locaux réels, laissés tels quels.
  • disable-model-invocation est absent des quatre skills. Pi lit le clone (~/.pi/agent/settings.json).
  • ~/firstmate/config/brief-include.md a été créé, avec la seule ligne poteto-mode (chemin /home/llian/.local/share/claude-skills-ilian/poteto-mode/SKILL.md).

Assistant Telegram (/opt/data/skills/imported-ilian)

  • Audit de divergence fait :
    • 46 dossiers absents ont été ajoutés : les 44 skills listés dans PROVENANCE, plus _pstack et pstack-tdd.
    • 2 dossiers ont été remplacés par la version du dépôt, blast-radius et _pstack-principles. Les anciennes versions sont sauvegardées dans /opt/data/skills-backups/20261004-pstack/.
  • Rien d'autre n'a été retiré ni modifié. On passe de 95 à 141 entrées, et tous les fichiers appartiennent à l'uid 10000.
  • disable-model-invocation est absent des quatre skills. hermes skills list montre bien how, why, blast-radius, figure-it-out, poteto-mode, pstack-tdd, … (134 skills imported-ilian, tous enabled).
  • Écart laissé volontairement, faute d'autorisation : dans imported-ilian, architect-pstack, technical-writing et unslop sont des versions anciennes, différentes de celles du dépôt. Or poteto-mode cite architect-pstack et technical-writing, donc certaines dépendances restent sur l'ancienne version.
  • Rechargement : d'après shared-runtime-multi-interface.md, les nouveaux skills se chargent avec /reload-skills, puis de préférence /new, dans la conversation Telegram. Il ne faut pas redémarrer. Je n'ai rien redémarré.

Hermès semble encore en partie en panne, hors de mon autorisation

  • /opt/data/auth.json est root:root 600, modifié à 13:21:47Z. Les tâches cron d'Hermès échouent toujours dessus, par exemple Job 'alpha' failed: [Errno 13] Permission denied: '/opt/data/auth.json' à 14:12:25Z.
  • L'origine la plus probable : un hermes lancé en root dans le conteneur (pid 33047, sur pts/0, depuis 13:21:33Z), qui a aussi dû provoquer le chmod 700 de /opt/data. Il tourne toujours.
  • Réparation proposée, non faite : rendre auth.json à 10000:10000 et fermer cette session root.
  • Un redémarrage ne semble pas nécessaire : le gateway (pid 368) est vivant et a fini sa réconciliation MCP à 14:11:46Z après la réparation du mask.

Non confirmé

  • Que le Telegram charge vraiment pstack : pas de /reload-skills lancé, je n'ai pas accès à cette conversation.
  • Qui a lancé le hermes en root à 13:21 : je l'ai déduit des horodatages, sans preuve.
  • Que fm-vps voie les nouveaux skills dans une session : je l'ai déduit des liens et de la config, aucune session lancée.

@namikmesic-hub

Copy link
Copy Markdown

Reply to the review at https://github.com/Polymarket/polymarket-rs/pull/22#pullrequestreview-5354841717.

On the architecture point: agreed, and the branch is on that path.
The engine is shove, and eb1d3b3 pins zannis/shove main at the merge of plan 022 parts 1, 2 and 3.
Part 1 is the final commit outcome, part 2 the in-place order on stop and revoke, and part 3 the commit on every completion.
With part 1, fc25311 removed the committed-offset readback and KafkaError::Uncommitted.
With part 2, 6238e68 removed the hold-back and its committed-offset lookup.
With part 3, d03c5dc removed the one millisecond gate behind CommitEvery::Record.
The pin moves to 0.16.0 when it is published with the parts.
The fan-out floors, the one-topic-per-shape binding and the panic boundary stay until parts 4 to 6 land.
The README's engine section names each with the part that retires it.

On the shapes: they are opt-in features since 13bf080, outbox and rawcdc, with no default.
The engine stays in every build, and a consumer compiles only the shape it reads.

@namikmesic-hub

Copy link
Copy Markdown

Reply to the review at https://github.com/Polymarket/polymarket-rs/pull/22#pullrequestreview-5370415401.

Thanks for the line-by-line read and the interleaving model.
Every item is folded on the branch, with the commit and the test that pins it named below.
The engine moved to zannis/shove main at the merge of plan 022 parts 1, 2 and 3 (eb1d3b3).
The committed-offset readback, the hold-back with its committed-offset lookup, and the one millisecond commit gate are gone with them.

1. The merge conflict

Rebased onto main at 3cc6478.
crates/pm-test-utils/src/minio.rs is main's file whole, the GenericImage harness over cgr.dev/chainguard/minio.
.config/nextest.toml carries both the redpanda group filter of this branch and main's pm-grpc slow-timeout override.

2. The red CI test

Fixed in dd3b558.
The test polls the coordinator until the group lists one member in state Stable, settles one second for the Latest anchor's offset lookup, and produces.
common::group_state sits beside common::group_members in tests/common/mod.rs.
Both probes read CoordinatorLoadInProgress on a fresh group as the group not being there yet.
Five local runs with all features took 6.1 to 6.9 s each.

3. The Schema Registry 404

Fixed in 625b2c5.
A NotFound is no longer a skip.
The raw lane treats it as Decoded::Unavailable for a bounded grace per schema id, rawcdc::Lane::with_schema_grace, 60 s unless the lane names another value.
It counts the retries in RawStats::schema_not_found.
RegistryConfig::build sets shove's negative cache to one second, so every in-place retry asks the registry again instead of reading the cached 404.
Past the grace the lane stops with the new KafkaError::SchemaUnknown and the record uncommitted, and a restart retries it for another grace.
Skip::SchemaResolve and RawStats::schema_resolve_failed are gone, so a record is never skipped for its schema id.
Two harness tests in tests/rawcdc_lane.rs pin it.
a_schema_id_registered_after_its_records_is_delivered_inside_the_grace frames the fixtures with the id the registry will assign next and starts the lane.
It waits for two retries, registers the schema, and sees every record within ten seconds, inside shove's default 30 s cache.
a_schema_id_the_registry_never_learns_ends_the_lane_with_the_record_uncommitted runs a worker lane with a two second grace against an id nothing registers.
It checks SchemaUnknown, zero skips, and no committed offset.
The unit test an_unknown_schema_id_is_retried_for_the_grace_then_ends_the_lane covers the grace clock per id and the clock an id loses once the registry learns it.
Two more registry changes followed on the same path.
2d64d2e checks a cached subject mismatch through a client with an empty cache before a skip.
The registry keeps one id per schema across subjects, so a cached answer can lack this topic's subject.
f781e16 gives a registry lookup a 10 s budget inside shove's 30 s handler window.
The same commit refuses a URL that does not parse or names no host before shove's builder would panic on it.

4. Hard-delete routing

Done in 39000d8.
Keyed carries a removal flag now.
The raw lane sets it through Change::keyed when the effect is a removal, a hard DELETE or an is_deleted correction.
The outbox lane sets it on a retract.
A router over Keyed<T> that filters on a key delivers every marked removal to the consumers of the record's identity, whatever keys it carries.
The consumer applies it by identity, and 68aad15 states that rule in the routing contract.
tests/rawcdc_fixtures.rs::a_condition_filtered_consumer_applies_removals_by_identity routes on the marker and retains no row after create then hard delete.
tests/rawcdc_lane.rs::fanout_decodes_framed_envelopes_and_skips_what_is_not_this_table checks the marker on the hard delete and the soft-delete correction, and its absence on the create.
src/outbox/mod.rs::tests::a_retract_is_marked_a_removal_and_an_add_is_not covers the outbox side.
A bounded identity-to-condition memory stayed out: the marker makes the bypass mechanical without a cache whose bound would be a second contract.

5. The committed-offset lookup

Done in two steps.
a95252d limited the lookup to a record above a pending one and to every tenth redelivery of a deferring record.
That is once in ten seconds at shove's cadence.
Then the pin moved to a shove revision carrying plan 022 part 2, now zannis/shove main at its merge.
6238e68 removed the lookup with the hold-back it served.
shove keeps a partition's order through a stop and a cooperative revoke now, and a revoke ends the in-place wait at once.
The lane therefore has no stale redelivery to settle and no probe client.
tests/worker_offsets.rs::a_partition_taken_from_a_live_member_returns_with_its_deferred_record_completed_elsewhere asserts that no stale redelivery reaches the first lane after the revoke.

6. The fan-out session budget

Done in f96d488.
Mode::Fanout has a recovery field of type FanoutRecovery.
GiveUpAfter(n) is the behaviour as before at n = 10, and ResumeForever never gives up.
GiveUpAfter(0) is refused with KafkaError::Config before the lane touches the broker.
Mode::fanout(start) spells the default.
The README's fan-out section and the FanoutRecovery doc state the restart consequence.
A process that restarts the lane at StartAt::Latest after it gave up starts at the new tail and skips the outage window.
A consumer that cannot afford that resnapshots from REST on start, or resumes forever and alerts on LaneStats::reconnects_total.
The idle-topic case under a rolling restart is named there too.
src/lane/fanout.rs::tests::the_session_budget_is_named_per_lane_and_zero_is_refused covers a named count, a thousand unhealthy sessions under ResumeForever, and the zero refusal.
tests/lane_config.rs::a_zero_session_budget_fails_locally_before_any_broker_request checks the refusal lands locally.

7. The definition of done

Amended rather than claimed, with no code change.
The raw shape decodes the synthesized envelopes in tests/fixtures/rawcdc/activity_feed.json, built from the pinned schema with their exact wire bytes.
They are labeled as synthesized since 010f09b.
No frame captured from indexer.v1.stage.db.cdc.indexer.activity_feed is in this branch.
The tests here connect to no staging broker or registry, and no local clone holds one.
The README's "Vendored contracts" section carries the capture recipe since f28da46: rpk topic consume <topic> --format json -n 10 plus the schema text from GET /schemas/ids/<id>.
The pull request text says "synthesized fixtures only, captured frames pending a client with staging read access".

8. The interim commitments and the shove issues

Done in 9a34f42.
The README's engine section carries a table of the interim, engine-dependent commitments.
Each row names the shove change that retires it and where that change stands.
Three of the five retired on this branch.
shove's final-commit outcome (plan 022 part 1, zannis/shove#219) replaced the committed-offset readback and KafkaError::Uncommitted, in fc25311.
The in-place order on stop and revoke (part 2, zannis/shove#220) replaced the hold-back and the committed-offset lookup, in 6238e68.
CommitPolicy::PerRecord (part 3, zannis/shove#221) replaced the one millisecond gate behind CommitEvery::Record, in d03c5dc.
All three merged into zannis/shove main on 2026-10-05, and eb1d3b3 pins main at the merge of part 3.
The pin moves to 0.16.0 when it is published.
LaneStats::{reconnects_total, replayed_total}, the one-topic-per-shape-per-mode rule and the panic boundary stay interim, named in the table.
On the five issues: three are merged pull requests already, 219, 220 and 221.
The other two, per-partition broadcast resume and topology by value, plus the panic policy, are plan 022 parts 4 to 6.
Issue drafts for them are written and wait for the maintainer's word before they are filed.

9. TailConsumer

Done in 920e1aa.
The deprecation note on TailConsumer, the crate docs and the README gate its removal on a rawproto shape.
That shape is PolyBolt's price ingest, Confluent-framed protobuf without a Debezium envelope, which no lane has yet.
Until then TailConsumer stays, deprecated, and the PolyBolt pin bump carries #[allow(deprecated)].

10. The mutation probes and the CreateTime text

Both done in 7ddd64f.
The 24 mutation probes run through decode_frame in tests/outbox_conformance.rs::every_mutation_probe_is_a_skip_or_a_nonconformant_delivery.
Each mutant is a skip or a frame the lane delivers as nonconformant, and none passes Frame::validate through the lane.
The README names the producer-side test in pm-outbox-contracts as the one that rejects them.
On the floors: you are right that per-partition floors make CreateTime drift a refetch cost.
A floor is the timestamp of a record on its own partition.
The broker's lookup lands at or before the first record stamped at or after that instant.
A resume therefore fetches everything after the acknowledged record on a CreateTime topic too.
The README and the StartAt::Latest doc in src/engine/mod.rs say that drift widens the refetch and loses nothing.

The existing threads

The fan-out options pin one record in flight and no concurrent processing in run_fanout.
8e9ed8b notes beside them that shove pins both and a zero retry budget itself on every broadcast subscription.

@namikmesic-hub

Copy link
Copy Markdown

Reply to https://github.com/Polymarket/polymarket-rs/pull/22#issuecomment-6003687143.

Thanks for the stacked pull request.
Both items are already fixed on this branch, pushed tonight, with regression tests.

The expiry queue is bounded in f781e16.
Each Slot carries the sequence of its expiry entry, and a replacing frame removes the old entry.
The queue therefore holds one entry per live slot, at most three per id.
The test is src/outbox/lifecycle.rs::tests::repeated_transitions_of_one_id_hold_one_expiry_entry_per_slot, your probe with max_ids = 1 and 100,000 transitions.

The stats of a recreated member retire in 8e9ed8b.
ConsumerStats carries a retired flag, a worker adapter sets it in Drop when shove drops the ended member's handler, and Lane::consumer_stats lists live entries only.
The test is src/lane/adapter.rs::tests::a_respawned_worker_member_retires_its_predecessors_stats, which drives the worker factory twice and drops the first adapter as shove does.
The same commit carries the comment beside the fan-out options that shove pins max_retries to zero on every broadcast subscription.

Three details of https://github.com/Polymarket/polymarket-rs/pull/32 went beyond ours, and 9bb19e6 folds them.
A retired entry leaves the vector at the next registration, not only when something reads the stats.
An unread lane therefore cannot grow one entry per respawn.
The fan-out stats retire when the lane returns, so a lane that returned lists no consumer, and two harness tests assert that after Lane::run.
src/outbox/lifecycle.rs::tests::the_expiry_queue_is_bounded_by_the_id_cap runs a thousand ids under a cap of ten and holds the queue at thirty entries.
admit carries the invariant as a debug assertion.

Pull request 32 therefore duplicates what this branch carries, and it can close.
If it adds anything beyond these, retarget it to main once this one merges.

@namikmesic-hub

Copy link
Copy Markdown

The branch is ready for another look.
It is rebased onto main, and the workspace pins shove to zannis/shove main at the merge of plan 022 parts 1, 2 and 3.
Every thread above has its reply, with the commit and the test for each change.
The gate is green at 570b9a2: fmt, clippy with warnings denied, the proto check, and 409 workspace tests, 136 of them pm-kafka's, through cargo xtask ci.

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
)

* fix(bin): keep watcher supervision continuous across child cycles (kunchenguid#693)

* fix: make watcher supervision continuous

* no-mistakes(review): Bound watcher retries and log attached signals

* no-mistakes(review): Add bounded successor-recovery wake fallbacks

* no-mistakes(review): Prevent overlapping successor-arm retries

* no-mistakes(review): Resume supervision after late arm closes

* no-mistakes(review): Bind OpenCode recovery to attempted arm

* no-mistakes(test): Synchronize peer beacon regression fixture

* no-mistakes(test): Synchronize Pi and OpenCode late-close lifecycle fixtures

* no-mistakes(document): Captain: document watcher successor protocol behavior

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* no-mistakes: apply CI fixes

* fix(watcher): bound stale wakes for parked crew (kunchenguid#743)

* fix(watcher): bound stale wakes for exited paused crew

* no-mistakes(review): Gate pause suppression on confirmed agent death

* no-mistakes(test): Fixed stale pause cadence

* no-mistakes(document): Document dead-agent hold cadence

* fix(supervision): distinguish ordinary wakes from recovery (kunchenguid#744)

* fix(supervision): distinguish ordinary wakes from repair

* no-mistakes(review): Make passive guard follow-ups recovery-only

* no-mistakes(document): Clarify recovery-only turn-end guard documentation

* fix(x-mode): dedupe pending mention wakes (kunchenguid#745)

* fix(x-mode): dedupe pending mention wakes

* no-mistakes(review): fix x-poll claim error deduplication

* no-mistakes(review): separate claim diagnostics from relay recovery

* no-mistakes(document): Document X-mode once-only mention wakes

* feat(wake): enrich drained signals with bounded status context (kunchenguid#747)

* feat(wake): enrich drained signal context

* no-mistakes(review): Bound wake enrichment reads

* no-mistakes(document): Document wake-drain annotations

* docs(wake): explain at-least-once drain boundary

* no-mistakes(review): Prevent symlink races in wake annotations

* no-mistakes(review): Exercise wake symlink race regression

* test: document intentional AFK marker subprocesses

* fix(wake): isolate annotation marker state

* fix(bin): make watcher process identity immune to Linux wall-clock changes (kunchenguid#752)

* fix(watcher): stabilize Linux process identity

* no-mistakes(document): document FM_PROC_ROOT_OVERRIDE and Linux starttime identity rationale

* fix(send): treat opencode busy-queued composer state as submitted (kunchenguid#775)

* fix(send): treat opencode busy-queued composer state as submitted

When fm-send sends a message to a BUSY opencode crewmate on the tmux
backend, opencode accepts the Enter and queues the message for the next
turn, but leaves the typed text visible in the composer row.  The
submit-verification loop sees a pending composer, exhausts retries, and
reports a false "Enter swallowed" failure while the message is actually
delivered.

Fix: after Enter retries are exhausted and the composer still shows
pending, check fm_pane_is_busy.  If the pane is busy (agent mid-turn,
footer shows "esc interrupt"), the harness queued the message, so
return "empty" (accepted).  On an idle pane, keep returning "pending"
(genuine swallow detection preserved).

Regression tests cover four scenarios:
- busy pane + pending composer -> empty (message queued)
- idle pane + pending composer -> pending (genuine swallow)
- busy pane + composer clears on first Enter -> empty
- idle pane + composer clears on first Enter -> empty (existing path)

* docs: document busy-queued Enter exception across backend docs and skills

Add explanatory comments and backend documentation for the
busy-queued Enter fix (opencode 1.18.4 accepts Enter mid-turn
but keeps typed text in composer until the turn ends):

- bin/fm-tmux-lib.sh: document the busy-aware fallback in the
  file header and above fm_tmux_submit_enter_core
- .agents/skills/afk/SKILL.md: daemon-facing policy note
- .agents/skills/harness-adapters/SKILL.md: harness-specific fact
- docs/tmux-backend.md: submit-acknowledgement section with the
  busy-queue exception
- docs/herdr-backend.md: record the known gap
- docs/architecture.md: cross-reference in the daemon section

* test(tmux): fix SC2181 and make busy-submit test executable

* fix: prevent AFK idle stalls and stale run attribution (kunchenguid#758)

* fix(supervision): verb-aware captain relevance, AFK wedge, head-bound state

Stop free-text tokens like "merged" from promoting nonterminal working: lines
to captain-relevant, so AFK no longer permanently suppresses idle recovery.
Defend wedge aging independently for nonterminal progress verbs, bind
no-mistakes current-state attribution to code identity (not branch alone),
and mark setup-complete as nonterminal in the ship brief scaffold.

* no-mistakes(review): Enforce nonterminal suppression and head-bound run attribution

* no-mistakes(document): Document current-code-bound run attribution

* no-mistakes(test): Wait for stable Herdr shell readiness

* no-mistakes(test): Make Herdr and watcher readiness tests deterministic

* no-mistakes(test): Make tmux capture and watcher lifecycle deterministic

* no-mistakes(document): Document corrected supervision contracts

* fix(bin): allow safe teardown during watcher recovery (kunchenguid#750)

* fix: allow safe teardown during watcher recovery

* no-mistakes(review): Distinguish unsafe-teardown deny guidance via policy reason code

* no-mistakes(document): Sync continuity-gate docs to allow teardown recovery

* test: mark dynamic teardown fixture literal

* no-mistakes(document): docs: add teardown to continuity gate allow list

* fix(supervision): apply recovery wording to Cursor and Kimi repair lines

Upstream kunchenguid#744 renamed guard repair guidance from "resume supervision" to
"repair missing watcher supervision". Keep that distinction on our
Cursor/Kimi primary harnesses and give them ordinary-wake lines.

* ci: raise Behavior tests timeout to 30 minutes

The sequential suite now includes continuity and supervision regressions
from upstream cherry-picks. CI logs show steady progress with no long
gaps through ~15 minutes, so the job was cancelled mid-run rather than
hung. Keep a hard timeout, but give a healthy full pass room to finish.

---------

Co-authored-by: Kun Chen <3233006+kunchenguid@users.noreply.github.com>
Co-authored-by: vvizlan <steve.rule.wilson@gmail.com>
Co-authored-by: Kostadin Pop-Kochev <kostadin.popkocev@gmail.com>
Co-authored-by: jjames27th-eng <jjames27th@gmail.com>
Co-authored-by: nithingm <nithingm31@gmail.com>
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
…er (kunchenguid#22)

* fix(bin): keep a downtime recovery quiet when it has nothing to recover

Every ordinary watcher close publishes downtime, so after an acknowledged
episode the next arm opened a fresh recovery and woke the supervisor with
`check: rearm-resurface` even when the durable queue was empty, no task was
in flight and no decision was open. That turn had nothing to do.

Before waking on a downtime episode, a non-successor watcher now checks for
something to recover: a queued row, a task in flight (fm_supervision_status
owns that count) or a still-open decision. With none, it retires the
announced episode as acknowledged, the same state the drain's acknowledgement
reaches after a no-op turn, and keeps supervising. The retirement re-reads the
queue under the queue and marker locks, so a row appended after the check
opens a fresh generation that still wakes; a lock or write failure, a moved
episode or an unreadable scan falls back to the wake. The handling-successor
path is unchanged.

Tests reproduce the quiet case and prove that later queued work after the
same downtime still surfaces, and that downtime with a task in flight still
wakes. Tests that asserted a recovery wake on an otherwise empty home now
record a task in flight so they keep exercising that wake.

* no-mistakes(review): Drop open-decision wake from idle downtime recovery check

* no-mistakes(document): Update watcher-arm coverage note for quiet idle downtime
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.

4 participants