Skip to content

docs(agents): say CI is real, Spark is private and no key is normal - #1884

Merged
AbirAbbas merged 2 commits into
devfrom
docs/agents-ci-spark-keys
Oct 20, 2026
Merged

AbirAbbas merged 2 commits into
devfrom
docs/agents-ci-spark-keys

Conversation

@AbirAbbas

Copy link
Copy Markdown
Collaborator

What changed

Agents in cloud sessions kept reporting "there is no CI" and "there is no Spark". Neither was true; the guide let them believe it.

  • CLAUDE.md (and AGENTS.md through its symlink): a new section, What you are running on. CI is GitHub Actions and runs on every pull request. In a claude.ai cloud container gh is installed but its GH_TOKEN does not authenticate, so agents read CI through the GitHub MCP tools instead. Spark is the owner's private machine and never a step anyone else owes. No provider key is the normal state, and the e2e suites skip green without one.
  • A when-to-run table: test-focus while editing, test-quick before a push, pr-ready on the owner's laptop. A cloud session lets CI's touched packages be the full proof instead of running the same selector twice. Never make check or e2e as routine.
  • docs/rules/ci.md: the one mention of Spark now says it is private.
  • PR template: drops the line about .github/known-red.txt, which was deleted in provider, cmd/aforge: the last loose locks hold their mutex from a defer (review needed) #1012, and adds a hint about CI and missing keys.

How it was checked

  • make test-quick: green. 419s in a fresh container, 87s warm (these timings are the figures quoted in the table).
  • go test ./internal/namelaw/: green.
  • e2e not run: docs only, no key.

Checklist

  • A change entry
  • The manual knows about it: no product behaviour changed
  • Only my own paths are staged

Generated by Claude Code

Agents in cloud sessions kept reporting that the repository has no CI and
no Spark. CI is GitHub Actions and runs on every pull request; gh fails
there only because its token does not authenticate, so the guide now
points at the GitHub MCP tools. Spark is the owner's private machine and
was never a step anyone else owed. Add a when-to-run table so cloud
sessions lean on touched packages instead of repeating it locally, and
drop the PR template's line about the deleted known-red ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MtiPtzDsHa753NHJBpKYpn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MtiPtzDsHa753NHJBpKYpn
@AbirAbbas
AbirAbbas merged commit fbbc563 into dev Oct 20, 2026
6 checks passed
@AbirAbbas
AbirAbbas deleted the docs/agents-ci-spark-keys branch October 20, 2026 20:09
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.

2 participants