Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/repo-assist.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Every non-command-mode run that performs work, whether scheduled or manually dis

Repo Assist uses one schema-validated `notes.json` file to carry concise, actionable state across runs. It records backlog cursors, unresolved issue interactions, fix attempts, the latest engineering checks, maintainer-completed monthly actions, and a short priority queue. The workflow verifies remembered facts against current repository state before acting, replaces superseded entries, and removes stale records rather than accumulating a run-by-run activity log.

Repo Assist stores this file on the dedicated `memory/repo-assist-memory` branch. Repositories upgrading from an earlier Repo Assist version start with fresh memory on this branch; legacy memory branches are not migrated or modified.
Repo Assist stores this file on the dedicated `memory/repo-assist-memory` branch. Repositories upgrading from an earlier Repo Assist version start with fresh memory on this branch; Repo Assist initializes a missing `notes.json`, while legacy memory branches are not migrated or modified.

### Guidelines Repo Assist Follows

Expand Down
21 changes: 21 additions & 0 deletions workflows/repo-assist.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,27 @@ safe-outputs:
target: "*"

steps:
- name: Initialize Repo Assist memory
env:
MEMORY_DIR: /tmp/gh-aw/repo-memory/default
run: |
if [[ ! -f "$MEMORY_DIR/notes.json" ]]; then
cat > "$MEMORY_DIR/notes.json" <<'EOF'
{
"version": 1,
"cursors": {
"labelling_after": null,
"investigation_after": null
},
"issues": [],
"fixes": [],
"checks": [],
"completed_actions": [],
"priorities": []
}
EOF
fi

- name: Fetch repo data for task weighting
env:
GH_TOKEN: ${{ github.token }}
Expand Down
Loading