Repository navigation
Expand file tree
/
Copy pathllms.txt
More file actions
109 lines (100 loc) · 6.65 KB
/
Copy pathllms.txt
File metadata and controls
109 lines (100 loc) · 6.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# CareCenter for Codex
> Last-checked: 2026-10-30
> Test suite: 515 collected tests (513 passed, 2 skipped, verified 2026-10-30)
CareCenter for Codex is an unofficial local Windows tray and CLI utility for
maintaining the OpenAI Codex desktop app installation. It repairs failed
starts, cleans up inactive leftover desktop processes, checks Microsoft Store
package state, and maintains the local Codex SQLite log database without
telemetry or cloud uploads.
Canonical repository: https://github.com/dev-bricks/CareCenter-for-Codex
Default branch: main
Package name: carecenter-for-codex
Python package: codex_logdatenbank_wartung
CLI script: codex-logwartung
Important boundaries & Invariants (INV-LOCAL-01 through INV-SLA-10):
- This project is unofficial and is not affiliated with, endorsed by, or
sponsored by OpenAI.
- It targets Windows 10/11 and the Codex desktop app.
- INV-LOCAL-01: Zero-Egress local-only runtime. Normal runtime and default CLI commands never send
telemetry, upload data, call external APIs, or use cloud sync. The explicit
`store-materials --live-pages` command is a separate manual release preflight
that requests configured Store URLs over HTTPS and reports its own warnings;
it is not runtime telemetry.
- INV-NOELEV-02: Unprivileged user-mode execution (`RunAsInvoker`).
- INV-ISOLAT-03: Fail-closed process protection. Never terminates active work.
- INV-SESSIM-04: CLI session immunity for Node-based Codex CLI & `codex exec`.
- INV-ATOMIC-05: Pre-mutation SQLite snapshots (DB + WAL + SHM).
- INV-CRYPTO-06: Cryptographic integrity verification via `PRAGMA integrity_check`.
- INV-GRACE-07: Mandatory grace windows (30m orphan grace, 300s empty thread floor).
- INV-STAGGER-08: Staggered automation unpausing via Safe Start (60s default).
- INV-NONDEST-09: Non-destructive Microsoft Store package repair escalation.
- INV-SLA-10: Strict test parity (487+ tests) & 48-hour security response SLA.
- Multilingual Tier-2 Spanish support: complete 322-key translation catalog in
`locales/translations.json`, 4-stage fallback chain (`active -> en -> de -> key`),
and translation management CLI `manage_translations.py`.
- Spanish documentation parity: full README.es.md with 1:1 section, diagram,
and quick navigation parity to README.md and README.de.md.
- Multi-resolution icon suite: authentic 7-layer Windows ICO (16px..256px),
1024px master PNG, PWA mobile icon set, and Microsoft Store tile assets loaded
via `app_icon_loader.py`.
- Zombie Killer Tray bridge: subprocess daemon monitoring via
`zombie_killer_integration.py` with PID guards and non-elevation security.
- `CARE_CENTER_EXCHANGE_CONTRACT.md` defines the versioned, privacy-minimized,
one-way CareCenter -> BACH/OCEAN health snapshot. It is a schema boundary, not
a runtime transport, inbound command channel, or grant of repair authority.
- It stores config, logs, locks, and backups locally under
%LOCALAPPDATA%\CareCenterForCodex by default, with automatic reuse of the
legacy path C:\_Local_DEV\codex-maintenance when it already exists.
- Active node-based Codex CLI work is protected. A detached `codex exec` is only
eligible for runtime-orphan cleanup after a hard 30-minute grace, a dead parent,
two idle CPU snapshots, no recent session rollout, and no pending output target.
A detached run without `--output-last-message` is excluded fail-closed.
Broad read-only process detection blocks thread-store mutation while either
Desktop or npm CLI is active.
- Idle `language_server*` processes with a dead parent remain runtime-orphan
cleanup targets. Every successful orphan kill logs PID, command line, and the
triggering criterion to the existing local `app.log`.
- Runtime MCP cleanup only targets old, idle launcher trees repeated under the
Codex Store desktop app-server. It always preserves the newest launch cohort,
the app-server itself, unrelated children, and every CLI app-server.
- Loop mode treats Fast as the regular maintenance point. Safe is only an
extended catch-up attempt after Fast close retries fail; if the next interval
becomes due before Safe succeeds, Safe is cancelled and Fast starts again.
Primary commands:
- python -m codex_logdatenbank_wartung.cli status
- python -m codex_logdatenbank_wartung.cli doctor
- python -m codex_logdatenbank_wartung.cli dry-run
- python -m codex_logdatenbank_wartung.cli maintain --execute
- python -m codex_logdatenbank_wartung.cli repair --dry-run
- python -m codex_logdatenbank_wartung.cli repair --execute
- python -m codex_logdatenbank_wartung.cli auto-maintain --mode safe --execute
- python -m codex_logdatenbank_wartung.cli fast-loop-cycle --execute
- python -m codex_logdatenbank_wartung.cli mark-runs-read --dry-run
- python -m codex_logdatenbank_wartung.cli startup-receipt ROLLOUT --boot-file GPT=PATH --format json
- python -m codex_logdatenbank_wartung.cli store-repair --level repair --execute
- python -m codex_logdatenbank_wartung.cli store-materials
- python -m codex_logdatenbank_wartung.cli safe-start-report
- python -m codex_logdatenbank_wartung.cli safe-start-install
- python -m codex_logdatenbank_wartung.cli schedule install --interval-minutes 180
Environment variables:
- CCC_DATA_ROOT: override the default data directory (default: %LOCALAPPDATA%\CareCenterForCodex)
Verification:
- python -m compileall -q src tests
- python -m ruff check src tests
- python -m pytest -q
- Current local verification: 515 collected tests (513 passed, 2 skipped) pass on Python 3.12 (2026-10-30)
Public documentation:
- README.md: overview, install, usage, 18-point navigation, target personas, comparative matrix, § 521 BGB disclaimer
- README.de.md / README_de.md: complete German documentation parity (18-point navigation, reciprocal anchors)
- ARCHITECTURE.md: module structure and safety model
- CARE_CENTER_EXCHANGE_CONTRACT.md: one-way BACH/OCEAN health exchange boundary
- docs/contracts/carecenter-health-exchange-v1.schema.json: canonical JSON Schema
- CHANGELOG.md: release history
- NOTICE: canonical root attribution notice (Lukas Geiger, dev-bricks, open-bricks)
- THIRD_PARTY_LICENSES.md: comprehensive license audit, SPDX tags, and 10 safety invariants
- THIRD_PARTY_LICENSES.txt: Level 1 SBOM plain-text companion with Invariant Compliance Status table (INV-LOCAL-01..INV-SLA-10)
- STORE_LISTING.md, PRIVACY_POLICY.md, SUPPORT.md: Store release materials
- SECURITY.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md: community health files
Related tools:
- [COMA](https://github.com/ellmos-ai/coma): Independent local file-based agent job coordination, process startup, and status polling.
- [agent-ops-stack](https://github.com/ellmos-ai/agent-ops-stack): Manifest-based Git-fetch blueprint for local CLI-agent modules; each module has its own setup instructions.