Skip to content

workspace: org scope: members that reference other repos' workspaces, generated or checked by the wardens #3168

Closed

Description

@lex00

Part of the boundaries epic, #3166.

Problem

A workspace ends at its git root. Nesting works inside one repo, and --at reads only local revisions; remote revisions and URLs aren't read (reference/workspace-read-contract.mdx). Real estates and real teams span many repos, so behold (the infra plane) and studio (the group workspace) can each only see one repo at a time, and there is no spec-level answer to "what does this org run".

The wardens already enumerate an org's repos and govern them from a declared policy, but nothing connects that list to the repos' workspaces.

Proposal

  • A member kind (or link form) that references another repo's workspace by URL and pinned revision, read through that repo's own read contract, read-only, the way a nested workspace member is read today.
  • An org-level workspace that holds only such references, which a warden can generate from its policy or check against the forge (so a repo added to the org shows up, and a dropped one is flagged).
  • The read contract's identity (workspace.name plus revision) extended to say which repo a document came from.

Done when

behold can serve an org-level workspace and show each repo's members, and chant workspace check on it reports repos the forge has that the declaration lacks.

Activity

  1. added
    design
    area:workspace
    boundaries
    on Oct 1, 2026
  2. lex00 commented on Oct 23, 2026

    @lex00
    ContributorAuthor

    Maintainer ruling (2026-10-23)

    A member kind names another repo's workspace by URL and pinned revision. It is read read-only through that repo's own read contract, the way a nested workspace member is read now. An org-level workspace holds only such references, and the wardens generate it from their policy or check it against the forge. The read contract's identity gains which repo a document came from.

  3. lex00 commented on Oct 24, 2026

    @lex00
    ContributorAuthor

    Chant's side landed on integration/chant-goal in bfe3562 (merge of 2d5e36e), per the 2026-10-23 ruling.

    • A member of kind repo names another repo's workspace as repo: { url, rev, workspace? }, with no dir. chant workspace graph fetches the pinned rev into the user cache and reads it through that repo's own chant workspace graph, folded in the way a nested workspace is. Nothing is written in the workspace.
    • scope: "org" means only repo members are allowed (WSP013). chant workspace check --forge-repos <file> reads the forge's repo list as a warden writes it, and reports repos the declaration lacks (WSP014) or that the forge dropped (WSP015). WSP016 refuses credentials in a URL. check never fetches.
    • workspace.repo, the redacted origin URL, is on ls, graph, check and status as an additive contract 1 field.

    Done-when: the chant half (chant workspace check reports repos the forge has that the declaration lacks) is built and tested against local bare repos and a fixture list. The behold half (serving an org workspace) is filed as INTENTIUS/behold#931. The warden side (generating the declaration or producing the forge list) isn't chant's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspaceboundariesdesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions