Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
67 lines
2.0 KiB
YAML
67 lines
2.0 KiB
YAML
name: "Update flake.lock"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Weekly on Sunday at midnight UTC
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-flake-lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Mint flake update token
|
|
id: flake-token
|
|
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
|
|
with:
|
|
app-id: ${{ secrets.FLAKE_UPDATE_APP_ID }}
|
|
private-key: ${{ secrets.FLAKE_UPDATE_APP_PRIVATE_KEY }}
|
|
owner: gastownhall
|
|
repositories: beads
|
|
permission-contents: write
|
|
permission-pull-requests: write
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
with:
|
|
ref: main
|
|
token: ${{ steps.flake-token.outputs.token }}
|
|
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/determinate-nix-action@f4c468f2287f0f14a113841b41f2dc8957119519 # v3
|
|
|
|
- name: Update flake.lock
|
|
run: nix flake update
|
|
|
|
- name: Verify update scope
|
|
run: |
|
|
changed_files="$(git diff --name-only)"
|
|
untracked_files="$(git ls-files --others --exclude-standard)"
|
|
|
|
if [ -n "$untracked_files" ]; then
|
|
echo "Unexpected untracked files:"
|
|
echo "$untracked_files"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -n "$changed_files" ] && [ "$changed_files" != "flake.lock" ]; then
|
|
echo "Unexpected changed files:"
|
|
echo "$changed_files"
|
|
exit 1
|
|
fi
|
|
|
|
- name: Create pull request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
token: ${{ steps.flake-token.outputs.token }}
|
|
commit-message: "flake.lock: Update"
|
|
base: main
|
|
branch: update_flake_lock_action
|
|
delete-branch: true
|
|
add-paths: flake.lock
|
|
title: "chore(nix): update flake.lock"
|
|
body: |
|
|
Automated flake.lock update generated by the scheduled Nix workflow.
|