发布

  • [OPIK-5364] [INFRA] fix: write diagrams to main repo root so worktree links resolve (#6390)

    frostbyte_neo 发布于 2026-04-20 14:59:31 +00:00

    Resolve MAIN_REPO_ROOT via git rev-parse --git-common-dir and always write
    diagrams/opik-{TICKET}-diagram.html (and the PNG) under that path. Also emit
    the result as an absolute-path markdown link so it's clickable from any IDE
    workspace. The diagram now survives worktree removal instead of being stranded
    at .claude/worktrees/{name}/diagrams/....

    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件