Skip to content

Improve task recovery and evidence checks for 5.1.6 - #127

Merged
suboss87 merged 2 commits into
Mainfrom
improve/continuity-evidence
Sep 17, 2026
Merged

suboss87 merged 2 commits into
Mainfrom
improve/continuity-evidence

Conversation

@suboss87

@suboss87 suboss87 commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Interrupted implementation now resumes from an optional saved checkpoint and checks the current task record before continuing. The CLI preserves that summary through bounded context without opening linked files. Existing methods clarify command evidence, consequential trust boundaries and proof that failure signals reach the intended operator.

Consolidates coordinator instructions, makes standalone method entry explicit, and regenerates the existing 35 task packages. No new task skills or dependencies. Includes version 5.1.6 and user-facing documentation.

Validation: npm run check (427 tests), routing static/live CLI checks, context-budget fixture, package dry-run and independent diff review passed. Four fresh-session synthetic diagnostics exercised stale evidence, alert readiness, tenant isolation and checkpoint recovery. Earlier diagnostic deviations and limits are retained in docs/verification.md; these are not customer production or comparative performance results.

Review follow-up: checkpoint extraction ignores headings in fenced and list code examples. Dedicated regressions and a fresh full check pass; the supported record format uses unindented headings.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Comment thread bin/lib/context.js Outdated
Comment on lines +108 to +113
if (!/^##\s+Implementation checkpoint\s*$/i.test(lines[i].trim())) {
retained.push(lines[i])
continue
}
const body = []
while (i + 1 < lines.length && !/^#{1,2}\s/.test(lines[i + 1].trim())) body.push(lines[++i])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Markdown examples corrupt saved checkpoints

When checkpoints contain fenced or indented Markdown, implementationCheckpoint treats code headings as section boundaries or replacement checkpoints. fde resume then truncates the checkpoint or shows example text instead, hiding current recovery details.

Learn more

The extractor recognizes headings after calling trim(), without tracking Markdown code blocks. A line inside a fenced block can therefore end the checkpoint, while an indented code line named ## Implementation checkpoint can become the last checkpoint and supersede the real one. The remaining checkpoint fields are moved into ordinary context, where bounded history trimming can hide them.

Example: A checkpoint containing ```sh\n## setup\necho ready\n``` returns only the text before ## setup. A later indented ## Implementation checkpoint example can replace the real checkpoint entirely.

Recommended fix: Parse headings only outside fenced and indented code. Accept valid Markdown heading indentation without trimming arbitrary code indentation, and add regression coverage for fenced and indented H1/H2 text.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@suboss87
suboss87 merged commit a9ffb90 into Main Sep 17, 2026
1 check passed
@suboss87
suboss87 deleted the improve/continuity-evidence branch October 2, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant