Skip to content

Honor harness ignore during profile root validation#62

Merged
reachjalil merged 2 commits into
mainfrom
codex/profile-root-ignore-validation
Jun 6, 2026
Merged

Honor harness ignore during profile root validation#62
reachjalil merged 2 commits into
mainfrom
codex/profile-root-ignore-validation

Conversation

@reachjalil

Copy link
Copy Markdown
Owner

Summary

  • Preserve the existing migration checklist/reporting commit already on local main.
  • Make profile-root validation discovery prune directories ignored by .harnessIgnore, fixing generated/runtime Harness-like trees that carry their own .harnessProfileRoot markers.
  • Add a focused regression test for ignored runtime projections and document the scenario in docs/TESTING.md.
  • Declare this repo's examples/ tree as ignored for root activation so direct harnessc activate --yes works without the dogfood fixture wrapper.
  • Bump the reference implementation packages to 1.0.0-alpha.10 and add release notes.

Root Cause

The validator's findProfileRootsOutsideAllowedRoots walk used only a fixed directory skip list. It did not use the Harness ignore matcher, so ignored generated directories could still produce harness.profile_root_outside_source_roots diagnostics.

Validation

  • pnpm --filter @harnessconfig/core test
  • pnpm --filter @harnessconfig/core check
  • pnpm build
  • node packages/cli/dist/bin.js validate
  • node packages/cli/dist/bin.js activate --yes
  • npx harnessc activate --yes
  • pnpm run quality
  • GITHUB_REF_TYPE=tag GITHUB_REF_NAME=v1.0.0-alpha.10 pnpm run release:verify
  • pnpm run release:publish:npm:dry-run

Release Plan

After this PR merges to main, create and push v1.0.0-alpha.10 on the merge commit. The publish dry-run confirmed all packages publish with npm dist-tag latest.

…ig migration

- Introduced a new checklist file for structure and full transition checks to guide users through migration and auditing processes.
- Updated CLI documentation to include new options for managing orphaned outputs during activation.
- Enhanced migration documentation to clarify handling of orphaned managed outputs and their preservation during profile changes.
- Created a new reporting and communication guide to assist in preparing migration status updates and summaries.
- Revised verification documentation to include orphaned managed outputs as a distinct category in the activation plan.
@reachjalil reachjalil merged commit 9931de0 into main Jun 6, 2026
1 check passed
@reachjalil reachjalil deleted the codex/profile-root-ignore-validation branch June 6, 2026 05:54
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.

1 participant