Commit 19e5b86
committed
Prompt: reflect project-doc hydration in the Linear addendum (no-MCP audit)
Auditing the agent system prompts against this session's changes: the Linear
channel addendum still told the agent a "project wiki doc" was something it
CAN'T see and should flag in the PR — but the doc-content hydration added this
session folds project wiki documents (with content) into the task description
under `## Project documents`. Left as-is, the agent could flag "I couldn't see
the wiki doc" when the content is right there.
Fixes (prompt text + its docstring only — no logic):
- "Context is already here" now lists project wiki-document CONTENT alongside
title/description/comments/attachments, and points at the `## Project documents`
/ `## Recent comments` sections.
- The "material that ISN'T in your context" line now says a doc noted as
present-but-not-included (empty/over-cap), not "a project wiki doc" flatly.
Audited the other prompt files (new_task, pr_iteration, base, pr_review, restack,
decompose): none make Linear/attachment/MCP claims that this session made stale —
no changes needed there. The core "you have no Linear tools, don't call any"
guidance remains correct. Prompt tests (49) + agent gate (1374) green.1 parent dcec12a commit 19e5b86
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
320 | 323 | | |
321 | 324 | | |
322 | 325 | | |
| |||
0 commit comments