Skip to content

chore: persist agent memory into repo docs and skills - #293

Open
vpetersson wants to merge 2 commits into
masterfrom
chore/persist-agent-memory
Open

chore: persist agent memory into repo docs and skills#293
vpetersson wants to merge 2 commits into
masterfrom
chore/persist-agent-memory

Conversation

@vpetersson

@vpetersson vpetersson commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Before rotating the dev VM, this extracts the accumulated Claude Code session memory into files that live in the repo (all personal details — names, emails, session IDs — scrubbed):

CLAUDE.md additions

  • Git commit identity: pass identity via GIT_AUTHOR_*/GIT_COMMITTER_* env vars, never git config; match the feature-branch author identity from git log, not the squash-merge noreply identity.
  • Wizard TUI design rules: fit-to-viewport / never scroll, the -tiny/-compact/-no-art/-no-preview responsive class system in screens/_base.py + styles.tcss, wizard-help/wizard-muted classes, PagedFormScreen for long forms, 80×24 minimum.
  • User-facing help text: explain why via compliance frameworks (NTIA/CISA/CRA/…); use the sibling ../sbomify.com Hugo content as source of truth when available.
  • Dependabot: exclude-paths exists (Aug 2025) for fixture noise; doesn't affect security PRs; uv graph builder ignores it (uv dependency graph doesn't respect exclude-paths option dependabot/dependabot-core#15102).

New skill

  • .claude/skills/copilot-review/SKILL.md — the Copilot review-round workflow: batch fixes into one commit, re-request the review via the REST requested_reviewers endpoint with the copilot-pull-request-reviewer[bot] slug (@copilot comments and gh pr edit --add-reviewer do NOT work), commit-and-ping per-thread replies, and leave thread resolution to the reviewer unless explicitly told otherwise.

.gitignore is narrowed from .claude to .claude/* + !.claude/skills/ so committed skills are tracked while local state stays ignored.

The in-flight yocto → Textual migration plan is tracked as #294 instead of a committed doc.

🤖 Generated with Claude Code

Extract accumulated Claude Code session memory into committed files
before the dev VM is rotated:

- CLAUDE.md: git commit-identity convention (env vars, never git
  config), wizard TUI fit-to-viewport/responsive rules, user-facing
  help-text guidance (compliance framing + ../sbomify.com content as
  source of truth), Dependabot exclude-paths notes, and a pointer to
  docs/plans/ for in-flight plans
- .claude/skills/copilot-review/SKILL.md: Copilot review-round
  workflow (batch commit, REST re-request review, commit-and-ping
  replies, resolve threads only on explicit request)
- docs/plans/yocto-textual-migration.md: confirmed decisions and full
  implementation plan for migrating the yocto command onto the
  wizard's Textual framework (not yet implemented)
- .gitignore: narrow the .claude ignore so committed skills are
  tracked while local state (settings, worktrees) stays ignored

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 18, 2026 04:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Persists previously accumulated agent/session guidance into the repository as durable documentation and reusable “skills”, so future work in this codebase follows the same operational conventions (commit identity, Textual wizard constraints, Dependabot behavior, and Copilot review workflow).

Changes:

  • Adds a Yocto→Textual migration plan document under docs/plans/.
  • Extends CLAUDE.md with operational/dev-process guidance (git identity, wizard TUI rules, help-text framing, Dependabot notes).
  • Adjusts .gitignore to keep .claude/skills/ tracked while ignoring other local .claude state, and adds a Copilot-review workflow skill doc.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
docs/plans/yocto-textual-migration.md Adds an implementation plan for migrating the yocto command onto the Textual-based wizard framework.
CLAUDE.md Documents repository-specific development rules and operational conventions (git identity, TUI design, help text, Dependabot).
.gitignore Narrows .claude ignore rules to allow committing skills while ignoring local agent state.
.claude/skills/copilot-review/SKILL.md Adds a procedural skill for handling GitHub Copilot review rounds via REST review re-request + per-thread replies.

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

The plan will be tracked as a GitHub issue instead of a committed doc.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 18, 2026 05:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 2 out of 3 changed files in this pull request and generated 1 comment.

Comment thread CLAUDE.md
Comment on lines +86 to +88
## Git Commit Identity

Worktree environments may have no inherited `user.name`/`user.email`. **Never run `git config` to set identity.** Pass identity via environment variables on the commit command instead:
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