Skip to content

bug: clean clone baseline regressed through ignored word-to-md-swift path dependency #164

Description

@kiki830621

Problem

Observed clean-clone failure:
error: the package at '<clean-clone>/packages/word-to-md-swift' cannot be accessed (... doesn't exist in file system)
— Source: reproducible swift test on origin/main at b66d98c

A clean clone of PsychQuant/macdoc cannot resolve the root Swift package graph. Package.swift declares word-to-md-swift as a local path dependency, while the blanket packages/ ignore rule excludes that directory and no matching whitelist tracks it.

This regresses the clean-clone guarantee previously repaired and verified by #12.

Type

bug

Priority

P1 — blocks reproducible baseline verification for every implementation issue.

Expected

  • git clone https://github.com/PsychQuant/macdoc.git
  • cd macdoc
  • swift test

The package graph should resolve without requiring developer-local directories.

Actual

SwiftPM exits before planning the build because packages/word-to-md-swift is absent from the clean clone.

Root-cause evidence

  • Commit c3003ca changed the dependency from the remote PsychQuant/word-to-md-swift package to .package(name: "word-to-md-swift", path: "packages/word-to-md-swift") as a temporary compatibility override.
  • .gitignore still excludes packages/word-to-md-swift.
  • The upstream repository now has a public v1.0.0 tag, so the original “until upstream publishes” condition is no longer true.
  • The developer checkout masks the regression because it contains the ignored package directory locally.

Impact

  • Fresh contributors and CI cannot run the root build/test baseline.
  • Local verification can pass only because of hidden filesystem state.
  • Repository-wide IDD verification cannot distinguish regressions from an already-broken baseline without a workaround.

Clarity Surface(idd-clarify run 2026-08-23T19:48:42Z, unattended)

Type Source Question for you Status
(none) no issues detected passed

Current Status

Phase: closed
Last updated: 2026-09-01 by idd-close (batch)

Key Decisions

Scope Changes

  • (none)

Blocking

  • (none — verify-gated PASS; awaiting PR review/merge)

Commits

  • 02193ce — restore clean-clone WordToMD dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority 1 — 本週處理bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions