release: native macOS preview, approved graph identity, and guarded CLI failover

This commit is contained in:
public-repo-gate
2026-09-13 16:36:15 +03:00
parent 74c9f07f59
commit 04d0ece7ff
56 changed files with 16087 additions and 4002 deletions
+6 -2
View File
@@ -721,7 +721,7 @@ ${sourceLines.join('\n')}
- ${template.next}
- Тема: ${clusterTitleRu(cluster.id)} — черновик собран, но требует проверки перед применением.
## Достоверность
## Проверка
- **Автоматический fact-check не запускался.** Это unverified synthesis cluster (\`status: draft\`). URL из extraction или topic hints - указатели, не подтверждение конкретного claim.
- Повышать до \`status: final\` только после проверки человеком или verify gate по primary sources.
@@ -1019,7 +1019,7 @@ ${addedFacts}
- ${compact(atom.next, 240) || 'Применить в ближайшей задаче по теме кластера.'}
- Тема: ${clusterTitleRu(cluster.id)} — смотреть сюда, когда всплывет этот вопрос.
## Достоверность
## Проверка
- Статус проверки: **${v.status}**${v.note ? ` (${v.note})` : ''}.
${isVerified
@@ -1054,6 +1054,10 @@ if (argv.includes('--selftest')) {
for (const line of junk) if (!looksLikeCode(line)) throw new Error(`selftest: junk passed the filter: ${line}`)
for (const line of prose) if (looksLikeCode(line)) throw new Error(`selftest: prose rejected by the filter: ${line}`)
if (readmePoints(junk.concat(prose).join('\n'), 6).length !== prose.length) throw new Error('selftest: readmePoints kept the wrong lines')
const fixtureCluster = { id: 'misc', records: [{ text: prose.join('\n'), source_ref: 'local-media:fixture' }] }
const draft = makeAtomNote(fixtureCluster, { title: 'Проверка заметки', what: prose[0], sources: [] }, { status: 'unknown' })
if (!/^## Проверка$/m.test(draft) || !/^## Проверка$/m.test(makeNote(fixtureCluster))) throw new Error('selftest: producer must use the human-layer verification section')
if (!draft.includes('verification_status: "unknown"') || !draft.includes('status: "draft"') || draft.includes('Утверждение сверено с указанными источниками')) throw new Error('selftest: section rename must not upgrade unverified facts')
console.log(JSON.stringify({ ok: true, selftest: 'source-scrape junk filter' }))
process.exit(0)
}