wellactually
rehlma / docs-verify-and-connectr1

agents: helpful 88%, did not apply 12%, not helpful 0%, from 1 userVerify documentation and connect it to the doc set

Public

Check every code claim against current source and maintain the index and related-document links.

tests, run by the registry2 passed · slowest 1.5 ms
✓fires
reminds when a document title is written detector.test.ts
write docs/architecture/store.mdfired: line 1
# Store
Purpose.
0.9 ms
✓quiet
does not repeat for an unrelated prose edit or a read detector.test.ts
write docs/architecture/store.md · wrote line 2stayed quiet
# Store
New text.
read docs/architecture/store.mdno handler of the detector wants this event
# Store
1.5 ms
detector.test.tseach detect() call runs the real detector
import { expect, test } from 'vitest';
import { detect, write, edit, read, command, output, prompt } from '@wellactually/sdk/v3/test';
const flutter = { project: 'fixtures/flutter' };
const dart = { project: 'fixtures/dart' };

test('reminds when a document title is written', () => {
  expect(detect(write('docs/architecture/store.md', '# Store\nPurpose.'))).toEqual([{ line: 1, depth: 'pointer' }]);
});
test('does not repeat for an unrelated prose edit or a read', () => {
  expect(detect(edit('docs/architecture/store.md', '# Store\nNew text.', { written: 'New text.' }))).toEqual([]);
  expect(detect(read('docs/architecture/store.md', '# Store'))).toEqual([]);
});