feat: company-managed sync script and pre-push check #7

Merged
neerdoc merged 37 commits from feat/company-managed-sync into main 2026-10-28 06:33:01 +00:00
Owner

Changes

  • feat(scripts): add sync-managed.sh to copy the seed repo's managed files
  • feat(hooks): refuse pushes while wulf-dev or managed files are out of date
  • docs(readme): document sync-managed.sh and the pre-push check
  • docs(roadmap): add phase 1, issue records in the wulf-dev scripts
  • Review 001 (4 fixes): check pushed commits rather than the working tree; refuse only a submodule behind wulf-dev; time out unreachable ssh hosts; handle CRLF, missing final newline and unsafe MANAGED paths
  • Review 002 (5 fixes): refuse the push when the check cannot run; check against the seed submodule and fetch once per push; exit 1 only for differences and show setup errors; skip tags and sub-branches; refuse to run from a nested submodule checkout
  • Review 003 (3 fixes, all Low): refuse when a submodule is not checked out; word the nested-submodule refusal for manual runs; drop the unused lib.sh source

Review

Latest round: docs/reviews/company-managed-sync/review-003. It recorded Low findings only, all resolved.

Generated with Claude Code

## Changes - feat(scripts): add sync-managed.sh to copy the seed repo's managed files - feat(hooks): refuse pushes while wulf-dev or managed files are out of date - docs(readme): document sync-managed.sh and the pre-push check - docs(roadmap): add phase 1, issue records in the wulf-dev scripts - Review 001 (4 fixes): check pushed commits rather than the working tree; refuse only a submodule behind wulf-dev; time out unreachable ssh hosts; handle CRLF, missing final newline and unsafe MANAGED paths - Review 002 (5 fixes): refuse the push when the check cannot run; check against the seed submodule and fetch once per push; exit 1 only for differences and show setup errors; skip tags and sub-branches; refuse to run from a nested submodule checkout - Review 003 (3 fixes, all Low): refuse when a submodule is not checked out; word the nested-submodule refusal for manual runs; drop the unused lib.sh source ## Review Latest round: docs/reviews/company-managed-sync/review-003. It recorded Low findings only, all resolved. Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Three parts, one PR each: scripts and schema for ADR-WULF-006,
migration of the flat issue files, and the pr.sh roadmap check.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Four findings on hooks/pre-push and scripts/sync-managed.sh: one high,
three medium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves 001 of review 001 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 002 of review 001 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 003 of review 001 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 004 of review 001 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves 001 of review 002 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 002 of review 002 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 003 of review 002 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 004 of review 002 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolves 005 of review 002 of company-managed-sync.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Three Low findings; withdrawn points listed in the round README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves 001 of review 003 of company-managed-sync.
Resolves 002 of review 003 of company-managed-sync.
Resolves 003 of review 003 of company-managed-sync.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
WulfScience-FOSS/wulf-dev!7
No description provided.