Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/extensions/replica-prototype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Replica prototype canvas puts a local prototype in the Copilot app alongside repository status and a Publish control. Open it from **+ → Canvas** to find running HTTP servers in this checkout, then select **Connect** beside the one you want. When none is running, **Start dev server** is the primary action beside **Scan again**. Opening a canvas never executes a repository script; starting requires your click and does not send a chat request.

Local preview and Controls work without Hub. The [new Hub](../../../hub/README.md) cannot publish prototypes or accept comments yet. The extension keeps its Hub connection features for compatible existing services, but the new Hub does not support them or provide sign-in, storage, or deployment setup.
Local preview and Controls work without Hub. With a configured [new Hub](../../../hub/README.md), the extension can connect a repository, publish through its existing GitHub workflow, follow the imported Build, and read or save review conversations. Hub sign-in, storage, previews, and deployment are operator-managed services; public sharing remains a separate opt-in.

## Local prototype controls

Expand Down Expand Up @@ -276,7 +276,7 @@ The [current Hub's Canvas support](../../../hub/docs/prototype-canvas.md#connect

The canvas follows branch changes. If Hub has not discovered the branch, the repository remains connected and comments can be saved locally; push the branch and wait for discovery to use its published Builds and reviews. Once Hub imports a successful Build of the current checkout, the canvas automatically registers eligible prototypes using the branch name as the initial title. Existing metadata is preserved. Use **Edit metadata** in **Hub** to change the title or description afterward. Registration requires write access and Hub's branch eligibility checks; errors appear in the shared critical banner and status polling retries automatically. Updated Hub APIs supply a `registrationReason` code explaining missing write access, excluded branches, missing remote heads, or branch authorship requirements. Unknown codes and older Hubs retain a generic error; independently verified permission and remote-ref facts can supply a specific explanation. Installing the extension does not deploy the updated Hub API.

Open the canvas in an independent starter checkout for local preview. The [new Hub](../../../hub/README.md) does not create example repositories or support publishing and review. Existing local-repository hints apply only to matching checkouts under `.local/prototypes/` with a compatible Hub running on the same computer; they cannot redirect a remote checkout to another Hub repository.
Open the canvas in an independent starter checkout for local preview. The [new Hub](../../../hub/README.md) can publish a prototype from a connected repository and review it after its workflow produces an imported Build. Existing local-repository hints apply only to matching checkouts under `.local/prototypes/` with a compatible Hub running on the same computer; they cannot redirect a remote checkout to another Hub repository.

Selecting **Publish** checks for uncommitted changes and, when present without a saved commit preference, opens a dialog offering **Commit changes & publish** or **Publish committed version only**. Dismiss it with the close icon or Escape. The dialog lists the changed paths. Local agent skills under `.github/skills/`, `.agents/skills/`, or `.claude/skills/` do not count as prototype changes and stay uncommitted. Copilot selects task-related changes only when committing is chosen, and publishes the current commit when none are found. **Always commit changes before publishing for this prototype** remembers this permission locally for the current repository and branch, not other prototypes; later Publish clicks on that branch skip the choice and request task-related commits. After the first registered, published Build, change it through the immediately saved toggle under **Settings** at the bottom of **Edit details**. The committed-only option excludes local edits. Clean checkouts need no choice. See the [canonical publishing boundary](../../../hub/docs/prototype-canvas.md#publishing-boundary) for preference scope, failures, and target safeguards.

Expand All @@ -294,7 +294,7 @@ Copilot uses the existing push workflow, not manual Actions dispatch or another

**Add a comment** targets an element or highlighted area. Comments on unpublished changes stay on the author's device until a matching Build is published; comments on a clean checkout of the published Build save directly to Hub. See [local preview comments](../../../hub/docs/prototype-canvas.md#local-preview-comments) for requirements, storage and recovery.

The header's comment count opens a sidebar with Hub's search, filters, unread state and pin visibility controls. Select a marker or row to open its conversation beside the target. Published conversations support replies, edits, deletion, reactions and resolution when connected to a compatible Hub. This branch removes the old live-update connection; the sidebar keeps its existing periodic refresh. The new Hub API does not yet support reviews. The **Hub** panel remains focused on connection, metadata and publication. Hub credentials never reach the local preview.
The header's comment count opens a sidebar with Hub's search, filters, unread state and pin visibility controls. Select a marker or row to open its conversation beside the target. Published conversations support replies, edits, deletion, reactions and resolution when connected to the new Hub. This branch removes the old Canvas live-update connection; the sidebar keeps its existing periodic refresh while Hub's prototype page receives saved-review invalidations through its own WebSocket integration. The **Hub** panel remains focused on connection, metadata and publication. Hub credentials never reach the local preview.

Open an already-running unauthenticated loopback prototype in this canvas. The extension's per-panel reverse proxy supplies its bundled bridge to ordinary Vite dev/preview and static HTML servers. Multiple prototypes, including servers in the same checkout, have independent proxy ports and lifecycles. Closing a panel stops only its proxy.

Expand Down
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Working on Replica

Replica contains Hub, a copyable prototype starter, the Copilot canvas extension, and the shared prototype build action. Hub is being rebuilt; local prototyping works, but hosted publishing and review are not available yet.
Replica contains Hub, a copyable prototype starter, the Copilot canvas extension, and the shared prototype build action. Local prototyping works without Hub. The rebuilt Hub on `build/hub/new` supports configured sign-in, Build import and previews, reviews, and deployment, but it still awaits integration into `main`.

## Start here

Expand Down Expand Up @@ -29,12 +29,12 @@ Follow the [commit and PR conventions](CONTRIBUTING.md#commits-and-pull-requests

## Project boundaries

- `hub/` starts a TypeScript Express API and React + Vite frontend, with PostgreSQL and Prisma for database development. Hosting and review features are not implemented. Sign-in and deployment choices are not decided. Shared canvas and Controls source stays under `hub/client/`. Read `hub/AGENTS.md` and [Hub architecture](hub/docs/architecture.md) before changing it.
- `hub/` starts a TypeScript Express API and React + Vite frontend, with PostgreSQL and Prisma. Local development can use a fixed local identity and filesystem artifacts. Configured deployments can use GitHub or Microsoft Entra sign-in, import GitHub Actions Builds, host previews, and store reviews. Public sharing and the customer-operated decision runtime remain separate opt-ins. Shared canvas and Controls source stays under `hub/client/`. Read `hub/AGENTS.md` and [Hub architecture](hub/docs/architecture.md) before changing it.
- `starter/` is the single source for the Vite + React app, `.agents/skills/`, and `.agents/context-templates/`. Product- and design-system-specific guidance belongs in consuming repositories.
- `actions/build/` owns the artifact contract between prototype repositories and Hub.
- `packages/learning/` owns the learning contracts, the memory provider and consolidator interfaces, the reference providers and consolidators, the conformance suite, and the `replica-learning` command. It is private repository source with no release yet. Read its `README.md` and [ADR 0001](docs/adr/0001-learning-extension-architecture.md) before changing it.

The new Hub has one protected manual workflow for a named non-production Azure installation. It does not publish prototypes or provide a general release service. The starter follows `main` and has no separate release process. Start a new agent session after copying the starter so its local skills are discovered.
The new Hub has one protected manual workflow for a named non-production Azure installation. That workflow deploys Hub; prototype publishing uses each repository's existing build workflow and Hub's Build import. Replica does not provide a general release or managed hosting service. The starter follows `main` and has no separate release process. Start a new agent session after copying the starter so its local skills are discovered.

For requests to create a prototype repository or set up an existing repository for prototyping, read [prototype repository setup](docs/prototype-repository-setup.md) before acting. It owns target selection, starter installation, the fresh-session handoff, and the path from local preview to optional guidance, a team baseline, or Hub. On native Windows, follow its Git Bash instructions for starter creation.

Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Designers create and approve the guidance. People across design, product, and en

Use prototypes to test assumptions and work through questions together. Your team still decides what should ship and how to build it.

Replica is MIT-licensed. You can prototype locally without a server. Hub is being rebuilt and does not yet provide hosted publishing, comments, or deployment.
Replica is MIT-licensed. You can prototype locally without a server. The new Hub on `build/hub/new` adds an optional shared service for sign-in, saved Builds, previews, reviews, and deployment, but that rebuild still awaits integration into `main`.
Comment thread
alliscode marked this conversation as resolved.
Resolved

## Try Replica

Expand All @@ -26,14 +26,14 @@ Replica has four parts:
| --- | --- |
| **Starter** | Creates a local prototype project with agent skills and a working app you can adapt. |
| **Copilot canvas extension** | Opens your local prototype alongside your Copilot conversation. |
| **Replica Hub (in development)** | Starts an Express API and a routed React frontend. See [Hub development](hub/docs/development.md) for the current local workflow. Hosting and review features are not available yet. |
| **GitHub build action** | Builds prototype files for upload. It is not needed for local prototyping, and the new Hub cannot receive those files yet. |
| **Replica Hub (in development)** | Stores repository, Build, preview, and review data behind an Express API and routed React frontend. Run it locally for development or use the configured deployment path described in [Hub deployment](hub/docs/deployment.md). |
| **GitHub build action** | Builds prototype files and screenshots for a connected Hub to import from GitHub Actions. It is not needed for local prototyping. |

**Ready to make prototypes?** Follow [Get started with Replica](docs/getting-started.md) to install the GitHub Copilot app, add your team's prototyping repository, install the canvas, and create your first local prototype with controls.

**Creating a prototyping repository?** Point your agent at [prototype repository setup](docs/prototype-repository-setup.md). It covers new and existing repositories, getting the starter running locally, and continuing with product guidance or a shared team baseline. Local prototyping needs no Hub.

**Setting up Replica for your organization?** Follow [environment setup](docs/prototype-environment.md) to add shared guidance and starting pages. Hosted publishing and review are not available yet. See [Hub architecture](hub/docs/architecture.md) for what is included and what is not.
**Setting up Replica for your organization?** Follow [environment setup](docs/prototype-environment.md) to add shared guidance and starting pages. This local team baseline does not require Hub. Operators who want a shared service can review [Hub architecture](hub/docs/architecture.md) and the [Azure installation](infrastructure/README.md).

**How did setup go?** [Share your feedback](https://survey.alchemer.com/s3/9055055/Replica-feedback). It helps us make Replica easier to start.

Expand All @@ -48,7 +48,9 @@ Replica has four parts:

Keep credentials and real customer data out of prototype repositories. GitHub services and your selected AI provider have their own data handling and terms.

The new Hub does not yet store prototype data, sign people in, or record activity. There is no deployment setup. See [Hub status](hub/README.md).
Hub stores users, repository access, prototype metadata, imported Build artifacts, reviews, and activity when an operator configures its database, authentication, and artifact storage. Local development can use a fixed local identity and filesystem storage; a hosted installation can use GitHub or Microsoft Entra sign-in and managed storage. Public sharing and the customer-operated decision runtime are separate opt-ins. See [Hub status](hub/README.md), [deployment](hub/docs/deployment.md), and [decision-model control plane](hub/docs/decision-model-control-plane.md).

Hub remains under active development. The Azure path is a reference installation for a named non-production environment, not a managed Replica service or a production-readiness guarantee. Operators remain responsible for credentials, networking, backups, domains, and release operations.

## Support and contributions

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ These guides apply across the Replica monorepo. Start with [Contributing](../CON

[Set up a prototype repository](prototype-repository-setup.md) guides agents through new or existing repository targets, starter installation, the fresh-session handoff, and a verified local preview before optional product guidance or team setup.

[Set up and configure your prototype environment](prototype-environment.md) walks maintainers through creating the shared repository, adding design-system guidance and starting pages, and inviting the team. Hub publishing and review are not available yet.
[Set up and configure your prototype environment](prototype-environment.md) walks maintainers through creating the shared repository, adding design-system guidance and starting pages, and inviting the team. This local team baseline does not require Hub.

## Shared conventions

Expand All @@ -20,7 +20,7 @@ Commits and pull requests follow the [contribution conventions](../CONTRIBUTING.

## Project guidance

- [Hub documentation](../hub/docs/README.md) covers starting and checking the TypeScript API and frontend, and what is not built yet.
- [Hub documentation](../hub/docs/README.md) covers the TypeScript API and frontend, local development, configured deployment, and current limits.
- [Azure Hub installation](../infrastructure/README.md) covers Terraform, release ordering, ownership, and recovery.
- [Installer terminal design](../infrastructure/docs/terminal-design.md) records working TUI patterns for layout, field feedback, progress, and resumable sessions.
- [Starter instructions](../starter/AGENTS.md) and [setup guide](../starter/SETUP.md) cover the copyable prototype app and skills.
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Create an interactive local prototype with GitHub Copilot and your team's design guidance. This guide helps you join a shared prototype repository, open its local canvas, and add controls.

Hub is being rebuilt. Hosted publishing, sharing, comments, and deployment are not available yet. The starter and local canvas do not require Hub. To create a repository rather than join an existing one, follow [prototype repository setup](prototype-repository-setup.md).
The starter and local canvas do not require Hub. A team with a configured Hub can publish Builds through its repository workflow, open hosted previews, and review saved Builds. Public sharing is a separate operator opt-in. The rebuilt Hub remains on `build/hub/new` while it awaits integration into `main`. To create a repository rather than join an existing one, follow [prototype repository setup](prototype-repository-setup.md).

## 1. Download the GitHub Copilot app

Expand Down Expand Up @@ -66,7 +66,7 @@ to clear the search. Keep this separate from our live product.

Open the canvas and choose **Connect** beside your prototype's server. If none is running, choose **Start dev server**. If startup fails, ask Copilot to explain the error before changing anything.

Verify that the local prototype renders and responds to the intended interactions. The canvas may display Hub publishing controls, but the new Hub does not support them yet. See [Hub status](../hub/README.md).
Verify that the local prototype renders and responds to the intended interactions. If your team has configured Hub, connect the canvas before using its publishing or saved-review controls. Local preview and Controls remain available without that connection. See [Hub status](../hub/README.md).

## 5. Add controls

Expand Down
6 changes: 3 additions & 3 deletions docs/prototype-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Give your organization a shared repository for prototypes with its own components and design guidance.

This guide covers the starter repository, design-system guidance, starting pages, and handoff to your team. Hub is being rebuilt. Deployment, repository connections, publishing, hosted previews, and team comments are not available yet. See [Hub status](../hub/README.md) and [architecture](../hub/docs/architecture.md).
This guide covers the starter repository, design-system guidance, starting pages, and handoff to your team. That local workflow does not require Hub. The new Hub on `build/hub/new` can connect repositories, import Builds, host previews, and store reviews when an operator configures and deploys it, but the rebuild still awaits integration into `main`. See [Hub status](../hub/README.md) and [architecture](../hub/docs/architecture.md).

For a local prototype without a shared team baseline, use [prototype repository setup](prototype-repository-setup.md).

Expand Down Expand Up @@ -40,7 +40,7 @@ Review the pages and guidance together, then follow [share the baseline on GitHu

Install the Replica prototype plugin through Copilot CLI using the [canvas installation instructions](../.github/extensions/replica-prototype/README.md#install). Keep only one copy of the canvas enabled in a session.

Start a fresh prototype session, open the canvas, and connect its local preview. A Hub connection is not needed. The extension may still display Hub connection or publishing controls; the new Hub does not support them yet.
Start a fresh prototype session, open the canvas, and connect its local preview. A Hub connection is not needed. Connecting the canvas to a configured Hub is a separate repository-authorized flow; do not make it part of local baseline setup.

## 5. Try the local flow before inviting the team

Expand All @@ -52,4 +52,4 @@ Give your team the repository's GitHub URL, required local tools and setup comma

Keep product guidance and starting pages current on the repository's default branch. Review and approve guidance changes before asking authors to use them.

Do not configure Hub hosting, sign-in, or storage from old release instructions. Those choices are not decided for the new Hub.
Do not configure the rebuilt Hub from old release instructions. Operators should use the current [deployment guide](../hub/docs/deployment.md) or [Azure installation](../infrastructure/README.md), which define the supported image, sign-in, storage, and release boundaries.
Loading
Loading