diff --git a/README.md b/README.md index a055cf0..3c65adc 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ checkout, and paste: ```text Install or reuse FixLab, register its MCP server, and onboard this repository with --runtime copilot. Follow FIXLAB-SETUP.md if supplied; otherwise use: -https://github.com/MonaDevAI/FixLab/blob/main/docs/installation.md +https://github.com/microsoft/FixLab/blob/main/docs/installation.md Review the real profile and setup plan with me before each change. Ask me for missing setup details; do not guess paths or settings. Use Microsoft Edge by default for required browser validation. Review feed @@ -148,7 +148,7 @@ customer data in prompts, source, logs, or durable caches. See the [security model](docs/security.md). Install from GitHub until npm/marketplace publication is available; consult -[GitHub releases](https://github.com/MonaDevAI/FixLab/releases) for published +[GitHub releases](https://github.com/microsoft/FixLab/releases) for published versions. A default-branch install can contain changes newer than a release. ## Contributing diff --git a/bin/fixlab.js b/bin/fixlab.js index 9261ed2..d4b0a4f 100644 --- a/bin/fixlab.js +++ b/bin/fixlab.js @@ -62,7 +62,7 @@ const profileRelativePath = join( const promptNames = REPOSITORY_PROMPT_NAMES; const vscodeAgentName = "fixlab-autofix.agent.md"; const troubleshootingUrl = - "https://github.com/MonaDevAI/FixLab/blob/main/docs/troubleshooting.md"; + "https://github.com/microsoft/FixLab/blob/main/docs/troubleshooting.md"; function printTroubleshooting() { console.error(`Troubleshooting: ${troubleshootingUrl}`); diff --git a/docs/FIXLAB-SETUP.md b/docs/FIXLAB-SETUP.md index 03d96f2..220d095 100644 --- a/docs/FIXLAB-SETUP.md +++ b/docs/FIXLAB-SETUP.md @@ -13,9 +13,9 @@ Open Copilot in the target checkout and paste: ```text Onboard the actual repository with --runtime copilot. Follow: -https://github.com/MonaDevAI/FixLab/blob/main/docs/FIXLAB-SETUP.md +https://github.com/microsoft/FixLab/blob/main/docs/FIXLAB-SETUP.md If unavailable, use the manual installation guide: -https://github.com/MonaDevAI/FixLab/blob/main/docs/installation.md +https://github.com/microsoft/FixLab/blob/main/docs/installation.md Inspect first, show the plan, and ask before changes or when details are missing. Reuse compatible installed tools and preserve application code and edits. Resolve npm/Yarn and NuGet feed authentication separately using approved @@ -42,8 +42,8 @@ Show the plan and ask before applying changes. ## If the guide is unavailable The file is optional. Follow FixLab's -[first-installation steps](https://github.com/MonaDevAI/FixLab/blob/main/installation.md) -or [detailed manual setup](https://github.com/MonaDevAI/FixLab/blob/main/docs/installation.md#recommended-path-install-then-run). +[first-installation steps](https://github.com/microsoft/FixLab/blob/main/installation.md) +or [detailed manual setup](https://github.com/microsoft/FixLab/blob/main/docs/installation.md#recommended-path-install-then-run). Do not substitute an unrelated application's installation guide or repeatedly request a missing attachment. Keep the same review and authentication safeguards. @@ -82,7 +82,7 @@ Inspect `Get-Command fixlab` and `fixlab --help`. Reuse a compatible approved installation. If absent, request approval before: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab fixlab --help ``` @@ -520,8 +520,8 @@ publish, or stop unrelated resources as part of setup. ## References -- [FixLab installation](https://github.com/MonaDevAI/FixLab/blob/main/installation.md) -- [FixLab detailed setup](https://github.com/MonaDevAI/FixLab/blob/main/docs/installation.md) +- [FixLab installation](https://github.com/microsoft/FixLab/blob/main/installation.md) +- [FixLab detailed setup](https://github.com/microsoft/FixLab/blob/main/docs/installation.md) - [Azure Artifacts Credential Provider](https://github.com/microsoft/artifacts-credprovider) - [Playwright persistent contexts](https://playwright.dev/docs/api/class-browsertype#browser-type-launch-persistent-context) - [Microsoft Entra supported browsers](https://learn.microsoft.com/en-us/entra/identity/conditional-access/concept-conditional-access-conditions#supported-browsers) diff --git a/docs/getting-started.md b/docs/getting-started.md index 90dd03c..e90f3d5 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -6,7 +6,7 @@ Open your application checkout in a signed-in Copilot session and paste: ```text Install or reuse FixLab and onboard this repository with --runtime copilot. -Follow https://github.com/MonaDevAI/FixLab/blob/main/docs/FIXLAB-SETUP.md +Follow https://github.com/microsoft/FixLab/blob/main/docs/FIXLAB-SETUP.md Ask me for missing setup details; do not guess paths, commands or environments. Review the profile and changes with me, then run Doctor. Ask before starting or reusing the matching dashboard and show its local URL. diff --git a/docs/installation.md b/docs/installation.md index 1d9be4a..532bf66 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -79,7 +79,7 @@ First-run onboarding may create scaffolding without `--yes`; review and approve those files first. Once your supported runtime is installed and signed in: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab fixlab onboard C:\source\application --runtime copilot ``` @@ -259,7 +259,7 @@ installation commands, profiles or redistributed packages. | Action | Machine or repository changes | | --- | --- | -| `npm install --global github:MonaDevAI/FixLab` | Installs FixLab, its dashboard/plugin/templates/docs, npm dependencies, and `fixlab` / `fixlab-mcp` launchers in the global npm prefix | +| `npm install --global github:microsoft/FixLab` | Installs FixLab, its dashboard/plugin/templates/docs, npm dependencies, and `fixlab` / `fixlab-mcp` launchers in the global npm prefix | | SDK dependency | Includes the Copilot SDK's bundled dashboard runtime, not a standalone authenticated Copilot CLI or Agency installation | | `fixlab init` | Adds missing profile, prompts, and custom agent under the application's `.github`; preserves existing files | | `fixlab prepare --yes` | Executes configured restore commands; review the plan for their actual effects | @@ -289,7 +289,7 @@ FixLab is not currently published to the public npm registry. Install the public GitHub repository with npm: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab fixlab --help ``` @@ -311,7 +311,7 @@ fallback steps below without requesting the file again. and ask before installing them. 3. Reuse an approved FixLab installation. If installation or an update is needed, propose this command and ask for approval before executing it: - npm install --global github:MonaDevAI/FixLab + npm install --global github:microsoft/FixLab Verify fixlab --help afterward. Do not silently uninstall anything. 4. Inspect the real repository layout and existing profile. Propose the onboarding plan and profile/scaffolding changes. Do not assume the @@ -353,7 +353,7 @@ a separate FixLab Marketplace extension or VSIX. an approved installation, or review and run: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab fixlab --help fixlab init ``` @@ -401,8 +401,8 @@ were Copilot slash commands; ask Copilot to execute them. requested operation: ```powershell -npm install --global github:MonaDevAI/FixLab -copilot plugin install MonaDevAI/FixLab +npm install --global github:microsoft/FixLab +copilot plugin install microsoft/FixLab fixlab --help ``` @@ -447,7 +447,7 @@ see [permission troubleshooting](troubleshooting.md#a-validation-command-is-deni Existing users normally update without uninstalling. Ask Copilot to run: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab copilot plugin update fixlab ``` @@ -455,7 +455,7 @@ Restart Copilot afterward. A running dashboard still uses its loaded code: review its active jobs and request a controlled restart separately. Do not stop an existing app or dashboard merely because installation completed. An unmerged PR is not included in a default-branch install; test its reviewed -CLI commit with `npm install --global "github:MonaDevAI/FixLab#"`. +CLI commit with `npm install --global "github:microsoft/FixLab#"`. The package version alone may not distinguish GitHub commits. ### Chat with an existing dashboard from Copilot @@ -645,7 +645,7 @@ Direct GitHub repository plugin installation is supported for development and pre-release verification: ```powershell -copilot plugin install MonaDevAI/FixLab +copilot plugin install microsoft/FixLab ``` GitHub Copilot CLI warns that direct repository plugin installs are deprecated. diff --git a/docs/releasing.md b/docs/releasing.md index 6d5789b..cba929a 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -8,7 +8,7 @@ FixLab uses GitHub Actions for continuous integration and tagged releases. 2. Enable GitHub Actions with read access to repository contents. 3. Create an `npm` environment and require the desired reviewers. 4. Configure npm trusted publishing for: - - Repository: `MonaDevAI/FixLab` + - Repository: `microsoft/FixLab` - Workflow: `.github/workflows/release.yml` - Environment: `npm` 5. Confirm that the npm organization owns the `@fixlab` scope. @@ -36,7 +36,7 @@ It publishes `@fixlab/cli` only when `NPM_PUBLISH_ENABLED` is explicitly set to As of `v0.7.3`, the GitHub release is published, npm publication remains disabled, and the generated GitHub release has no attached `.tgz` asset. -Install the current CLI directly from `github:MonaDevAI/FixLab`. +Install the current CLI directly from `github:microsoft/FixLab`. ## Publish through the GitHub Copilot plugin marketplace @@ -51,7 +51,7 @@ external GitHub source by adding an entry like this to "name": "fixlab", "source": { "source": "github", - "repo": "MonaDevAI/FixLab" + "repo": "microsoft/FixLab" }, "description": "Evidence-backed defect diagnosis, repair, and validation for React and .NET repositories.", "version": "0.7.4", @@ -59,8 +59,8 @@ external GitHub source by adding an entry like this to "name": "MonaDevAI", "url": "https://github.com/MonaDevAI" }, - "homepage": "https://github.com/MonaDevAI/FixLab", - "repository": "https://github.com/MonaDevAI/FixLab", + "homepage": "https://github.com/microsoft/FixLab", + "repository": "https://github.com/microsoft/FixLab", "keywords": [ "testing", "validation", @@ -84,14 +84,14 @@ Before opening the marketplace pull request: 3. Verify discovery with `copilot --plugin-dir . plugin list`. 4. Install the GitHub-hosted release with - `copilot plugin install MonaDevAI/FixLab`. + `copilot plugin install microsoft/FixLab`. 5. Run a non-destructive smoke prompt through `copilot --agent fixlab:fixlab`. 6. Include the validation results, supported operating systems, required local tools, and the security and data-handling boundaries in the pull request. Marketplace publication is independent of merging changes into -`MonaDevAI/FixLab`. Until the separate `github/copilot-plugins` pull request is +`microsoft/FixLab`. Until the separate `github/copilot-plugins` pull request is accepted, users must install from the FixLab repository. After that marketplace change is merged, users install FixLab with: diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index dab2993..1e0623c 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -53,7 +53,7 @@ Get-Command fixlab -ErrorAction SilentlyContinue Install FixLab: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab ``` The global prefix must be on the user `PATH`. A common Windows user-level npm diff --git a/installation.md b/installation.md index e98bb4a..092be5e 100644 --- a/installation.md +++ b/installation.md @@ -57,12 +57,16 @@ reopen the terminal. ## 2. Install FixLab +FixLab is now hosted at [`microsoft/FixLab`](https://github.com/microsoft/FixLab). +The repository transfer does not update existing installations; rerun the +installation command below when you want to update your installed copy. + If public GitHub access is restricted, use an [organization-approved package](docs/installation.md#enterprise-managed-github-accounts) instead; do not bypass enterprise policy. Otherwise: ```powershell -npm install --global github:MonaDevAI/FixLab +npm install --global github:microsoft/FixLab fixlab --help ``` diff --git a/package.json b/package.json index 840441d..761442c 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,13 @@ "version": "0.7.4", "description": "Copilot-powered CLI and plugin for evidence-backed React and .NET defect validation.", "license": "MIT", - "homepage": "https://github.com/MonaDevAI/FixLab#readme", + "homepage": "https://github.com/microsoft/FixLab#readme", "repository": { "type": "git", - "url": "git+https://github.com/MonaDevAI/FixLab.git" + "url": "git+https://github.com/microsoft/FixLab.git" }, "bugs": { - "url": "https://github.com/MonaDevAI/FixLab/issues" + "url": "https://github.com/microsoft/FixLab/issues" }, "type": "module", "bin": { diff --git a/plugin.json b/plugin.json index e5abcda..250af38 100644 --- a/plugin.json +++ b/plugin.json @@ -3,8 +3,8 @@ "name": "fixlab", "version": "0.7.4", "description": "Evidence-backed defect diagnosis, repair, and validation for React and .NET repositories.", - "homepage": "https://github.com/MonaDevAI/FixLab", - "repository": "https://github.com/MonaDevAI/FixLab", + "homepage": "https://github.com/microsoft/FixLab", + "repository": "https://github.com/microsoft/FixLab", "license": "MIT", "author": { "name": "MonaDevAI", diff --git a/scripts/install-fixlab.ps1 b/scripts/install-fixlab.ps1 index 2b76fd3..bc614c3 100644 --- a/scripts/install-fixlab.ps1 +++ b/scripts/install-fixlab.ps1 @@ -2,7 +2,7 @@ param( [string]$Repository = (Get-Location).Path, [string]$NodeVersion = "", - [string]$Source = "github:MonaDevAI/FixLab", + [string]$Source = "github:microsoft/FixLab", [string]$NvmRoot = "", [switch]$InstallNode, [switch]$Yes diff --git a/test/documentation-policy.test.js b/test/documentation-policy.test.js index cd1002c..1b8f670 100644 --- a/test/documentation-policy.test.js +++ b/test/documentation-policy.test.js @@ -71,9 +71,9 @@ test("reviewed setup defaults to Edge and protects private authentication state" const guide = read("docs/FIXLAB-SETUP.md"); const pasteOnlyPrompt = guide.match(/## Option 1: paste one prompt[\s\S]*?```text\r?\n([\s\S]*?)```/u)?.[1]; assert.ok(pasteOnlyPrompt, "the paste-only setup prompt must be available"); - assert.ok(pasteOnlyPrompt.includes("https://github.com/MonaDevAI/FixLab/blob/main/docs/FIXLAB-SETUP.md"), + assert.ok(pasteOnlyPrompt.includes("https://github.com/microsoft/FixLab/blob/main/docs/FIXLAB-SETUP.md"), "the prompt must locate its guide without an attachment"); - assert.ok(pasteOnlyPrompt.includes("https://github.com/MonaDevAI/FixLab/blob/main/docs/installation.md"), + assert.ok(pasteOnlyPrompt.includes("https://github.com/microsoft/FixLab/blob/main/docs/installation.md"), "the prompt must include a manual fallback"); for (const instruction of [ "Default to Microsoft Edge",