caelum0x 49b183818c Unify gitgram + aitimemachine into the monorepo (de-submodule) and merge vendored engines
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>
2026-06-23 14:14:09 +03:00

77 lines
2.1 KiB
YAML

name: Migration Test Harness
on:
push:
tags: ['v*']
workflow_dispatch:
inputs:
versions:
description: 'Specific versions to test (space-separated), or empty for all eras'
required: false
default: ''
mode:
description: 'Test mode'
required: false
default: 'all'
type: choice
options:
- all
- direct-only
- stepping-only
jobs:
migration-test:
name: Migration fidelity
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y jq sqlite3
- name: Install Dolt
run: |
curl -fsSL https://github.com/dolthub/dolt/releases/latest/download/install.sh | sudo bash
dolt version
- name: Configure Git
run: |
git config --global user.name "CI Bot"
git config --global user.email "ci@beads.test"
- name: Cache old binaries
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
with:
path: ~/.cache/beads-regression
key: migration-test-${{ runner.os }}-${{ runner.arch }}
- name: Build candidate
run: go build -tags gms_pure_go -o bd ./cmd/bd
- name: Run migration test harness
env:
CANDIDATE_BIN: ./bd
GIT_CONFIG_NOSYSTEM: "1"
run: |
ARGS=""
if [ "${{ github.event.inputs.mode }}" = "direct-only" ]; then
ARGS="--direct-only"
elif [ "${{ github.event.inputs.mode }}" = "stepping-only" ]; then
ARGS="--stepping-only"
fi
if [ -n "${{ github.event.inputs.versions }}" ]; then
./scripts/migration-test/run.sh ${{ github.event.inputs.versions }}
else
./scripts/migration-test/run.sh $ARGS
fi