Skip to content

docs(onboarding): one universal paste-to-Claude path for every OS - #38

Open
jeremylongshore wants to merge 4 commits into
mainfrom
docs/universal-onboarding-paste-flow
Open

docs(onboarding): one universal paste-to-Claude path for every OS#38
jeremylongshore wants to merge 4 commits into
mainfrom
docs/universal-onboarding-paste-flow

Conversation

@jeremylongshore

Copy link
Copy Markdown
Owner

What

Rewrites onboarding/README.md so Claude Code / Cowork install is one path on Mac and Windows: paste a short prompt that (1) installs from the public marketplace and (2) writes ~/.teamkb/team.json with the required tenantId. Demotes the macOS .command to a legacy footnote. Changelog Unreleased notes the change.

The live dogfood page (demos.intentsolutions.io/bbb/) was updated in the same pass (not in this repo): Step 3 is the universal prompt; zero links to .cmd / .command / win-setup.ps1.

Why

Plugin install is already cross-platform. The only OS-specific bit was writing team.json, which Claude can do. Dual installers added friction during the team dogfood run; Jeremy asked to rip the OS split.

Chose one paste prompt over keeping dual installers because Max connected end-to-end on the Claude path and the Jul 14 cohort email already used it.

How it works

  • Public marketplace: jeremylongshore/bobs-big-brain-plugin → install governed-second-brain@governed-second-brain
  • Connection file: ~/.teamkb/team.json with apiUrl, apiToken, tenantId: intent-solutions (required; missing tenant → empty search results)
  • Manual expander still available for people who prefer the two /plugin commands

Verification & evidence

  • Live page: curl https://demos.intentsolutions.io/bbb/ — Step 3 is the paste prompt; no installer downloads linked
  • README reviewed against that page for the same commands + tenantId callout

Risk assessment

Docs-only. Legacy .command still in-tree for operators who want it. Orphaned Windows assets may still sit under ~/demos/bbb/ but are unlinked.

Operational impact

None for runtime. New teammates should use the page / paste prompt, not OS installers.

Follow-up & deferred

  • Optionally delete unlinked win-setup.ps1 / .cmd from demos host after a soak
  • ope / tim / pablo reissued-token emails still staged if needed

Refs

Resumed from Claude session 69e9d23f-3f83-439a-a6b0-a8f4a78bfdae (weekly limit mid-task).

…ery OS

What: rewrite onboarding/README so Claude Code / Cowork install is one path on
Mac and Windows — paste a prompt that installs the public marketplace plugin
and writes ~/.teamkb/team.json (with required tenantId). Demote the macOS
.command to a legacy footnote; kill the "Windows needs a special installer"
framing.

Why: the plugin install is already cross-platform; the only OS-specific work
was writing team.json, which Claude can do. OS installers added friction and
confused the dogfood cohort.

Chose one paste prompt over keeping dual Mac/Windows installers because Max's
successful connect and the Jul 14 email path already proved the Claude path,
and Jeremy asked to rip the OS split.

How verified: README reviewed against the live page at demos.intentsolutions.io/bbb/
(universal Step 3, 0 links to .cmd/.command/win-setup.ps1).
Record the onboarding simplification under Unreleased so the next release
notes match the live dogfood page and README.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request simplifies the onboarding process by introducing a single, universal path for both macOS and Windows via a paste-to-Claude prompt, demoting the macOS-specific installer to a legacy footnote. The review feedback highlights two issues: first, the POSIX permission check on team.json will fail on Windows, preventing the plugin from starting, which requires a fix in src/team-config.ts; second, the onboarding prompt contains a redundant update command that should be removed.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread onboarding/README.md Outdated
Comment on lines +54 to +56
2. **Write `team.json`** — `~/.teamkb/team.json` (Windows: `%USERPROFILE%\.teamkb\team.json`) at
mode `600`, using the shape below.
mode `600`, using the shape below. **`tenantId` is required** — without it you get empty
results even with a good token.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

On Windows, Node's fs.statSync().mode does not map to POSIX permissions in a way that allows mode & 0o077 to be 0. By default, Node.js on Windows simulates permissions where group/world read/write bits are always set (resulting in a mode like 0o666 or 0o444).

As a result, the permission check in src/team-config.ts (line 103):

if ((mode & 0o077) !== 0) {

will always evaluate to true on Windows, causing the plugin to refuse to start with a TeamConfigError under all circumstances.

To fix this, src/team-config.ts needs to be updated to bypass or handle this check differently on Windows (e.g., checking process.platform !== 'win32'). Since src/team-config.ts is not modified in this PR, you will need to submit a change to that file as well to make this universal onboarding path actually work on Windows.

Comment thread onboarding/README.md
Comment on lines +29 to +32
1) Add and install the plugin from the public marketplace (no GitHub login needed):
claude plugin marketplace add jeremylongshore/bobs-big-brain-plugin
claude plugin marketplace update governed-second-brain
claude plugin install governed-second-brain@governed-second-brain

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The command claude plugin marketplace update governed-second-brain is redundant and likely invalid because governed-second-brain is the plugin name, not a marketplace name. For a fresh installation, adding the marketplace and installing the plugin is sufficient, as shown in the manual steps below.

Suggested change
1) Add and install the plugin from the public marketplace (no GitHub login needed):
claude plugin marketplace add jeremylongshore/bobs-big-brain-plugin
claude plugin marketplace update governed-second-brain
claude plugin install governed-second-brain@governed-second-brain
1) Add and install the plugin from the public marketplace (no GitHub login needed):
claude plugin marketplace add jeremylongshore/bobs-big-brain-plugin
claude plugin install governed-second-brain@governed-second-brain

…ing order

Install connects the brain; a short standing order in agent instruction files
is what makes Claude search it first. Live page Step 5 has the copy-paste
block and a paste-to-Claude prompt.
…e prompts

Align README with the live demos page: Team (Tailscale + token) and Local
(public, no token) paths, Mac/Windows/Linux, standing-order + troubleshooting
copy-paste prompts, and honest empty-brain first-run for local mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant