Skip to content

fix(harmony): exclude symlinks from unavailable files - #7886

Merged
morluto merged 1 commit into
mainfrom
codex/harmony-symlink-coverage
Oct 28, 2026
Merged

morluto merged 1 commit into
mainfrom
codex/harmony-symlink-coverage

Conversation

@morluto

@morluto morluto commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Harmony archives with a known symlink incorrectly reported unavailable file content and partial coverage. Keep symlinks in inventory while limiting unavailable component facts to files and slices. Fixes #7545.

Change and scope

The existing Harmony inventory projection owns the file selection used by both component and unavailable-content classification. Unreadable files remain unknown. The public CLI/MCP fixture exercises HAP, HSP and app-pack inputs with a ZIP symlink.

Contract and boundary impact

  • Harmony inventory projection owns file/component selection; CLI/MCP result shape and retained inventory remain unchanged.
  • Existing read-only artifact analysis; no new provider, target execution, network access, or setup authority.
  • Evidence preserves original input and limitations. No package or generated-metadata change.

Validation performed

  • npm run test:focused -- tests/acceptance/harmonyArtifactJourney.test.ts — passed (1 test covering CLI and MCP).
  • npm run check:fast — passed.
  • git diff --check — passed.

No real Harmony package or runtime was tested. No target execution or new authority is introduced.

Author readiness

Human owner: @morluto

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

The PR limits Harmony unavailable-content reporting to files and slices. Symlinks remain in the source inventory without making component coverage partial.

  • Harmony graphs no longer count known symlinks as unavailable file content.

Reviews (1) · Last reviewed commit: "fix(harmony): exclude symlinks from unav..." · Reviewed by Greptile

@morluto
morluto marked this pull request as ready for review October 28, 2026 20:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T20:57:43.117008Z f891c7e Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto
morluto merged commit 553f195 into main Oct 28, 2026
45 of 46 checks passed
@morluto
morluto deleted the codex/harmony-symlink-coverage branch October 28, 2026 21:05
@morluto morluto mentioned this pull request Nov 11, 2026
3 tasks done
@morluto morluto added the bug Something isn't working label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Harmony graph counts a known ZIP symlink as unavailable file content

1 participant