Skip to content

fix: keep ignored compatibility links within their declared Git leg - #1316

Merged
brettheap merged 3 commits into
mainfrom
fix/local-contract-aliases
Nov 10, 2026
Merged

brettheap merged 3 commits into
mainfrom
fix/local-contract-aliases

Conversation

@brettheap

@brettheap brettheap commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

openChart's triad conversion preserves old contract paths as ignored local symlinks into its spec leg. Shape-doctor follows them and reports spec-owned domain kinds and historical YAML as assembly manifest findings.

Keep those documents within their repository boundary: the manifest-kinds row skips only untracked, Git-ignored symlinks whose existing targets are inside a declared, indexed Git leg. Every root gate input, tracked link, ordinary file and unproven boundary stays checked. No pin or project document changes.

Validation:

  • Doctor suite plus boundary tests: 453 passed, 7 skipped.
  • Boundary, filesystem, repository hygiene and pinned-copy regressions: 318 passed.
  • Two end-to-end cases cover domain kind and malformed domain YAML, with tracked-link controls.
  • openChart's validation and legacy validate script pass; the patched doctor reports manifest-kinds OK in pyBench and cloudBench.
  • Final commit 8bdc1ef has a completed Codex review with no findings.
  • Packaging, Windows Git Bash and SonarCloud pass; full Linux CI remains running.

A local backport onto the previously used standard revision makes the fix available without bringing unrelated tooling changes into that checkout. openChart, its recovery worktree, all compatibility paths, and the xFactory and MedxChart pins remain unchanged.

@sourcery-ai

sourcery-ai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 3 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Add a fail-closed check that excludes only ignored, untracked symlinks resolving inside a declared indexed Git leg, then apply it during manifest-kind discovery without exempting gate inputs.

  • shape-doctor.py L3850-3894, L4402-4406, L4520-4521

Tests

Cover alias boundary conditions and end-to-end manifest-kind behavior, including malformed YAML and the requirement that tracked links remain checked.

  • tests/test_doctor_local_leg_aliases.py L1-65
  • tests/test_shape_doctor.py L11394-11416

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T16:03:23.081394Z 8bdc1ef Manual request
ℹ️ 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.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 8bdc1efd40

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@brettheap
brettheap merged commit f39c670 into main Nov 10, 2026
5 checks passed
@brettheap
brettheap deleted the fix/local-contract-aliases branch November 10, 2026 17:46
This was referenced Nov 10, 2026
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