Skip to content

docs: document zero-config standalone workflow#47

Merged
corwinm merged 12 commits into
mainfrom
feat/zero-config-standalone
Jul 15, 2026
Merged

docs: document zero-config standalone workflow#47
corwinm merged 12 commits into
mainfrom
feat/zero-config-standalone

Conversation

@corwinm

@corwinm corwinm commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Implements the documentation portion of corwinm/arashi-arashi#212 under the OpenSpec proposal in corwinm/arashi-arashi#217.

Summary

  • keep configured Arashi workflows preferred whenever a project can adopt them, including single-repository projects that need hooks or defaults
  • frame zero-config standalone mode as ad hoc access to Arashi in projects that have not adopted it
  • preserve configured meta-repository coordination as Arashi’s primary identity and first-run path
  • document the supported arashi init --zero-config bootstrap and standalone lifecycle without exposing an implementation-detail shell procedure
  • register routes and regenerate Markdown plus LLM exports with configured workflows ordered first
  • document exact ignore safety and configured-mode upgrade guidance

Validation

  • pnpm validate passed
  • standalone contract: 23 source pages and 22 generated exports
  • Astro checks, 43-page build, links, accessibility, and docs policy checks passed
  • Netlify deploy preview visually verified

Related implementation

This child PR intentionally does not close the meta issue.

@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for arashi-docs ready!

Name Link
🔨 Latest commit 14669a7
🔍 Latest deploy log https://app.netlify.com/projects/arashi-docs/deploys/6a572989975dab00081f28a8
😎 Deploy Preview https://deploy-preview-47--arashi-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d301519e99

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json Outdated
"validate:links:internal": "node scripts/check-internal-links.ts",
"validate:a11y": "pnpm build && node scripts/check-a11y-smoke.ts",
"validate:managed-ignore-docs": "pnpm sync:content && node scripts/check-managed-ignore-docs.ts",
"validate:standalone-docs": "pnpm sync:content && node scripts/check-standalone-docs.ts && node scripts/manual-bootstrap-selftest.mjs",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Wire standalone docs validation into CI

Adding validate:standalone-docs only to the aggregate pnpm validate does not make it run in the repository's PR/push validation: I checked .github/workflows/docs-validate.yml, and that workflow invokes the individual checks (lint, validate:build, internal links, a11y, managed-ignore, domain, README link) rather than pnpm validate, with no standalone-docs step. As a result, regressions in the new standalone workflow page or manual bootstrap block can still pass CI unless developers happen to run the aggregate script locally.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8a00e688e9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/manual-bootstrap-selftest.mjs Outdated
Comment on lines +58 to +61
assert.match(
readFileSync(join(root, ".git", "info", "exclude"), "utf8"),
/^\.worktrees\/$/m,
"success must add the repository-local exclude rule",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Isolate Git globals in the manual-bootstrap self-test

When a developer or runner has a global core.excludesFile that already ignores .worktrees/, the documented bootstrap correctly skips adding a repository-local rule, but this assertion still requires .git/info/exclude to contain it. I reproduced this by running the self-test with GIT_CONFIG_GLOBAL pointing to a config whose core.excludesFile contains .worktrees/; node scripts/manual-bootstrap-selftest.mjs fails before reaching the rest of the validation. The test should clear/isolate global Git config for its temp repos or assert the global-ignore case separately.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a368968cce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

## Agent Guidance

- Start by inspecting workspace state with \`arashi status\`.
- In a single repository, use \`arashi init --zero-config\` and the root \`.worktrees/<branch>\` convention; use ordinary \`arashi init\` for configured coordination.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Prefer configured mode in agent guidance

For agents that consume /llms.txt, this now says to use arashi init --zero-config whenever they are in a single repository, which reverses the new user-facing guidance that configured mode is still preferred whenever a project can adopt Arashi, even for one repository. In that scenario an agent following the short export would skip .arashi/config.json, hooks, persisted defaults, and custom paths even though the project wanted Arashi configuration; the standalone wording should be limited to ad hoc/unconfigured projects.

Useful? React with 👍 / 👎.

@corwinm
corwinm merged commit c937550 into main Jul 15, 2026
6 checks passed
@corwinm
corwinm deleted the feat/zero-config-standalone branch July 15, 2026 06:57
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