Skip to content

docs(agents): symlink editing rule, crates.io UA, jq optional chaining - #139

Merged
CybotTM merged 1 commit into
mainfrom
docs/agents-learned-notes
Aug 4, 2026
Merged

CybotTM merged 1 commit into
mainfrom
docs/agents-learned-notes

Conversation

@CybotTM

@CybotTM CybotTM commented Aug 4, 2026

Copy link
Copy Markdown
Member

What

Three promoted learnings (/retro promote, batch 4) into AGENTS.md:

  • CLAUDE.md is a symlink to AGENTS.md (root and scoped) — edit the resolved target; editing the symlink fails the Edit-tool guard.
  • crates.io rejects UA-less requests with non-JSON; always pass -A, and note the package-version MCP has no crates coverage.
  • Default to jq optional chaining (.arr[]?) over external API JSON — a null array otherwise aborts the whole pipeline.

The deps-vs-system-upgrade note from the same batch is already covered by "Project maintenance vs. tool feature" and was tombstoned without an upward write.

Came from /retro: yes

Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
Copilot AI lite review requested due to automatic review settings August 4, 2026 15:00
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

1 similar comment
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

Documentation-only updates are clear, correctly formatted, and consistent with the PR description.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Promotes three operational/documentation learnings into the repository’s root AGENTS.md to improve contributor guidance around editing agent instructions and handling external API/jq edge cases.

Changes:

  • Documented that CLAUDE.md is a symlink to AGENTS.md and must not be edited directly.
  • Added external API guidance covering crates.io’s User-Agent requirement and jq optional-chaining to avoid null-array iteration failures.
File summaries
File Description
AGENTS.md Adds contributor guidance on symlinked instruction files and external API/jq robustness gotchas.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@CybotTM
CybotTM merged commit 5286b93 into main Aug 4, 2026
25 checks passed
@CybotTM
CybotTM deleted the docs/agents-learned-notes branch August 4, 2026 15:05
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.

2 participants