Skip to content

fix(skill): Replace ':' with ';' in skill description - #45

Merged
kunchenguid merged 1 commit into
kunchenguid:mainfrom
AnonymousMorris:fix-yml-error
Jun 23, 2026
Merged

kunchenguid merged 1 commit into
kunchenguid:mainfrom
AnonymousMorris:fix-yml-error

Conversation

@AnonymousMorris

Copy link
Copy Markdown
Contributor

The SKILL.md description is parsed as YAML, and the : character in the plain-text description was being interpreted as YAML syntax. Removing it keeps the metadata parseable.

The SKILL.md description is parsed as YAML, and the : character in the
plain-text description was being interpreted as YAML syntax. Removing it
keeps the metadata parseable.
@AnonymousMorris

Copy link
Copy Markdown
Contributor Author

The colon cause this error in codex.

⚠ Skipped loading 1 skill(s) due to invalid SKILL.md files.
⚠ /home/morris/sandbox/ai/firstmate/.agents/skills/afk/SKILL.md: invalid YAML: mapping values are not allowed in this context at line 2 column 356

@kunchenguid
kunchenguid merged commit 2a2fe05 into kunchenguid:main Jun 23, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

ty!

leo1oel added a commit to leo1oel/nemo that referenced this pull request Jun 23, 2026
Bring the upstream secondmate feature (PRs #37/#42/#43/#31/kunchenguid#45) to
herdr-backend, rewriting every treehouse/tmux mechanism into the herdr
equivalents this branch already uses. A secondmate is a crewmate whose
workspace is an isolated firstmate home (its own FM_HOME) and whose brief
is a charter; it runs the same spawn/brief/status/watch/teardown/recovery
lifecycle and is idle by default.

treehouse -> herdr mapping:
- Home leasing -> a herdr worktree of the firstmate repo. fm-home-seed.sh
  `-` runs `herdr worktree create --cwd $FM_ROOT --branch secondmate-<id>`
  and records the worktree path + open_workspace_id; herdr never recycles a
  worktree, so persistence is automatic and all lease/return bookkeeping is
  dropped. The workspace id is stored beside the home marker
  (.fm-secondmate-home.workspace) so retirement can find it.
- Retirement / seed rollback -> `herdr worktree remove --workspace <ws>
  --force`. An explicit <home> path stays a plain directory home (a git
  clone, no herdr worktree); spawn opens a workspace for it on the fly via
  `herdr workspace create` and teardown closes it with `herdr workspace
  close` then deletes the dir.
- firstmate_home_has_treehouse_slot -> "does the home record a workspace
  marker"; if yes remove via herdr, else plain rm.

New: bin/fm-home-seed.sh (charter fill, project cloning, no-mistakes init,
registry edits, transactional rollback, validate subcommand all ported
as-is), bin/fm-backlog-handoff.sh (no treehouse/tmux; near-verbatim).

Edits (re-implemented on the diverged herdr-backend files, not applied as
upstream hunks): fm-spawn.sh (--secondmate path, FM_HOME indirection,
registry/home resolution, launch in home, meta records
home=/home_workspace=/projects=), fm-teardown.sh (kind=secondmate
retirement via herdr, child-work refusal + --force discard, plus #31:
allow teardown when work is on any remote incl. a fork), fm-brief.sh
(--secondmate charter scaffold), fm-watch.sh (skip stale-pane wakes for
kind=secondmate), fm-project-mode.sh (honor FM_HOME/FM_DATA_OVERRIDE so a
secondmate resolves its own projects.md). kunchenguid#45: dropped the ':' from the afk
skill description. Skipped fm-bootstrap.sh / fm-harness.sh (removed on this
branch).

Docs: AGENTS.md + README.md gain herdr-flavored secondmate sections
(concept, secondmates.md routing table, fm-home-seed usage, idle-by-default
contract, backlog handoff, kind=secondmate recovery, watch idle) with no
treehouse/tmux wording.

Tests: new herdr-stubbed tests/fm-secondmate.test.sh drives the real
scripts against a stub `herdr` over the full lifecycle (seed `-`, register,
validate dup ids/homes/overlap, spawn, backlog handoff, retire);
tests/fm-teardown.test.sh ports the #31 any-remote/fork matrix to herdr.
shellcheck bin/*.sh tests/*.sh clean; 5/5 test scripts pass.
@AnonymousMorris
AnonymousMorris deleted the fix-yml-error branch June 23, 2026 15:23
augustomklee added a commit to augustomklee/firstmate that referenced this pull request Jun 24, 2026
Port upstream batch 1: teardown fork-remote eligibility (kunchenguid#31) + afk skill desc (kunchenguid#45)
This was referenced Aug 7, 2026
fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 2, 2026
…guid#45)

Two session-start diagnostics that could not tell the truth, and now can.

Ledger-subtracted upstream drift
--------------------------------
`UPSTREAM:` reported the raw `rev-list --count HEAD..upstream/main`. Because
a port lands under a new sha, upstream's original stays unreachable forever,
so that figure counted delivered work as outstanding, could only ever rise,
and would have read 99 after fifty more commits landed. A number that cannot
fall is a number nobody reads.

fm_upstream_undelivered now classifies each unmerged upstream commit and the
line counts and lists only what is genuinely still outstanding. The ledger is
DERIVED from the fork's own commit history, never stored, so it self-corrects
the moment a batch lands. Three classes, first match wins:

  1. An explicit record in docs/upstream-ported-ledger.txt. The reviewable
     escape hatch for hand-integrations with no machine-readable trace, and
     the way to retire a wrong match with `not-ported`.
  2. The upstream subject, PR number and all, quoted in a fork commit body.
     Squash merges preserve it. Matching the whole subject rather than the
     bare (#N) token is what keeps fork PR numbers from colliding with
     upstream's.
  3. The upstream sha quoted in a fork commit message, for hand-ports that
     reworded the subject.

Patch-id equivalence is deliberately not a class: measured against this fork
it identifies zero commits, so it would be an untested path backed by no
evidence.

Today: 99 raw, 24 delivered, 75 outstanding.

Runtime version-drift alarm
---------------------------
Every certified runtime here is running past its certification, and only the
Kimi primary's exact-match pin noticed - by refusing to launch. Everything
else drifted in silence.

docs/toolchain-manifest.tsv records, per runtime, the certified version, why
that version is the pin, and where its certification evidence lives. Rows are
transcribed from tracked evidence and only added once the runtime's --version
output has been parsed on a real machine; opencode and grok are listed as
deliberately absent with their reasons rather than guessed at.

fm_toolchain_check compares that manifest against PATH and prints one
TOOLCHAIN_DRIFT line per mismatch. It FAILS OPEN by design - it reports and
never blocks a launch. A strict gate in front of a self-updating binary turns
every publisher release into an unscheduled outage, which is exactly the state
the Kimi primary is in. The failure worth preventing here is silence.

Also extracts the portable timeout runner into bin/fm-timeout-lib.sh so the
new probe and the existing upstream probe share one owner rather than two
copies.
@junlov

junlov commented Nov 10, 2026

Copy link
Copy Markdown

Live result on dev portal 52274273 (2026-11-10), no secret values printed:

  • App "KHov Text Simulator" (id 61199677, static auth) uploaded and installed. First deploy failed on the retired files scope; now files.write and oauth.
  • Custom channel 3913430 registered, webhook through a temporary Cloudflare quick tunnel. Channel account 4470739543 connected to the Help Desk inbox (948000001).
  • From the phone page, with the chatbot toggle on, fake buyers texted: Test Buyer One (+15555550101, "Hi, is the model home open today?", then "person please") and Test Buyer Two (+15555550102).
  • Result in help desk: two OPEN threads on channel 3913430 in the Help Desk inbox, one per number. HubSpot created a contact for each phone number (associated contact ids on the threads). The thread for Buyer One shows the buyer texts, the simulated assistant greeting, and the handoff line "Connecting you with a member of the KHov team".
  • Not yet confirmed: a reply typed in help desk reaching the phone page. The API tokens here cannot act as a help desk agent (no users scope), so it needs a person to type the reply in the HubSpot UI.
  • Image attachment not tried yet.

@junlov

junlov commented Nov 10, 2026

Copy link
Copy Markdown

Live result, round trip confirmed (2026-11-10, portal 52274273):

  • A reply typed in help desk on Test Buyer One's thread ("What can I do for you?") arrived at the simulator through the tunnel and showed on the phone page as an agent message.
  • It only shows if the HubSpot v3 signature check and the portal check pass, so the webhook signature validation is proven live with the app client secret.
  • The sender name arrives empty from HubSpot for this reply, so the phone page labels it "Help desk".
  • Full loop works: buyer text from a fake 555 number to help desk (contact auto-created from the phone number), scripted bot greeting and handoff line, agent reply back to the phone.
  • Image attachment is still untried.

Phone page: http://localhost:4400 while the server runs. Help desk: Service, Help Desk in portal 52274273, channel "KHov Text Simulator".

fritznoff pushed a commit to fritznoff/starship that referenced this pull request Nov 18, 2026
…anges (kunchenguid#45)

* fix(bin): reload the bridge strip and Factory pane when their code changes, and close worker copies whose job ended

A running strip or Factory pane kept the code it started with, so after an
update changed the shared fleet reading it could never read the crew again
and said "reading the crew" forever. Each pane loop now checks its code before
every frame and re-runs itself in place once the new files parse. The strip
says "cannot read the crew (since HH:MM)" when readings keep failing. A factory
tab opens live copies only of workers at work, and a copy closes its pane when
its job ends.

* no-mistakes(review): Keep copies for waiting-on-you workers, defer reloads safely

* no-mistakes(review): Defer Factory pane reload while a notice shows

* no-mistakes(document): Document Factory pane reload waiting for talk box and notices

* no-mistakes(review): Baseline Factory code digest at load, unify staleness, hide interval

* no-mistakes(review): Refuse reloading panes onto empty code files

* no-mistakes(document): Note that panes refuse to reload onto empty files

* no-mistakes(document): Note non-empty reload rule in strip and Factory headers

* no-mistakes(document): Point split_workers docstring at MIRROR_STATES

* no-mistakes(document): Sync worker-copy states in Factory pane and desk docs
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.

3 participants