Skip to content

[flows-tinyflows] Catalog surface: drafts, suggestions and run reads #2

Closed

Description

@senamakel

Moved from tinyhumansai#146, which is closed in favour of this issue. Part of tinyhumansai/openhuman#8055.

Extend the served Catalog surface with members the OpenHuman host still calls in-process:

  • Drafts: Create/Get/Update/List/DeleteDraft (drivers catalog/drafts.rs; copilot ports::DraftStore), plus draft promote (create-or-update composition, host flows/ops/drafts.rs:69).
  • Suggestions: Upsert/List/SetStatus (drivers catalog/suggestions.rs).
  • Run reads: GetRun, ListRuns, ListAllRuns, PruneRuns.

Follow migrate-to-submodule (OpenHuman .claude/skills/): upstream PR → patch release → OpenHuman gitlink bump + registry digest re-pin. Design reference: docs/tinyflows-bus-design.md.

Done when: merged in tinyhumansai/tinyflows with wire tests for every new or changed contract type, released (patch), and the contract version bumped where a served shape changed. Gates: cargo fmt --all -- --check, cargo clippy --all-targets --all-features -- -D warnings, cargo test --all-features in tinyhumansai/tinyflows. OpenHuman adoption is a separate leaf of the epic.

Agent brief

Blocked by #1
Parent: tinyhumansai/openhuman#8055

Activity

  1. added
    enhancementNew feature or request
    priority: p3Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.
    rustPull requests that update rust code
    on Oct 16, 2026
  2. senamakel commented on Oct 16, 2026

    @senamakel
    OwnerAuthor

    Merged into epic/8055-flows-bus in #18 (8440669). Catalog v3 serves drafts, module-owned host-mediated promotion, suggestions and run reads/pruning. Nested-bus promotion preserves host save policy, failures retain the draft, and cleanup failure preserves the saved result. Explicit null draft-graph updates are covered by serde and actual-bus regressions. Local full all-features tests passed (2616 tests), strict Clippy/format passed, and both hosted Rust SDK checks succeeded on eeea75c. Final canonical upstream PR/release integration follows the epic workflow.

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

    enhancementNew feature or requestpriority: p3Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.rustPull requests that update rust code

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions