Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions hindsight-integrations/coding-agents/skill-src/preamble.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ source contradicts it), FIX THE RECORD — don't just ignore it. Call
- **content**: (1) what memory claimed, (2) what is verifiably true now, (3) the evidence you
checked (file/commit/output). Quote exact values verbatim.

Newer facts supersede older ones in retrieval, so one clear correction permanently outranks the
stale memory. Do this whenever you catch a wrong injected memory, a stale knowledge-page claim, or
an outdated decision — silent disregard leaves the trap armed for the next session.
Ingesting a correction adds evidence for future retrieval and page refreshes; it does not rewrite
the page or guarantee that the correction outranks the old claim. The old claim can remain
retrievable, so state the verified correction in your answer as well. Do this whenever you catch a
wrong injected memory, a stale knowledge-page claim, or an outdated decision — silent disregard
leaves the trap armed for the next session.
8 changes: 5 additions & 3 deletions hindsight-integrations/coding-agents/skill/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ source contradicts it), FIX THE RECORD — don't just ignore it. Call
- **content**: (1) what memory claimed, (2) what is verifiably true now, (3) the evidence you
checked (file/commit/output). Quote exact values verbatim.

Newer facts supersede older ones in retrieval, so one clear correction permanently outranks the
stale memory. Do this whenever you catch a wrong injected memory, a stale knowledge-page claim, or
an outdated decision — silent disregard leaves the trap armed for the next session.
Ingesting a correction adds evidence for future retrieval and page refreshes; it does not rewrite
the page or guarantee that the correction outranks the old claim. The old claim can remain
retrievable, so state the verified correction in your answer as well. Do this whenever you catch a
wrong injected memory, a stale knowledge-page claim, or an outdated decision — silent disregard
leaves the trap armed for the next session.

## Install / update

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ export function buildKnowledgePreamble(pages: PageRef[], opts?: ToolGuideOpts):
"memory behind them). The tools below are registered, but you must actually CALL them at the right moments:\n" +
`${toolGuide(opts)}\n` +
"ALSO your correction tool: when you verify a Hindsight memory is wrong or stale, ingest a " +
'"Correction: <topic>" doc stating what memory claimed, what is true now, and the evidence — ' +
"newer facts supersede older ones.\n" +
'"Correction: <topic>" doc stating what memory claimed, what is true now, and the evidence. ' +
"Ingesting it does not rewrite the page or guarantee that it outranks the old claim, " +
"so state the correction in your answer too.\n" +
`${body}\n` +
"This tool guide and the page list are re-injected for you periodically as things change.\n" +
"</hindsight_knowledge>"
Expand Down