Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
graphql_work_feed
What it is
Belongs to the work feed feature: a viewer's aggregated feed of tasks and
items needing attention. This crate is the GraphQL inbound adapter exposing
the workFeed page, done/undo mutations, and the workFeedUpdates
subscription.
Start here
src/query.rs:resolve_work_feed.src/objects.rs:GraphqlWorkFeedPage,GraphqlWorkFeedEntry,GraphqlWorkFeedItem,GraphqlWorkFeedStack,GraphqlWorkFeedPatch.src/mutations.rs: mark-done / undo-done mutations.src/subscriptions.rs:WorkFeedSubscriptionRoot— realtime patches, batched byattention_feed'slive::coalesce.src/context.rs:WorkFeedGraphqlContext, built with the sharedFeedTriggersandFeedViewerResolver.
Scope
- Owns: GraphQL types/resolvers/subscription for the work feed page.
- Not here: feed composition and item ranking →
crates/work_feed; shared keys, tokens, triggers and viewer lookup →crates/attention_feed; notification content →crates/graphql_notification.
Boundaries
- Depends on:
work_feed,attention_feed(inbound feature),graphql_notification,graphql_soup,graphql_common. - Used by:
complete_graph(schema composition).
Recipes
- Add a feed item field:
src/objects.rs→src/query.rsif it needs new input scoping (src/inputs.rs). - Add a mutation:
src/mutations.rs→work_feeddomain port.
Checks
cargo test -p graphql_work_feed(SQLX_OFFLINEunset).
Related
- Rules:
.agents/rules/rust/architecture.md