Skip to content
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

feat: record spawn route evidence - #2

Merged
JTInventory merged 1 commit into
fm/firstmate-route-resolver-pr1-0625from
fm/firstmate-route-spawn-integration-pr2-0625
Jun 25, 2026
Merged

JTInventory merged 1 commit into
fm/firstmate-route-resolver-pr1-0625from
fm/firstmate-route-spawn-integration-pr2-0625

Conversation

@JTInventory

Copy link
Copy Markdown
Owner

Summary

  • integrate bin/fm-route.sh into ordinary fm-spawn.sh launches
  • record route evidence in state/<id>.meta while keeping harness= as the actual launched harness
  • preserve manual harness and raw launch command paths with manual/raw route evidence
  • append a small generated route block to ordinary worker briefs after spawn safety checks pass

Validation

  • bash -n bin/fm-route.sh bin/fm-spawn.sh tests/*.sh
  • bash tests/fm-route.test.sh
  • bash tests/fm-spawn-route.test.sh
  • bash tests/fm-spawn-batch.test.sh
  • bash tests/fm-bootstrap.test.sh
  • git diff --check

@JTInventory
JTInventory merged commit 91099ae into fm/firstmate-route-resolver-pr1-0625 Jun 25, 2026
JTInventory pushed a commit that referenced this pull request Aug 11, 2026
* fix(bin): handle dash-leading harness process names (#2)

* fix: handle dash-leading harness process names

* no-mistakes(review): Make dash-leading harness regression hermetic

* fix: preserve secondmate reply routes across relative homes

Resolve relative home, data, and state inputs before durable charter generation, and fail when caller-relative directories cannot be resolved.

Use absolute paths at the related spawn, AFK daemon, and X-mode cross-process handoffs so later processes cannot reinterpret them from another working directory.

* no-mistakes(review): Preserve absolute overrides and normalize relative durable paths

* no-mistakes(review): Normalize relative home before deriving durable paths

* no-mistakes(document): Document relative durable-path normalization

* no-mistakes(review): Captain: Ignore inherited CDPATH during relative path normalization

* no-mistakes(lint): Fix empty CDPATH assignments for ShellCheck
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant