Skip to content

Commit c30665b

Browse files
committed
feat(harness): register macrod harnesses with device-code pairing
Makes user-run macrod daemons first-class harnesses: a harnesses entity (private or team-owned), device-code pairing that mints a harness credential, agents bound to a registered harness with ownership checks, the runtime gateway rekeyed from bot to harness so one daemon serves every bound agent, and the Settings UI to approve pairings and manage harnesses. The macrod TOML is credential-free; identity comes from pairing, with scope (private/team) requestable from config.
1 parent 219f42e commit c30665b

169 files changed

Lines changed: 11596 additions & 837 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ infra/local/generated/
4040
# Raw SSE captures from CURSOR_ACP_RECORD_DIR; sanitize into
4141
# crates/cursor_acp/fixtures/real/ before committing one.
4242
/recordings/
43+
44+
# Per-developer macrod daemon config and the state files it writes next to
45+
# it (the credentials file holds this machine's harness bearer token).
46+
/macro.toml
47+
/macro.credentials.json
48+
/macro.webhook-state.json

.sqlx/query-0d925eefe7a5d058b803ba33c4740afdfbb1e1fba609a1333016cf779771c38a.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-308407c450a391bd26c2b23bd4b03dca0596ba14972654d7dd2178f47cd4e1dc.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-42ad7423977f6bc3b9c42cba56eb2e81a82d147e79c29c43e0bd316b731293b6.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-42f75f261b91698eb160964f5d5ba56c19602fb2c113bde6d00ecf62ee87812d.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-4376ae3d9e02625711ee2c47124c27406214ba66194a516c971b0a0b8c3ac909.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-462894fae868528fbf10226edf99171a52bdcd0377f40616c3c304ab6a106f25.json

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-50e821ab6b81df124e4335310966a5ba2ccbc811da6df94b09e9288aa9e53011.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-7082641d64d8cb00e41495a47e02f49271c15b88738515059349b07511865876.json

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-7c44900ff1b6056f0476aabe7fb01f3acbfaa80c6ab3bef064f0fe2cb08553f3.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)