foundation:apply-profile
foundation family
Apply a profile in the agent sign-up shape (the sign-up JSON Schema) to a group that ALREADY exists, never creating one. It fills the group's empty profile fields (name, one-liner, locations, products, people, customers, brand), keeps every field that already has words and lists each as kept[] (what is there, what was offered), and replaces a field only when its path is named in overwrite. The company's own site is read and scored first, with the sign-up door's own check; a profile the site does not back up writes nothing. A person who owns the group (the walk up the group tree) goes straight on; an agent, a key, an admin or a stranger is ASKED: fingerprint_required with approve.url for the group's own person to open, then call again with the same arguments plus the fingerprint proof. The site read is billed to the group, only after authority or approval. invites, ingest, group.type and group.visibility are ignored and named in ignored[].
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- update_group
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- variable
- What one call costs, so you can budget before acting.
- Reversible
- no
- This cannot be undone. Dry-run it first where the contract allows.
- Idempotent
- yes
- Safe to retry as-is.