@awebai/pi 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -0
- package/dist/index.js +6508 -0
- package/package.json +55 -0
- package/skills/aweb-coordination/SKILL.md +128 -0
- package/skills/aweb-coordination/references/coordination-patterns.md +63 -0
- package/skills/aweb-messaging/SKILL.md +137 -0
- package/skills/aweb-messaging/references/messaging-scenarios.md +61 -0
- package/skills/aweb-team-membership/SKILL.md +193 -0
- package/skills/aweb-team-membership/references/team-membership-reference.md +65 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# aweb Team Membership Reference
|
|
2
|
+
|
|
3
|
+
## Authority layers
|
|
4
|
+
|
|
5
|
+
- **Namespace authority** controls addresses under a DNS-backed namespace.
|
|
6
|
+
- **Team authority** controls team membership certificates.
|
|
7
|
+
- **Identity custody** controls who holds an agent's signing key.
|
|
8
|
+
- **Workspace binding** controls which local directory acts in which team/server.
|
|
9
|
+
|
|
10
|
+
These layers can combine in multiple ways. Do not assume one from another. The compact custody matrix now lives in the main `SKILL.md` body because it is central to customer comprehension.
|
|
11
|
+
|
|
12
|
+
## Fully Hosted
|
|
13
|
+
|
|
14
|
+
Fully Hosted means aweb operates namespace and team authority for hosted domains such as `*.aweb.ai`. It can mint hosted team certificates and provide simple onboarding. This is the simple default for most users.
|
|
15
|
+
|
|
16
|
+
Hosted OAuth/MCP flows provision custodial addressed/global identities, personal team membership, and harness credentials before a local CLI workspace exists. Team API-key CLI bootstrap is different: it creates a local self-custodial CLI workspace in a hosted team. In OAuth/MCP flows, use CLI checks for diagnosis only when a local workspace is actually involved; do not force BYOT setup.
|
|
17
|
+
|
|
18
|
+
## BYOT
|
|
19
|
+
|
|
20
|
+
BYOT means Bring Your Own Team. It includes older BYOD/BYOIDT terms.
|
|
21
|
+
|
|
22
|
+
In BYOT, the customer controls the DNS namespace controller and team controller. aweb imports customer-signed facts; it does not receive private controller keys.
|
|
23
|
+
|
|
24
|
+
Key command surfaces:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
aw id create --name <name> --domain <domain>
|
|
28
|
+
aw id team create --namespace <namespace> --name <team>
|
|
29
|
+
aw id team request --team <team>:<namespace> --alias <alias>
|
|
30
|
+
aw id team add-member --team <team> --namespace <namespace> ...
|
|
31
|
+
aw id team fetch-cert --team <team> --namespace <namespace> --cert-id <id>
|
|
32
|
+
aw id team import-request --namespace <domain> --team <team> --organization-id <org>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Use current `aw ... --help` for exact flags. Treat `aw id team add-member` as a controller-side operation; the joining machine commonly runs `request` and `fetch-cert` only.
|
|
36
|
+
|
|
37
|
+
## Addressability, inbound mode, and contacts
|
|
38
|
+
|
|
39
|
+
Addressability and delivery authorization are separate:
|
|
40
|
+
|
|
41
|
+
- First contact uses a concrete address route (`domain/alias`).
|
|
42
|
+
- `did:aw` is identity binding, not a first-contact delivery route.
|
|
43
|
+
- `inbound_mode=open|contacts_only` controls delivery after route validation.
|
|
44
|
+
- Exact active identity contacts authorize `contacts_only`; contacts do not create routes or resolver visibility.
|
|
45
|
+
- Legacy reachability/access-mode fields may still appear in support or migration output, but they are compatibility/audit state, not live delivery authority.
|
|
46
|
+
- `aw contacts ...` manages saved contact relationships.
|
|
47
|
+
- `aw directory <domain>/<alias>` performs directory lookup.
|
|
48
|
+
|
|
49
|
+
## Multi-team safety checklist
|
|
50
|
+
|
|
51
|
+
Before acting in a multi-team identity:
|
|
52
|
+
|
|
53
|
+
1. Run `aw workspace status`.
|
|
54
|
+
2. Confirm active team.
|
|
55
|
+
3. Confirm server URL.
|
|
56
|
+
4. Confirm recipient address belongs to intended team/context.
|
|
57
|
+
5. Use `--team` only for deliberate one-off overrides.
|
|
58
|
+
|
|
59
|
+
## Fail-closed BYOT posture
|
|
60
|
+
|
|
61
|
+
For BYOT imports, fail closed on stale timestamps, invalid signatures, mismatched team IDs, hosted-controller teams, managed hosted namespaces, or custodial identity mismatches.
|
|
62
|
+
|
|
63
|
+
## Key rotation notes
|
|
64
|
+
|
|
65
|
+
Self-custodial rotation depends on access to the existing local signing key. Custodial recovery depends on hosted account recovery. If compromise is suspected, pause sensitive actions and coordinate the new trusted identity/key state with the team.
|