Repository navigation
Integrace: a personal Environment works in the account's default Composio organization - #661
Conversation
…osio organization On a personal Environment the Integrace showed the apps of a work Composio organization: Composio's browser sign-in lands in the organization open in Composio's dashboard, often an Organization's one since the person creates those there, and the Launchpad left a personal Environment's organization to the person because the CLI did not say which one is the default (F42, addendum (2) of 2026-10-13, point 7). Root decision 0162 says the personal Environment uses the account's default organization. A Machine binding whose owner is a person now has the rule `default`: the account's default organization is its oldest (Composio marks none and lists the newest first), told by the `created_at` that Lazurio's build of the CLI prints in `orgs list` from 0.4.3-lazurio.3 on. The Integrace reading, the sign-in dialog and every link and removal make it current where another one is, as an Organization's Environment does with the one of its name; the dialog offers no choice there, and the page and agents name it as Composio does. Without a date for each organization, or between two equally old, nothing is guessed and the person's choice stands as before. A computer and Organization and Team Environments are unchanged. F42 addendum of 2026-10-26; docs/integrations.md; the preview's fake Composio dates its organizations. Tests: 160 in the six affected files and 653 in the related 45 pass; check:static passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…list `composio orgs list` prints one page of Composio's list, at most 50 organizations, the newest first, and the CLI does not page further. A full page may leave out the oldest organizations, the account's default among them, so the rule would take an Organization's one for the default. A list of 50 now tells no default and the person's choice stands, as without dates (Pablo's review of Lazurio/composio#4, a non-blocking note). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tes the organizations) The personal Environment's default Composio organization is the account's oldest, which only the `created_at` of `orgs list` tells. Lazurio's build prints it from 0.4.3-lazurio.3 (Lazurio/composio#4, released 2026-10-26 on Matěj's go), so the pin moves there: the version and tag, the installer at the release's own commit 5bcde7de (its install.sh byte for byte the one of 0.4.3-lazurio.2) and the four archives' SHA-256 as the release's checksums.txt lists them and the downloaded archives hash. The catalog's target state names four changes; tests that pin the build, docs/integrations.md, environment-tools.md, launchpad-development.md and the F42 addendum of 2026-10-26 (point 5) follow. An Environment with 0.4.3-lazurio.2 keeps the person's choice until Composio is updated in Settings → Tools, which says it is not the build Lazurio uses. Tests: 646 in the related 44 files pass; check:static passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Reviewed exact head dd418d1 for DEV-6626. The personal default-organization convergence, undated/tied/full-page fallbacks, dialog/read/link behavior, and unchanged named Organization path are consistent with the decision. Local focused suite: 147 passed across six files; check:static passed. Release tag and four archive digests match the pin, installer blob matches the prior version; PR CI passed. No blocking findings. Review only; merge remains with Matěj.
|
Published as squash commit bbad4ad on the approved head dd418d1; the squash commit's tree is identical to that head. Afterwards the task worktree and the branch Next step: the fix reaches Environments with the next Platform release. An Environment still on an older Composio build installs |
…nal v0.1.13 (DEV-6656, DEV-6671) (#668) The canary of v0.1.13-rc.1 ran 8 h 2 min 4 s directly observed (2026-10-26T13:53:42Z to 21:55:46Z) on all 5 Environments of the pilot Organization and one personal VM. Every Machine ended healthy on the candidate with NRestarts 0, the journals show only the deliberate G.3 restarts, and no Recovery issue names the candidate. G.3 covered: - Folder refreshes and deliberate Launchpad restarts; - module starts, including the planning app through start_script; - the one lazurio update through Nová karta; - #652's prompt refresh on the personal VM (on update and on a one-byte layer change, reverted); - the Buddy acceptance. main moved past the candidate (#661 and later merges), so the final v0.1.13 is tagged on release/v0.1.13: this merge plus one commit that restores the candidate's tree outside qualification/ and docs/evidence/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Status: ready for review. The CLI build this needs is released:
@composio/cli@0.4.3-lazurio.3from Lazurio/composio#4 (merged 2026-10-26 on Matěj's go, Pablo approved), and this PR pins it.Why
On 2026-10-26 Matěj found that his personal Environment showed the Composio apps of a work organization where his personal ones belong.
What changes
default. A Machine binding whose owner is a person (the personal Environment) gets this rule. The account's default organization is its oldest:defaultComposioOrganizationtakes the oldest bycreated_at.parseComposioOrganizationsnow keepscreatedAtwhen it is a valid date./api/tools/composio/organizations) and every link and removal (inOwnOrganization) make the default organization current where another one is, journaled as before.{name, state, default: true}.lazurio integrations listshow its name exactly as Composio does, never in an Organization's CamelCase form.0.4.3-lazurio.3);orgs listprinted a full page of 50. The CLI prints one page, newest first, so the oldest may be missing (Pablo's note on CLI: orgs list prints each organization's created_at composio#4).docs/integrations.mdis updated. The preview's fake Composio dates its organizations, withexample_user_workspaceas the oldest.What does not change
The pin:
0.4.3-lazurio.3composioBuildnames the new build:5bcde7de8dc78681e8d44262fcf134afab19e091, whoseinstall.shis byte for byte that of0.4.3-lazurio.2;checksums.txtlists them and the downloaded archives hash (read 2026-10-26).docs/integrations.md,environment-tools.md,launchpad-development.mdand F42 point 5.0.4.3-lazurio.2keeps the person's choice until they update Composio in Settings → Tools, which says it is not the build Lazurio uses. Older builds print no dates, so the rule falls back to the person's choice, exactly as on main.created_atfor every organization and gave the default one as the oldest. The isolated home was deleted afterwards.Verified
bun teston the six affected files: 160 pass. The related 44 files after the pin bump: 646 pass.tests/tools-login.test.ts) and Začínáme's Composio step (tests/first-run.test.ts).bun run check:staticpasses.scripts/preview-launchpad.ts, Czech).example_user_workspace, and Settings → Tools shows "Připojeno jako op@example.com (example_user_workspace)".…/example_user_workspace/…, with no organization notice and no page errors.ExampleCompanyby the Organization's name.GET /api/v3.1/org/liston one real account (2026-10-26) confirmed that the API lists the newest first and that the default organization, made at sign-up, is the oldest.Rollout
After merge: the next Platform release, then Ring 0 (LazurioExampleOrganization) and personal Environments through the pipeline.
Work context
4d869c83-e1c1-41e8-949e-06f1b9dee608in Matěj's T3 Code thread "ONBOARDING FLOW".matejsuchanek.local.HumanAndMachine-ai_GEN3/.worktrees/productionspace/LazurioPlatform/DEV-6626-composio-personal-org, branchagent/DEV-6626-composio-personal-org.HumanAndMachine-ai/mission-control-data:v3,data/mission-control/plans/2026/09/DEV-6626-composio-app-connections.yaml).🤖 Generated with Claude Code
Note
Use account's default Composio organization for personal Environments
defaultorganization rule: the oldest Composio organization bycreated_at, used only when the list is complete and has one uniquely oldest valid date; otherwise the current organization stays in force.created_atonorgs listoutput (login.ts).0.4.3-lazurio.2to0.4.3-lazurio.3with new installer commit and archive hashes (composio-build.ts); all tests and docs updated to match.composioOrganizationRule, but any consumer ofComposioOrganizationRulemust handle the newdefaultvariant; the pinned build bump changes install/update expectations for every test asserting the old version.Macroscope summarized dd418d1.