Skip to content
pi-c Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f262db31bd7fcf8c6349e71e2c3e56b8278fa437867c336ddda1505c3bd41a7a
Ticket: 4fe5925eaf98ee164f3ed564f04ced10945ee7b4
keel: design principles - core records and enforces, components decide
User & Date: dmestas on 2026-11-21 13:36:56
Changes

  1. comment changed to:
    Principles and first audit: https://artifacts.craftdesign.group/v/7AcFU37QOBvcGyD3TEMpp#8b97a2dfe17cd12d8d19f2b890bd60dc80e77ed6cfa7b22a13851a27c01d9630
    pic core is durable infrastructure (journal, effects and recovery, files/executor, process supervision, comms/inbox/transport, credential storage, event/RPC protocol, extension host). Fast-evolving policy (token-saving and compaction strategies, model catalogs and provider quirks, prompting, cost tables) lives in replaceable components. Seven-question sorting test into four tiers: core, bundled component, external component, data; conflicting answers split a capability into mechanism (core) and policy (component). Rules: a component's decision is journaled before it takes effect; only core writes the journal; core passes the crash suite with the scripted provider alone. Component ladder: data, hooks, protocol clients, C interfaces, extension host (same C seams). Audit: core ~15.8k lines, bundled 10.3k, TUI 14.8k; vendor facts in core (src/models.c:47 model ids, src/provider_http.c:341 cache lifetimes, src/loop.c:1777 vendor error wording, src/loop.c:1859/1899 compaction triggers); pic.h includes models.h; tui/app.c calls internals; seven seams missing. Method: tier field on every ticket, ci/tiers.tsv, six grep-level CI checks with a shrinking allowance file, 20-minute periodic audit. Twelve owner questions on the page. Sub-tickets: keel-method, keel-lapse.
    
  2. priority changed to: "High"
  3. status changed to: "Open"
  4. Untracked field tier: "core"
  5. title changed to:
    keel: design principles - core records and enforces, components decide
    
  6. type changed to: "Feature"