Skip to content

Commit 49ffafd

Browse files
authored
[workflow-editor] docs-linker: trim redundant prompt sections (#1892)
1 parent 89887a7 commit 49ffafd

2 files changed

Lines changed: 3 additions & 31 deletions

File tree

.github/workflows/docs-linker.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/docs-linker.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -281,28 +281,6 @@ Your job is to keep at least 10 workshop files per run well-connected to the off
281281
gh-aw documentation, by adding precise **inline hyperlinks** at the first bare occurrence
282282
of each matched concept. You never remove content — you only enrich it with inline links.
283283

284-
---
285-
286-
## Docs site
287-
288-
The rendered gh-aw documentation is hosted at:
289-
290-
```
291-
https://github.github.com/gh-aw/
292-
```
293-
294-
The URL structure follows [Astro Starlight](https://starlight.astro.build/)
295-
conventions:
296-
297-
```
298-
https://github.github.com/gh-aw/<category>/<page-slug>/
299-
```
300-
301-
Use the prebuilt doc index at `/tmp/gh-aw/data/doc-index.json` as the
302-
authoritative source of rendered doc page URLs and section anchors.
303-
304-
---
305-
306284
## Load State
307285

308286
1. Read `/tmp/gh-aw/data/repo-state.json`. It contains:
@@ -417,13 +395,7 @@ anchor text or page title actually covers the concept by checking the doc index:
417395
if it does not.
418396
- If the matched entry is a **page-level URL** (no anchor), the page title must
419397
be topically related to the concept. Discard obviously mismatched entries.
420-
421-
This replaces any live API call to `github/gh-aw` during the agent phase —
422-
the source files were already fetched and parsed by the bash preindex step.
423-
424-
All page-level URLs in the validated doc index have been confirmed reachable
425-
by the bash prevalidation step — no live HTTP checks are needed during the
426-
agent phase. Discard any `doc_url` that does not appear in the validated index.
398+
- Discard any `doc_url` that does not appear in the validated index.
427399

428400
---
429401

0 commit comments

Comments
 (0)