Repository navigation
chore: reduce fork divergence to the clickup feature only - #5
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reduces this fork's divergence from
upstream/mainto the ClickUp feature and nothing else.e595611, gitignoreconfig/directory rule).cdcedcb) inbin/fm-harness.sh,bin/fm-session-lock-lib.sh, andtests/fm-secondmate-harness.test.shback to upstream's exact content. This is the captain's explicit decision, made with full knowledge that it reintroduces thebasename: illegal optionbug on a login shell, and it is deliberately not being sent upstream..gitignore(directory-levelconfig/rule) andtests/fm-gitignore-config.test.shwholesale, dropping the fork's exact-filename list and itsconfig/clickup.jsonline — upstream's blanket rule already covers it.tests/fm-clickup-contract.test.sh's gitignore assertion, which grepped.gitignorefor the literal stringconfig/clickup.jsonand broke once that line was dropped. Replaced with a behavioralgit check-ignore -qcheck, matching upstream's own move to behavioral test coverage over source assertions (a2d5f26).Diff against upstream/main
Exactly 7 paths: 3 are ClickUp-only files that exist solely in this fork; the other 4 (
AGENTS.md,README.md,docs/documentation-audiences.json,bin/fm-test-run.sh) are shared upstream files where the only remaining difference from upstream is the ClickUp-related lines added on top.Login-shell ancestry fix: reverted, not carried, not proposed upstream
bin/fm-harness.sh,bin/fm-session-lock-lib.sh, andtests/fm-secondmate-harness.test.share byte-identical to upstream:Because these five files are upstream-byte-identical, upstream's own test coverage applies to them going forward — that is what makes the reduced verification in this PR sound rather than a shortcut.
config/clickup.jsonignore checkConfirmed: still matched, this time by upstream's blanket
config/rule rather than a fork-local line.Test verification
The captain changed the verification bar mid-task after the full suite (
bin/fm-test-run.sh --all) was killed mid-flight once and returned an untrustworthy exit status once (the real-Herdr-gated family is the most likely cause of the earlier death). Per that decision, this PR is verified with a targeted set instead of the full suite:Bears on the reverted
bin/fm-harness.sh/bin/fm-session-lock-lib.sh:tests/fm-secondmate-harness.test.sh— all cases pass (one case initially reported a false failure caused by ambientCLAUDECODE=1leaking from the live agent session that was running this verification into the test's fake-pssubprocess; re-run with that ambient state stripped, and it passes cleanly)tests/fm-session-start.test.sh— passtests/fm-turnend-guard.test.sh— passtests/fm-claude-stop-autoarm.test.sh— passtests/fm-backend.test.sh— passtests/fm-kimi-harness.test.sh— passtests/fm-watcher-lock.test.sh— passBears on the fork-specific work and the gitignore change:
tests/fm-clickup-contract.test.sh— pass (after the fix above)tests/fm-gitignore-config.test.sh— passNot exercised: the real-Herdr-gated test family was deliberately not exercised in this verification pass, by the captain's decision. This PR does not claim full-suite coverage and does not claim a green full suite — only the targeted set above, plus the byte-identical-to-upstream argument for the five reverted/adopted files.
shellcheckis clean on everybin/script touched:bin/fm-harness.sh,bin/fm-session-lock-lib.sh,bin/fm-test-run.sh.Expected CI
Expect exactly 2 red checks requiring this PR to be raised via the no-mistakes pipeline — a known gate-registration mismatch (the pipeline's first step would flatten this branch's upstream merge commit, and firstmate's gate registration currently targets the upstream project rather than this fork), not a problem with this change. Not merging; that decision belongs to the captain.
Summary by CodeRabbit
Bug Fixes
config/are automatically excluded from version control.Tests
config/ignore behavior.