Commit Graph
57 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 d662ce46c8 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 1641a8e7b9 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 62e6e401bb 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 62248ac937 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 8032fb77e0 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 403ffe53e2 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 aaf60cfe3e 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 e4c7ca8228 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 6eb2aac59a 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 6daac19586 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 4905991950 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 7f152b07fd 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 21:53:44 +01:00
torbenandClaude Sonnet 5.5 b6f42bd91f 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 21:53:44 +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
torbenandClaude Sonnet 5.5 76f2fbbf06 Add eval types and hard graders
Pure grading of recorded responses: equals and contains checks over
JSON Pointers, strict output-model validation, score per case.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 c4e8f35858 Add pydantic dependency
Needed for the typed eval specs and output models.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torbenandClaude Sonnet 5.5 86092d8d81 Add ADR 0002 on the eval harness
Record layout, output schema and set format decisions from #4, plus
architecture entry and glossary terms.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 18:09:51 +01:00
torben c599bd8ef8 Merge pull request '/build läuft auch in einer Worktree-Sitzung' (#9) from 8-build-worktree into main
Reviewed-on: #9
2026-12-02 05:53:42 +00:00
torbenandClaude Sonnet 5.5 121a05cbfe Base /build on origin/main so it works in worktrees
CI / checks (pull_request) Successful in 33s
A worktree session cannot check out main, and the local main may be stale.
Fetch and use origin/main throughout instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 06:50:23 +01:00
torben ae43d1c7b5 Merge pull request 'Skills /design und /build, vier Agent-Rollen' (#7) from 3-skills-agents into main
Reviewed-on: #7
2026-12-02 05:34:19 +00:00
torbenandClaude Sonnet 5.5 6fd159fc7d Point CLAUDE.md to the skills and ignore worktrees
CI / checks (pull_request) Successful in 31s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 23:35:27 +01:00
torbenandClaude Sonnet 5.5 a15331ec50 Add /design and /build skills
/design turns an issue into a spec with interfaces and slices;
/build runs one implementer agent per slice and opens the PR.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 23:35:27 +01:00
torbenandClaude Sonnet 5.5 875a9d098c Add the four agent roles
Implementer, explorer, reviewer and eval-runner as Claude Code subagents.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 23:35:27 +01:00
torben ee85ff2b54 Merge pull request 'CLAUDE.md, Issue-Formular, PR-Vorlage, ADRs und Glossar' (#6) from 2-claude-md-docs into main
Reviewed-on: #6
2026-12-01 22:30:16 +00:00
torbenandClaude Opus 5.5 1cf0fbf81e Add CLAUDE.md
CI / checks (pull_request) Successful in 31s
Give sessions one lean context file with layout, commands and hard rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 23:14:16 +01:00