Commit Graph
68 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 6b7bca9746 Add ADR 0027: synchronous core and job queue
Records sync core with async edge, at-least-once delivery with
three attempts, and UUIDv7 jobs. Linked from architecture.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-03 23:32:22 +01:00
torben 587067381d Merge pull request 'Format-Hook prüft Codeblöcke in Markdown' (#42) from 41-format-hook-markdown into main
Reviewed-on: #42
2026-12-03 21:43:49 +00:00
torben 0763faa71d Merge branch 'main' into 41-format-hook-markdown
CI / checks (pull_request) Successful in 45s
2026-12-03 21:42:37 +00:00
torben 4a52a1abdd Merge pull request 'ADR 0026: Lage der Schritt-Bausteine' (#38) from 12-step-block-location into main
Reviewed-on: #38
2026-12-03 21:42:16 +00:00
torbenandClaude Opus 5.5 0ecd780f59 Format Python code blocks in Markdown via pre-commit
CI / checks (pull_request) Successful in 53s
CI runs ruff format over the whole repository, which includes code blocks in
Markdown. The hook only saw Python files, so a local run passed and CI failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:09:42 +01:00
torbenandClaude Sonnet 5.5 c63d4a1c1f Link ADR 0026 and close the open point in ADR 0011 and 0024
CI / checks (pull_request) Successful in 45s
Add glossary terms producer id and fingerprint; update the architecture table.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:49:58 +01:00
torbenandClaude Sonnet 5.5 2f50c3925d Add ADR 0026 on the location of step building blocks
Decides location, import rule, layout, templates, version and names.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:49:58 +01:00
torben b4087cdf6e Merge pull request '/design erläutert Entscheidungen ausführlich' (#37) from 36-design-explain-decisions into main
Reviewed-on: #37
2026-12-02 22:37:12 +00:00
torbenandClaude Opus 5.5 fad6dfd2db Explain decisions in detail in /design
CI / checks (pull_request) Successful in 48s
The operator decides from the chat text without opening the issue and the
ADRs next to it, so the text has to carry background, options with their
price, a reasoned recommendation and the consequences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 23:31:44 +01:00
torben 068233eedf Merge pull request 'torben/chemenu#249 in ADRs 0003–0025 zerlegt' (#35) from 11-adr-decomposition into main
Reviewed-on: #35
2026-12-02 22:26:24 +00:00
torbenandClaude Sonnet 5.5 076aa75e3a Add terms from the ADRs to the glossary
CI / checks (pull_request) Successful in 46s
Terms that carry the decisions (operation, inventory, disposition,
fact time, authority, plugin, manifest and others) get German-English
pairs with a short meaning taken from the ADRs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 8489ce7b49 Point CLAUDE.md and README.md at the architecture overview
The architecture now lives in docs/architecture.md and docs/decisions/,
so neither file refers to torben/chemenu#249 as authoritative anymore.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 980328ce2e Replace the architecture stub with the overview and add link tests
architecture.md now carries the ADR table, both diagrams, scaling, risks
and the table of inputs from the legacy stack. Tests check contiguous ADR
numbers, that every ADR is linked, and that relative links resolve.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 5ca64b177e Add ADR 0025: processor plugins
Decompose torben/chemenu#249 § Geparkt und offen (c) into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 ddff438640 Add ADR 0024: step building blocks and evals
Decompose torben/chemenu#249 § Geparkt und offen (b) into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 2bf45b75b2 Add ADR 0023: migration by big bang
Decompose torben/chemenu#249 § Geparkt und offen (a) into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 ced34485a4 Add ADR 0022: budgets and kill switch
Decompose torben/chemenu#249 § Gegenprüfung 6 into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 c7da84ef06 Add ADR 0021: chat with the knowledge base
Decompose torben/chemenu#249 § Gegenprüfung 5 into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 be0a99fb72 Add ADR 0020: input channel for humans
Decompose torben/chemenu#249 § Gegenprüfung 4 into its own decision record.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 f995135587 Add ADR 0019: security boundaries
Egress, sandbox worker, rendering, OIDC, secrets and Python rules.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 382c97e90e Add ADR 0018: backend and clients
Python with ports and adapters, explicit context, API-first, client ladder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 909eaf90bc Add ADR 0017: deployment
One instance per knowledge base as Linux container; Windows as client.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 77ad570f0f Add ADR 0016: deletability
git stays with three provisions; revision store behind a port.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 7f85fa9f8a Add ADR 0015: fact time and authority
Interval with provenance, partial order, authority scale and source versions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 23:11:02 +01:00
torbenandClaude Sonnet 5.5 4be30cbdfb Add ADR 0014: storage format and identity
Markdown with title wikilinks stays canonical; id, aliases and the section as unit of work.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 1ac943cfcc Add ADR 0013: hybrid search
Search lives in the service database; QMD is rejected as a backend, its design principle is kept.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 11ce956530 Add ADR 0012: SQLite as default
SQLite default, Postgres optional, database behind a port; the choice is reversible.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 69455d7a8e Add ADR 0011: the service as sole writer
git with LFS is canonical; state classes, cheap and costly derived data, cache rules and the rebuild in six steps.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 f960ee4c54 Add ADR 0010: undo backwards
Undo takes later commits back first; the jobs are requeued and replanned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 77b9e12dfc Add ADR 0009: approval by risk
Two-stage check, class from signals, questions instead of diffs, partial application; fatigue tuning left open (#29).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 1c22baf20a Add ADR 0008: writing as operations
Operations, rewriting as the normal case, appending, type spec and writing rule from torben/chemenu#249 § Freigabe.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 98108d9602 Add ADR 0007: local embeddings by default
Embeddings run in a local container behind the OpenAI-compatible
adapter; API providers stay possible; reranker only after evals.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 ff687334c6 Add ADR 0006: model access via step profiles
Step profiles, provider adapters, CLI fixed costs, evals as a
precondition, data class and the machine-local configuration rule.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 ea5fe141ea Add ADR 0005: inventory and disposition
Inventory per source section, disposition per entry, code checks,
skipped entries and integration per target section.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 f7e917b00f Add ADR 0004: ingest in two phases
Phase A parallel, phase B serial, re-check including assignment,
structural change events and reservation of planned new pages.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 7ae863250d Add ADR 0003: code leads, LLMs judge
Three roles, job anatomy, wiki-ingest decomposition, confined worker
and the O(1) job-context invariant, from torben/chemenu#249.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torbenandClaude Sonnet 5.5 85f19d79ee Add format test for architecture decision records
Checks frontmatter, template sections, placeholders, source line for
ADR 0003-0025 and issue references under 'Bewusst offen'.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:53:44 +01:00
torben ff0037543e Merge pull request 'Importe im Wurzelpaket verbieten' (#34) from 13-root-import-contract into main
Reviewed-on: #34
2026-12-02 20:51:35 +00:00
torbenandClaude Opus 5.5 f2882511f4 Forbid layer imports in the root package
CI / checks (pull_request) Successful in 45s
The layers contract does not check chemenu/__init__.py itself, so an import
there would load a layer for every importer without any check failing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 21:49:48 +01:00
torben fcdce6d63b Merge pull request 'Importregel der Schichten technisch prüfen' (#33) from 13-import-contracts into main
Reviewed-on: #33
2026-12-02 20:48:14 +00:00
torbenandClaude Sonnet 5.5 b6d9b9c2e4 Document the import-linter check
CI / checks (pull_request) Successful in 44s
Mention lint-imports in CLAUDE.md and the contract in the architecture doc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00
torbenandClaude Sonnet 5.5 121ee3fe55 Run import-linter as pre-commit hook
The CI already runs the pre-commit hooks, so the contract is enforced there too.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00
torbenandClaude Sonnet 5.5 81e05acd47 Add import-linter layer contract with tests
Enforce inward-only imports between domain, ports, application, adapters and evals; unlisted packages fail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 21:33:00 +01:00
torben 2c55a0b749 Merge pull request 'Eval-Gerüst gegen aufgezeichnete Antworten' (#10) from 4-eval-harness into main
Reviewed-on: #10
2026-12-02 18:40:45 +00:00
torbenandClaude Sonnet 5.5 ecba5f32a3 Document the eval command in CLAUDE.md and eval-runner
CI / checks (pull_request) Successful in 35s
Replace the placeholder text now that chemenu-eval exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 1fe53dfe12 Run the example eval set in CI
Separate Evals step after Pytest; other checks unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 c423e1039c Add example eval set and its test
Three recorded cases for an entity-extraction step; threshold 1.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 53bed333de Add eval runner, report and chemenu-eval command
Scores each case against its recorded response, prints one line per case plus a summary, and exits 0, 1 or 2 (load error).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 77097dd81c Add eval set and recorded response loader
load_eval_set turns a set directory into an EvalSet; every load
failure becomes an EvalSetError naming the file. RecordedResponses
returns raw response text or None.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 4a6e4ef2a8 Add PyYAML and its type stubs for the eval loader
Eval sets are YAML files; types-PyYAML keeps pyright strict.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00