Support what-happened single-line targets · Entire

Support what-happened single-line targets

88b0125→main·

pfleidi·2mo ago·1 file·+5 added/-4 removed

Sessions

b82c7a7f6705View transcript

[?
I have added a new skill to plugins/entire/skills/what-happenedCodex·GPT-5.5·1 step](/content/gh/entireio/skills/session/019dc0d3-6b22-7052-b168-4487a38e0f4d#timeline-b82c7a7f6705/index.html)

Changes

1

39 unmodified lines

40
41
42
43
44
45
46
38 unmodified lines

85
86
87
87
88
89
90
88
89
90
91
92
93
94

39 unmodified lines

Supported inputs:

- `path:line`
- `path:start-end`
- `path` plus a pasted code snippet from that file

38 unmodified lines

### 1. Resolve the target block

If the user gave `path:start-end`, use that range directly and read only that range from
the file before explaining it. If the path does not exist, the file cannot be read, or the
range is outside the file, say so plainly and stop without using the `Entire What Happened:`
header.
If the user gave `path:line` or `path:start-end`, use that line or range directly and read only
that target from the file before explaining it. If the path does not exist, the file cannot be
read, or the line/range is outside the file, say so plainly and stop without using the
`Entire What Happened:` header.

If the user gave a path and a snippet:

Mplugins/entire/skills/what-happened/SKILL.md+5/-4