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
s3_client
What it is
Part of shared infrastructure (cloud storage). Thin async wrapper around
aws-sdk-s3: get/put/delete/exists/copy, folder variants, and presigned
URLs, all behind one S3 struct.
Start here
src/lib.rs: theS3struct — every public method is a one-line delegate to its sibling module (get.rs,put.rs,delete.rs,copy.rs,exists.rs,get_folder.rs).
Scope
- Owns: a generic S3 operation surface, independent of bucket/key semantics.
- Not here: what a bucket key looks like for a given entity →
s3_key.
Boundaries
- Used by:
convert_service,dataloss_prevention_handler,docx_unzip_handler,email_service,search_processing_service.
Recipes
- Add an operation: new
src/<op>.rs(free function taking&aws_sdk_s3::Client) → a delegating method onS3insrc/lib.rswith#[tracing::instrument(skip(self))].
Checks
cargo test -p s3_client(SQLX_OFFLINEunset).
Related
- Rules:
.agents/rules/rust/code.md(CS-22 on#[tracing::instrument])