Skip to content

chore: add curated Claude knowledge base and un-ignore it#3210

Open
vpetersson wants to merge 4 commits into
masterfrom
chore/claude-knowledge-base
Open

chore: add curated Claude knowledge base and un-ignore it#3210
vpetersson wants to merge 4 commits into
masterfrom
chore/claude-knowledge-base

Conversation

@vpetersson

Copy link
Copy Markdown
Contributor

Issues Fixed

Not associated with a tracked issue. This preserves hard-won engineering knowledge from a retiring agent VM before its local memory is lost, and moves it into the repo so a fresh clone picks it up.

Description

Distills a long-running agent's local memory (127 notes) into a curated, PII-scrubbed knowledge base that ships with the repo.

  • Adds .claude/skills/ (testbed-qa, anthias-hardware, anthias-viewer, anthias-release) and a seed .claude/MEMORY.md mapping them. Skills auto-discover on clone.
  • Refreshes CLAUDE.md: corrects the stale layout (everything moved under src/; the UI is server-rendered Django + Alpine.js/htmx, not React/Redux) and adds a Working conventions section.
  • Replaces the blanket .claude/ gitignore with .claude/* + negations, so the knowledge base tracks without a forced add while git worktrees and unfiltered local memory stay ignored. Common worktree folders remain excluded.
  • No product code changes. Everything under .claude/ is still excluded from Docker images via .dockerignore, so device images are unchanged.

All notes were scrubbed of IP addresses, usernames, emails, device UUIDs, tokens, tunnel URLs, and forum handles before inclusion (public repo).

Checklist

  • I have performed a self-review of my own code.
  • New and existing unit tests pass locally and on CI with my changes. (N/A — docs/metadata only, no product code)
  • I have done an end-to-end test for Raspberry Pi devices. (N/A — no device-facing change)
  • I have tested my changes for x86 devices. (N/A — no device-facing change)
  • I added a documentation for the changes I have made (when necessary).

🤖 Generated with Claude Code

- Add force-tracked .claude/skills/ (testbed-qa, anthias-hardware,
  anthias-viewer, anthias-release) + seed .claude/MEMORY.md, distilled
  and PII-scrubbed from a retiring agent VM's local memory
- Refresh CLAUDE.md: correct the stale layout (src/ tree, server-rendered
  Django + Alpine/htmx, not React) and add a Working conventions section
- Replace the blanket .claude/ ignore with .claude/* + negations so the
  knowledge base tracks without -f while worktrees and unfiltered local
  memory stay ignored; keep common worktree folders excluded
- Docker images still exclude .claude via .dockerignore

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vpetersson
vpetersson requested a review from a team as a code owner July 17, 2026 19:02
@vpetersson vpetersson self-assigned this Jul 17, 2026
- Step-by-step release procedure: bump CalVer across package.json,
  pyproject.toml and uv.lock (semver form), merge, wait for the master
  Docker build, tag, publish
- Publish flow uses GitHub auto-generated notes first, then a curated
  summary layered on top
- Index it in .claude/MEMORY.md and CLAUDE.md; anthias-release stays the
  reference, cut-release is the runbook

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI 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.

Pull request overview

This PR adds a curated, PII-scrubbed Claude knowledge base to the repository and updates repo guidance so fresh clones pick up the preserved operational/runbook context, while keeping non-curated local agent state ignored.

Changes:

  • Add .claude/MEMORY.md plus several .claude/skills/*/SKILL.md runbooks (QA, hardware, viewer internals, release ops, and release cutting).
  • Refresh CLAUDE.md to match the current src/ layout and the server-rendered Django + Alpine.js/htmx UI architecture.
  • Update .gitignore to ignore .claude/* by default while explicitly tracking the curated knowledge base files.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
CLAUDE.md Updates architecture + directory layout docs; adds “Project knowledge base” and “Working conventions”.
.gitignore Changes .claude/ ignore strategy to track curated knowledge while ignoring local worktrees/caches.
.claude/MEMORY.md Adds a top-level index/map into the committed skills and key cross-cutting facts.
.claude/skills/testbed-qa/SKILL.md Adds a physical testbed QA runbook and operational validation guidance.
.claude/skills/cut-release/SKILL.md Adds a step-by-step release cutting runbook (CalVer bump + GH release sequencing).
.claude/skills/anthias-viewer/SKILL.md Adds viewer/server architecture notes and known bug/fix mechanisms.
.claude/skills/anthias-release/SKILL.md Adds release/CI/balena/Sentry operational knowledge and pitfalls.
.claude/skills/anthias-hardware/SKILL.md Adds per-board display/codec/rotation/audio operational knowledge.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CLAUDE.md Outdated
Comment thread .claude/MEMORY.md Outdated
Comment thread .claude/skills/anthias-viewer/SKILL.md Outdated
Comment thread .claude/skills/anthias-viewer/SKILL.md Outdated
Comment thread .claude/skills/anthias-hardware/SKILL.md Outdated
- Drop stale "force-added" wording (.gitignore now un-ignores
  .claude/MEMORY.md and .claude/skills/, so they track normally)
- Rephrase "forum #NNNN" -> "forum thread NNNN" so GitHub doesn't
  auto-link Discourse thread numbers to the wrong PR/issue

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI 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.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.

Comment thread .claude/MEMORY.md Outdated
Comment thread .claude/MEMORY.md Outdated
- Copilot round 2: the seed said "four skills" after cut-release made
  it five; remove the count so it can't go stale as skills change

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI 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.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

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