You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[flows-tinyflows] Catalog surface: serve workflow definitions, revisions and the CatalogStorage port (slice 2) #1
Serve the Catalog surface (crates/tinyflows-bus/src/catalog.rs, skeleton v1) from tinyflows-module, over the host's document port (CatalogStorage: DocGet/DocPut/DocDelete/DocQuery), backed by tinyflows-drivers::catalog::FlowCatalogDocuments.
Gaps found in the OpenHuman audit (host flows/store.rs, ops/definitions.rs, ops/updates.rs):
PutWorkflow must distinguish create / update / duplicate, take expected_version, and return the FlowUpdateError conflict shape; report born-disabled / forced-approval flags.
Scope is the agent id bound by the host on the callback object.
Bump the Catalog contract version; wire tests for every type. 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
Files to consider (paths in tinyhumansai/tinyflows): crates/tinyflows-bus/src/catalog.rs, crates/tinyflows-module/src/, crates/tinyflows-drivers/src/catalog/
Merged into epic/8055-flows-bus in #17 (e2d8e28). Catalog v2 serves workflow definitions, optimistic updates, revisions and monotonic revision numbers through the scoped document callback. Full local all-features suite passed (2609 tests), strict Clippy/check/format passed, and both hosted Rust SDK checks passed on the pinned head a542626. Final canonical upstream PR and release integration remain part of epic #8055.
Activity
senamakel commentedon Oct 16, 2026
Merged into epic/8055-flows-bus in #17 (e2d8e28). Catalog v2 serves workflow definitions, optimistic updates, revisions and monotonic revision numbers through the scoped document callback. Full local all-features suite passed (2609 tests), strict Clippy/check/format passed, and both hosted Rust SDK checks passed on the pinned head a542626. Final canonical upstream PR and release integration remain part of epic #8055.