[PR #423] [MERGED] Agent files link root #514

Closed
opened 2026-02-26 22:31:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/423
Author: @cursor[bot]
Created: 2/5/2026
Status: Merged
Merged: 2/5/2026
Merged by: @rudrankriyam

Base: asc-init-docsHead: cursor/agent-files-link-root-0e3a


📝 Commits (1)

📊 Changes

1 file changed (+17 additions, -4 deletions)

View changed files

📝 internal/cli/docs/docs_init.go (+17 -4)

📄 Description

Fix agent files not linking when a custom path is specified for ASC.md.

The linkRoot was incorrectly set to the target path's parent directory instead of the repository root, preventing AGENTS.md and CLAUDE.md from being found and linked when --path was used. This change ensures linkRoot always points to the repository root (or current directory if not in a repo).



🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/423 **Author:** [@cursor[bot]](https://github.com/apps/cursor) **Created:** 2/5/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `asc-init-docs` ← **Head:** `cursor/agent-files-link-root-0e3a` --- ### 📝 Commits (1) - [`ef2f1f4`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/ef2f1f4b9523280b6e9632bbb7c2161e973cd577) Fix docs init link root ### 📊 Changes **1 file changed** (+17 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `internal/cli/docs/docs_init.go` (+17 -4) </details> ### 📄 Description Fix agent files not linking when a custom path is specified for ASC.md. The `linkRoot` was incorrectly set to the target path's parent directory instead of the repository root, preventing `AGENTS.md` and `CLAUDE.md` from being found and linked when `--path` was used. This change ensures `linkRoot` always points to the repository root (or current directory if not in a repo). --- --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#514
No description provided.