Skip to content

chore: track declaration-to-consumer drift cleanup #578

Closed

Description

@Sinity

Scope

Meta tracker for the declaration-to-consumer drift audit and follow-up issue hygiene.

The repeated pattern is: Polylogue declares descriptors, manifests, payloads, proof subjects, registries, options, and command surfaces faster than it wires executable consumers. The cleanup is organized around composite issues rather than many tiny leaves.

This tracker is not satisfied by adding PR-template prompts, checklists, or process guardrails. It closes when the existing declaration/consumer drift is deleted, unified, wired, or consciously rejected.

Current composite map (updated 2026-05-02)

Actively landing implementation slices

Partially progressed

Structural/completeness

New surface work

Implementation sequence (from 2026-05-01 audit)

  1. First: fix(storage): unify schema, FTS, cache, and write side effects #618, fix(acquisition): make live cursors and source freshness content-aware #620, fix(query): unify read filters, raw records, and query descriptors #621, fix(browser-capture): harden capture mode, receiver, and adapters #622, fix(semantic): preserve parser drift, action paths, and source paths #623 — correctness, privacy, cursor, query, data-integrity contracts.
  2. Next: fix(distribution): gate installed artifacts and build metadata #593, fix(verification): make coverage declarations executable contracts #590, refactor(verification): replace proof reports with standard evidence #594, fix(schema): make schema roundtrip corpus-backed #601 — turn those contracts into gates.
  3. Then: refactor(products): derive operations, readiness, and proofs from registry #624, refactor(devtools): consolidate commands, probes, and one-off tools #625, refactor(manifests): type repo-control manifests and schema catalogs #629, refactor(runtime): retire bespoke config, JSON, payload, and path helpers #614, refactor(artifacts): move catalog declarations out of package root #599 — reduce declaration/consumer drift once behavior is pinned.
  4. Last: refactor(architecture): make package tree express product boundaries #634 and refactor(naming): normalize archive, proof, and surface vocabulary #635 — package/naming churn is safer after behavioral contracts and gates exist.

Closure criteria

This tracker can close when:

  • each composite issue above either lands, is split into landed implementation slices, or is explicitly rejected with rationale;
  • duplicate tiny leaves have been closed with supersession comments;
  • declaration-only mechanisms are either deleted or have real consumers/tests/commands that exercise the declared semantics;
  • the issue set no longer treats process prompts, checklists, or future-code-only checks as substitutes for cleaning current code.
  • composites do not become permanent baskets — each stays open only while its next executable slice is visible from comments or linked children.

Activity

  1. added
    type:tracking
    theme:verifiability
    on May 1, 2026
  2. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Filed child issues from the audit:

    Second-pass verifiability setup issues:

  3. changed the title [-]chore: track declaration-to-consumer drift audit[/-] [+]chore: track declaration-to-consumer drift cleanup[/+] on May 1, 2026
  4. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Tracker update from the current open-issue audit: the composite map should also treat the newer structural/compactness issues as first-class children, not just the original declaration-consumer drift set.

    Current open children that appear to belong under this tracker:

    They are not separate from declaration-to-consumer drift: each addresses places where declarations, names, or helper surfaces no longer match the consumer reality. The tracker should close only after those issues either land, are explicitly rejected, or are moved under a different durable tracker.

  5. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Implementation order / closure rule from the 2026-05-01 follow-up audit:

    Suggested sequence:

    1. Do fix(storage): unify schema, FTS, cache, and write side effects #618, fix(acquisition): make live cursors and source freshness content-aware #620, fix(query): unify read filters, raw records, and query descriptors #621, fix(browser-capture): harden capture mode, receiver, and adapters #622, fix(semantic): preserve parser drift, action paths, and source paths #623 first: correctness, privacy, cursor, query, and data-integrity contracts.
    2. Do fix(distribution): gate installed artifacts and build metadata #593, fix(verification): make coverage declarations executable contracts #590, refactor(verification): replace proof reports with standard evidence #594, fix(schema): make schema roundtrip corpus-backed #601 next: turn those contracts into gates.
    3. Do refactor(products): derive operations, readiness, and proofs from registry #624, refactor(devtools): consolidate commands, probes, and one-off tools #625, refactor(manifests): type repo-control manifests and schema catalogs #629, refactor(runtime): retire bespoke config, JSON, payload, and path helpers #614, refactor(artifacts): move catalog declarations out of package root #599 next: reduce declaration/consumer drift once behavior is pinned.
    4. Do refactor(architecture): make package tree express product boundaries #634 and refactor(naming): normalize archive, proof, and surface vocabulary #635 last, or in narrow slices, because package/naming churn is safer after behavioral contracts and gates exist.

    Tracker closure rule: each composite should eventually end as one of:

    • closed by landed implementation slices;
    • split into child implementation issues with clear ownership/sequencing;
    • explicitly rejected with rationale.

    Do not let composites become permanent baskets. If a composite stays open, its next executable slice should be visible from comments or linked children.

  6. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Integrated bundle checkpoint — 2026-05-01

    The four newest files in /realm/inbox/download were ingested. The latest chatlog says the three polylogue-integrated-* files supersede it; those decisions have now been propagated to the issue set.

    Direct comments were added to:

    New issue opened from the bundle:

    Key superseding policies for this tracker: no aliases/shims/compatibility windows, products -> insights, raw_records -> raw_artifacts, --format json only, polylogue ingest live, auto browser capture with visible state, and proof/report terminology renamed toward confidence/check/evidence language.

  7. Sinity commented on May 2, 2026

    @Sinity
    OwnerAuthor

    2026-05-03 update: daemon architecture consolidation

    Closed as superseded/redundant:

    Updated for alignment:

    New issue:

    Current open count: 23 (down from 25).

  8. Sinity commented on May 3, 2026

    @Sinity
    OwnerAuthor

    Closed by #764. Declaration-to-consumer drift cleaned: CLI flags match API param names, MCP fields match descriptor names, duplicate stats()/get_archive_stats() resolved.

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

    theme:verifiabilitytool:codextype:tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions