Skip to content

Fact channels: channel registry so new channels don't edit shared seams #3383

Open

Description

@squid-protocol

Problem

Adding a fact channel means hand-editing the same shared lists and seams: the galaxy_ir.py SCOPE comment and method list, refraction_differential.py (INDEPENDENT_FIELDS, compare, summarize, flatten, _key_verdict, classify), cobol_answer_key.py commands, record_keeper DDL/insert, state_rehydrator restore, audit_recorder/llm_recorder sections, the recipe's channel table, and the READMEs. In the #3249 round (#3349, #3350, #3357, #3368, #3369, #3375) every channel PR conflicted with every sibling on exactly these seams. That cost about 8 rebase cycles of 15–40 min each, and one answer-key merge had to be redone by hand.

Proposal

Add a channel registry. Each channel is one module that declares: the table DDL plus _ensure_columns extras, the insert and restore specs, the EngineFile accessor/field, the differential datum(s), the recorder sections (audit and LLM), and the answer-key reader. The shared seams iterate over the registry. The SCOPE comment and the recipe channel table are generated from it, or checked against it by a test.

Acceptance

  • The existing channels (call_site, dataset, record, transaction, sql_table, screen_field, csd_resource, cics_resource, wrapper) are migrated with byte-identical DB output, golden masters and differential.
  • A new channel PR touches only new files plus a single registry line.
  • how_to_add_a_fact_channel.md and the add-fact-channel skill are updated.

Activity

  1. added
    enhancement
    core-engine
    legacy-modernization
    on Sep 23, 2026
  2. added
    scope:infra
    on Oct 16, 2026
  3. 10 remaining items

  4. squid-protocol commented on Oct 31, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 3383-20261031T1945Z (host nyx) ended without a PR. limit hit; requeued at front

  5. squid-protocol commented on Oct 31, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 3383-20261031T2121Z (host nyx) ended without a PR. Slice 19 already merged via #7337; no PR. Remaining slices (generate recipe table from registry; call_site/transaction insert path) unscoped, not queued.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    core-engineenhancementlegacy-modernizationpriority: mediumscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions