Три финалиста решают задачу Dossier принципиально по-разному. TriliumNext — лёгкий human-facing knowledge workspace. OpenCTI — зрелая graph/case/investigation platform. Aleph — investigative document/entity system для журналистских расследований. Здесь проверяем не маркетинг, а соответствие нашей модели Dossier.
Предварительный вывод: TriliumNext наиболее естественен как лёгкий интерфейс/рабочее пространство; OpenCTI — самый сильный architecture/reference candidate для graph + case + timeline; Aleph — лучший журналистский reference и возможный document/entity backend. Ни один из трёх не должен владеть нашей canonical Dossier semantics.
1. Что Dossier реально требует
CANONICAL:
Dossier
Entity
SourceRef
DocumentRef
ClaimRef
EvidenceBundle
TimelineEvent
Conflict
OpenQuestion
ResearchRunRef
CuratorDecisionRef
WORKFLOW:
create
append evidence
update timeline
preserve old versions
retain conflicts
merge dossier
archive dossier
export context
SECURITY:
Writer read
Researcher append/update
Curator link only
Human merge/archive
Source Watch event append
NON-NEGOTIABLE:
provenance
revision history
API
export
no permanent-RAG bypass
2. TriliumNext — deep dive
Current project state
active project in 2026;
v0.105.0 released 19 Aug 2026;
server build available;
recent releases strongly emphasize security and interoperability;
AGPL-3.0.
Native primitives
Note
Hierarchy
Clone
Attribute
Relation
Template
Attachment
Version history
Search
Note Map
Script API
REST API
Dossier mapping
Dossier object
Trilium mapping
Fit
Dossier
root note / template
STRONG
Entity
typed note + labels
STRONG
Relation
native relation
STRONG
SourceRef
note/attachment/web note
STRONG
Claim
typed child note
MEDIUM
TimelineEvent
typed note + date attributes
MEDIUM/CUSTOM
EvidenceBundle
note + relations
MEDIUM/CUSTOM
Conflict
relation + status attribute
MEDIUM
OpenQuestion
template note
STRONG
Revision
note history
STRONG for UI
Very useful 2026 change
В v0.104.0 проект сделал большой акцент на security/interoperability: backend scripting и SQL console теперь отключены по умолчанию, расширены import/export возможности. Для Dossier это хороший сигнал: можно держать automation через REST façade вместо небезопасного встроенного scripting.
Where Trilium wins
быстрый human UI без написания собственного frontend;
relations/attributes достаточны для многих dossier entities;
удобное ручное редактирование;
attachments и rich notes;
версионность;
relatively lightweight compared with OpenCTI/Aleph.
Where Trilium loses
нет formal event/timeline ontology;
нет first-class Claim/Evidence/Conflict semantics;
нет investigation case workflow;
нет source independence;
permissions/RBAC требуют отдельной проверки и, вероятно, нашего façade;
AGPL может ограничить некоторые варианты тесной модификации/сетевого предоставления.
Hypothesis: лучший candidate для ADAPT как рабочий UI, но не canonical database.
advanced enterprise capabilities must not be assumed available in CE;
customizing core model may create expensive maintenance burden.
Important: OpenCTI может быть лучшим архитектурным донором и одновременно плохим production backend именно для server2.
4. Aleph — deep dive
Project profile
investigative journalism / OSINT focus;
MIT core;
document and structured-data ingestion;
FollowTheMoney entity schema ecosystem;
search, entity cross-reference, networks;
separate MIT `alephclient` for API bulk uploads;
4.x generation includes RabbitMQ task processing.
Operational note
Aleph 4.0 moved background processing from Redis queues to RabbitMQ, explicitly to improve persistent task handling for widely varying workloads. That is mature for investigative ingestion, but also signals a materially heavier runtime than Trilium.
Dossier mapping
Dossier object
Aleph mapping
Fit
Dossier
Collection
STRONG
DocumentRef
document
VERY STRONG
Entity
FollowTheMoney entity
VERY STRONG
Relation
entity relationships
STRONG
Evidence source
uploaded/indexed source
VERY STRONG
Timeline
investigative timeline patterns
MEDIUM/STRONG
Claim
custom object/metadata needed
MEDIUM
OpenQuestion
custom
WEAK
Conflict semantics
custom
WEAK/MEDIUM
Where Aleph wins
document ingestion is core, not accessory;
journalistic investigation is native use case;
entity-centric search/cross-reference;
good fit for manuals, datasets, PDFs, company/vendor records;
API client available;
MIT licensing attractive.
Where Aleph loses
heavier service stack;
designed more for large investigative collections than lightweight working dossier;
Claim/EvidenceBundle/OpenQuestion still custom;
release/support model advises staying current rather than relying on fixed LTS;
must benchmark ingestion/storage/search resource impact on server2.
Hypothesis: strongest candidate if Dossier evolves toward document-heavy investigation corpus rather than note-centric workspace.
idle RAM
CPU idle
disk footprint
startup time
1000 entity ingest
500 document ingest
API p50/p95
search p50/p95
timeline query
backup/export
reindex/restart behavior
Не выбирать OpenCTI/Aleph только потому, что их data model богаче. На server2 уже живёт Qwen 30B.
7. License / governance
Candidate
License
Implication
TriliumNext
AGPL-3.0
legal review before modified network-service integration
OpenCTI CE
Apache-2.0
reuse-friendly; distinguish CE from Enterprise
Aleph
MIT
reuse-friendly
alephclient
MIT
easy API integration candidate
Rule
Не переносить Enterprise feature claims OpenCTI на Community Edition. Не считать AGPL автоматическим запретом — нужен конкретный deployment/legal interpretation.
dossier.create()
dossier.add_entity()
dossier.add_event()
dossier.add_evidence()
dossier.get_context()
NEVER expose vendor API directly
to Writer/Researcher agents.
9. Top risks by candidate
TriliumNext
R1 AGPL integration
R2 weak RBAC for multi-agent service model
R3 timeline custom
R4 evidence semantics custom
R5 automation/API race conditions
OpenCTI
R1 STIX domain mismatch
R2 operational complexity
R3 resource contention with Qwen
R4 CE vs Enterprise assumptions
R5 difficult future migration if canonical IDs leak
firmware 3.1 claim
→ add firmware 3.2 source
→ old claim remains
→ new event created
→ conflict/supersede state visible
Scenario C — read path
Writer asks:
"give me current dossier context
for model X firmware 3.2"
Expected:
scoped sources
current claims
conflicts
timeline
open questions
no stale 3.1 claim as current fact
Scenario D — export
full Dossier export
→ canonical JSON
→ attachments refs
→ vendor IDs separate
→ reimport possible
Scenario E — resource
measure:
idle RAM
peak RAM
CPU
disk
API latency
ingest latency
search latency
restart
backup
restore
11. Preliminary decision before benchmark
TRILIUMNEXT
likely ADAPT:
human workspace / UI
possibly storage projection
OPENCTI
likely ADAPT/REFERENCE:
graph/case/timeline patterns
possible backend only if resource fit
ALEPH
likely REUSE/ADAPT:
document-heavy investigative corpus
entity/document ingestion
OUR CODE:
canonical Dossier domain
Claim/EvidenceBundle
OpenQuestion
Conflict semantics
VersionScope
permissions façade
audit
Curator/Researcher integration
Leading architecture hypotheses
OPTION A — LIGHT
Our Dossier Core
+ Postgres
+ Trilium projection/UI
OPTION B — GRAPH HEAVY
Our Dossier Core
+ OpenCTI adapter
+ optional thin custom UI
OPTION C — DOCUMENT HEAVY
Our Dossier Core
+ Aleph document/entity backend
+ lightweight dossier UI
Следующий документ: `AI_dossier_4_benchmark_и_сравнение.html` — единый practical benchmark, hard gates и ADR-ready comparison для TriliumNext vs OpenCTI vs Aleph. Никакого финального REUSE/ADAPT/BUILD решения до измерений на server2.