Repository navigation
Commit c42e0f4
committed
ai(rules[AGENTS]) Prefer pinned GitHub source links
why: links to trunk rot silently — the file moves, lines shift, and the
anchor lands on unrelated code while still resolving. The rubric warned
against bare SHAs, which reads as "don't pin links either".
what:
- Add Durable Source Links: tag first, then a trunk-reachable 7-char
commit ref, trunk only for living documents
- Rule out PR-head SHAs, which can be rebased or garbage-collected
- Restrict line anchors to pinned refs1 parent b6f9f93 commit c42e0f4
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
544 | 560 | | |
545 | 561 | | |
546 | 562 | | |
| |||
0 commit comments