Skip to content

chore: keep agent working files out of the public repository - #376

Merged
vishr merged 5 commits into
mainfrom
chore/oss-hygiene
Oct 26, 2026
Merged

vishr merged 5 commits into
mainfrom
chore/oss-hygiene

Conversation

@vishr

@vishr vishr commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Stacked on #375, which unblocks just check. GitHub retargets this to main when #375 merges.

What changed

  • Removed agent implementation plans (docs/superpowers/plans/, 7 files) and the milestone 1–4 dashboard browser verification records (docs/benchmarks/2026-10-agent-dashboards-m1..m4.md). These are local working material, and AGENTS.md already keeps evaluation records and browser evidence out of Git.
  • Moved the three design specs from docs/superpowers/specs/ to docs/specs/, and kept docs/specs out of the context7 index as the old path was. One spec sentence pointed at a verification record that never existed; it now says the records stay outside the repository.
  • .gitignore now ignores .claude/, matching .dockerignore.
  • Added .gitleaks.toml: default rules plus an allowlist for known non-secrets (the fixed test auth code secret, a redaction fixture, the edge_rollup_v2_rawmax cache key name, and content hashes in UI fixtures and the retired atlas.sum). The 28 history findings were all of these.
  • Removed the rest of docs/benchmarks/ (DuckDB 2 review and follow-up records, single-port measurements). Nothing links to them and published performance claims cite fanout-bench. docs/testing.md now keeps milestone measurements with verification records outside the repository; context7.json drops the folder.
  • Public tests and tools no longer write into the private .superpowers/ workspace: read-benchmark scratch, the dead-code gate test GOCACHE, and the dashboard eval harness output (.cache/dashboard-eval/) now use the ignored .cache/. Removed scripts/collector-import.test.ts and the build-audit case in scripts/ui-compare.test.ts, which only checked private tooling and always skipped without it.

No product code, API, configuration, or release-contract change. History is not rewritten; the removed files contain no secrets.

Verification

  • just check: all checks passed (pre-push hook).
  • gitleaks git . over full history: no leaks.
  • No credentials, private telemetry, host details, or enterprise-only source are included

vishr added 4 commits October 25, 2026 15:59
bun audit reported two high advisories, which failed `just check` and
blocked every push. Upgrade happy-dom to 21.0.4 (GHSA-834v-8h66-3h79
affects up to 21.0.3) and zod 4 to 4.6.6 (GHSA-mrhx-c7xc-m3w5), and
rebuild the embedded UI and THIRD_PARTY_NOTICES for the new zod.

The zod advisory remains in the zod 3 copy that @ag-ui/client and
@ag-ui/proto require, and zod 3 has no patched release. In the browser
it parses events from Fanout's own authenticated /api/agent/runs, so the
worst case is the user's own tab running out of memory. ui-audit ignores
it with that rationale until AG-UI moves to zod 4.6.6 or later.
Agent implementation plans and browser verification records are local
working material, not project documentation. Remove the plans under
docs/superpowers/plans and the milestone 1-4 dashboard verification
records under docs/benchmarks. Move the three design specs to docs/specs
so the reviewed design history stays without a tool-named directory,
and keep them out of the context7 index.

Ignore .claude/ in Git as .dockerignore already does, and add a gitleaks
configuration that extends the default rules with an allowlist for the
known non-secrets: the fixed test auth code secret, a redaction fixture,
a cache key name, and content hashes in UI fixtures and the retired Atlas
checksum file. A full history scan now reports no findings.
The DuckDB 2 review and follow-up records and the single-port measurements are internal verification material; nothing in the product or site links to them, and published performance claims cite fanout-bench. Remove docs/benchmarks, point docs/testing.md at verification records kept outside the repository, and drop the folder from the context7 excludes.
Read benchmarks, the dead-code gate tests and the dashboard eval harness kept scratch output under .superpowers/, a private agent workspace. Move it under the ignored .cache/ directory, which the DuckDB wrapper already uses. Remove the two tests that only checked private tooling and always skipped without it: scripts/collector-import.test.ts and the build-audit case in scripts/ui-compare.test.ts.
Base automatically changed from fix/ui-audit-advisories to main October 25, 2026 23:42
@vishr
vishr merged commit f45382c into main Oct 26, 2026
17 checks passed
@vishr
vishr deleted the chore/oss-hygiene branch October 26, 2026 00:06
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