feat(framework): block incoherent backlog writes with AI lifecycle hooks
@blafourcade is already working on this.
Since Aug 6, 2026.
Assessment
This issue has not been assessed yet.
Description
Problem to solve
An AI agent can leave a modified local backlog incoherent without being stopped before its turn ends.
Proposed solution
aidd-pm owns a deterministic local Markdown coherence checker. A project-scoped blocking AI lifecycle hook runs at turn stop only when the backlog changed, reports stable diagnostics, and blocks an invalid final state.
Content type
- Other: AI lifecycle hook
Target tool(s)
- Other: hosts with a blocking lifecycle event
Additional context
The first boundary is local Markdown only. A remote support joins only after its capability can return a normalized post-write snapshot.
Acceptance criteria
- Broken local relations, shape, sections, cycles, order, or terminal-parent conflicts block the turn with a named rule.
- A valid change does not block.
- An untouched backlog exits quickly.
- Every invariant has a corruption probe against a temporary copy.
- Each generated host integration is valid; unsupported hosts are skipped explicitly.
- A remote support is never reported coherent without its own post-write snapshot.
Out of scope
- Git pre-commit and CI gates.
- A universal tracker validator.
- Automatic repair or external writes.
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 45
- Avg merge
- 14h 27m
- Merged PRs (30d)
- 111
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ai-driven-dev/framework
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one round Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#887 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ai-driven-dev/framework#873 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ai-driven-dev/framework#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ai-driven-dev/framework#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#467 · 1 comment ·
All issues in ai-driven-dev/framework
Similar issues
-
blocklist removal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pastelsky/bundlephobia#1122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100