Commit Graph
73 Commits
Author SHA1 Message Date
torbenandClaude Sonnet 5.5 fb4e5aed1f Add Page and SourcePage with lossless reading and source writing
CI / checks (pull_request) Successful in 53s
Pages keep their original bytes; fields and sections are views. Source
pages are read strictly and written in a fixed field order.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +01:00
torbenandClaude Sonnet 5.5 506bcc458a Add fact time intervals with strict point parsing
FactTime validates and compares intervals in UTC; dates cover the
whole UTC day. parse_point/format_point accept only strict forms.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +01:00
torbenandClaude Sonnet 5.5 6ecdbe856a Add page identity and frontmatter domain types
PageId (UUIDv7) and PageTitle validate on construction; frontmatter is
split losslessly, read as text-only YAML without anchors or duplicate
keys, and written canonically. All page errors live in domain/errors.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +01:00
torbenandClaude Sonnet 5.5 cce8afada5 Add section splitting and wikilink detection to the domain
Sections are split at level 1 and 2 headings outside code and comments,
each with a content hash. Wikilinks are found outside code and comments.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +01:00
torbenandClaude Sonnet 5.5 f5f78a972d Link page format ADR from ADR 0014 and 0015, extend glossary
Clarify aliases in ADR 0014, link fields per source in ADR 0015, set date. Add section, head, title and authority form to the glossary.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +01:00
torbenandClaude Sonnet 5.5 2ab447031c Add ADR for page format and source page fields
Fills in ADR 0014 and 0015: lossless reading, title rule, sections,
hash, links, source page fields and fact time.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 03:55:01 +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
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
torbenandClaude Opus 5.5 41f5c5cfb1 Add ADR template, ADR-0001, glossary and architecture stub
Record the repo setup decision and fix terminology early.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 23:14:16 +01:00
torbenandClaude Opus 5.5 beea0b9b4a Add issue form and pull request template
Make the issue body the specification and give every PR a fixed shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 23:14:16 +01:00
torben a332515ad1 Merge pull request 'Python-Skelett, Werkzeuge und CI' (#5) from 1-skeleton-tooling-ci into main
Reviewed-on: #5
2026-12-01 22:09:10 +00:00
torbenandClaude Opus 5.5 f9ccaace89 Add Gitea Actions CI for pull requests
CI / checks (pull_request) Successful in 34s
Run lint, format, pyright, pytest and pre-commit on every PR to main.
uv is installed from a hash-pinned requirements file, not by name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 22:47:56 +01:00
torbenandClaude Opus 5.5 7c1567e4ec Configure ruff, pyright, pytest and pre-commit
Strict typing and a broad ruff rule set from the start. Pre-commit hooks
are all local and run via uv so versions come only from uv.lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 22:47:56 +01:00
torbenandClaude Opus 5.5 13773f7195 Add Python 3.14 project skeleton with uv lock
Establish the src layout, the four Ports & Adapters layers and a smoke
test. Dependencies are locked with hashes and a relative 7 day cooldown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 22:47:56 +01:00
torbenandClaude Opus 5.5 6db3ad631d Initial commit: license and README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
2026-12-01 22:02:00 +01:00