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

Fix route cleanup boundary matching - #3

Merged
JTInventory merged 1 commit into
fm/firstmate-route-resolver-pr1-0625from
fm/firstmate-route-cleanup-boundary-fix-0626
Jun 26, 2026
Merged

JTInventory merged 1 commit into
fm/firstmate-route-resolver-pr1-0625from
fm/firstmate-route-cleanup-boundary-fix-0626

Conversation

@JTInventory

Copy link
Copy Markdown
Owner

Summary

  • Require token or phrase boundaries for git-danger route terms like clean/reset/force/history rewrite.
  • Add regressions proving docs cleanup phrases avoid critical while git clean remains critical.

Tests

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

@JTInventory
JTInventory merged commit e3677f1 into fm/firstmate-route-resolver-pr1-0625 Jun 26, 2026
JTInventory pushed a commit that referenced this pull request Aug 11, 2026
* docs: trim AGENTS.md redundancy (diet PR 3/3)

Consolidates five duplicated passages to a single owner each, per
data/agentsmd-diet-s2/report.md redundancy items c3-c7:

- Inheritable-config propagation mechanism: owned by section 3 (where
  the sweep runs); sections 4 and 7 keep compact references. Section 4
  retains its one genuinely unique fact (crew-harness inherit-vs-fallback
  semantics), just no longer restates the propagation mechanism itself.
- Landed-work definition: owned by section 7's ship-teardown detail
  (PR-containment mechanics, pr= discovery fallback); section 1's hard
  rule #3 keeps the rule plus a three-case summary and a pointer.
- Backend meta-field enumeration: owned by docs/configuration.md
  ("Runtime backend", already comprehensive including cmux) and each
  backend's own doc; AGENTS.md keeps only the fields common to every
  task plus a pointer.
- Dropped one redundant restatement of "silence is correct while
  waiting" in section 8.
- Worktree-tangle guard explanation: owned by section 8 (already the
  fuller, cross-referenced version); section 3's TANGLE bullet keeps
  the remediation action and points at section 8 for the why.

Also adds two captain-requested single-sentence rules: invoke bin/
scripts by absolute $FM_ROOT path after any cd away from the home, and
a backend spawn refusal must be surfaced to the captain rather than
silently worked around by switching backends.

AGENTS.md: 901 -> 889 lines, 112355 -> 108560 bytes.

* no-mistakes(review): Clarify post-cd bin invocation guidance

* no-mistakes(document): Sync AGENTS trim docs

* no-mistakes(lint): Fix Markdown line style
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