{
  "permissions": {
    "allow": [
      "Bash(sed -i 's|gh:magogi-admin/mgf_common|gh:magogi-admin/mgf-common|g' docs/tutorial.md templates/cookiecutter-mgf-project/README.md)",
      "Bash(sed -i 's|cookiecutter \\\\./mgf_common/|cookiecutter ./mgf-common/|g' templates/cookiecutter-mgf-project/README.md)",
      "Bash(sed -i 's|/home/bassam/PycharmProjects/mgf_common/|/home/bassam/PycharmProjects/mgf-common/|g' docs/claude/settings_project.json)",
      "Bash(mkdir -p /home/bassam/PycharmProjects/mgf-common/tests/unit/testing)",
      "Bash(touch /home/bassam/PycharmProjects/mgf-common/tests/unit/testing/__init__.py)",
      "Bash(env -u VIRTUAL_ENV uv run pytest tests/unit/testing/ -q --tb=short)",
      "Bash(env -u VIRTUAL_ENV uv run python tools/generate_public_api_json.py)",
      "Bash(env -u VIRTUAL_ENV uv run pytest -q --tb=line)",
      "Bash(env -u VIRTUAL_ENV uv run pytest tests/unit/testing/test_supervisor_alignment.py -q --tb=short)",
      "Bash(env -u VIRTUAL_ENV uv sync --all-extras)",
      "Bash(env -u VIRTUAL_ENV uv run mgf-common --help)",
      "Bash(env -u VIRTUAL_ENV uv run mgf-common test -- --help)",
      "Bash(timeout 90 env -u VIRTUAL_ENV uv run mgf-common test -- --self-check)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run mgf-common test -- --tier 0)",
      "Bash(env -u VIRTUAL_ENV uv run pytest -q --tb=no)",
      "Bash(env -u VIRTUAL_ENV uv run mgf-common agents)",
      "Bash(env -u VIRTUAL_ENV uv run mgf-common standards testing)",
      "Bash(curl -fsS \"https://pypi.org/pypi/mgf-common/json\")",
      "Bash(curl -fsS \"https://pypi.org/pypi/mgf-common/0.40.0/json\")",
      "Bash(env -u VIRTUAL_ENV uv run mgf-common doctor)",
      "Bash(env -u VIRTUAL_ENV uv run pytest tests/unit/cli/ -q --tb=line)",
      "Bash(mkdir -p /home/bassam/PycharmProjects/mgf-fastapi/scripts/_mtest)",
      "Bash(cp -r /home/bassam/PycharmProjects/mgf-common/scripts/_mtest/. /home/bassam/PycharmProjects/mgf-fastapi/scripts/_mtest/)",
      "Bash(cp /home/bassam/PycharmProjects/mgf-common/scripts/mtest /home/bassam/PycharmProjects/mgf-fastapi/scripts/mtest)",
      "Bash(cp /home/bassam/PycharmProjects/mgf-common/scripts/__init__.py /home/bassam/PycharmProjects/mgf-fastapi/scripts/__init__.py)",
      "Bash(chmod +x /home/bassam/PycharmProjects/mgf-fastapi/scripts/mtest)",
      "Bash(timeout 120 env -u VIRTUAL_ENV uv run mgf-common test -- --tier 0)",
      "Bash(timeout 120 env -u VIRTUAL_ENV uv run pytest -q --tb=line --timeout 60)",
      "Bash(timeout 180 env -u VIRTUAL_ENV uv run pytest -q --tb=no --timeout=60 -x)",
      "Bash(timeout 180 env -u VIRTUAL_ENV uv run pytest -q --timeout=60 -x)",
      "Bash(timeout 180 env -u VIRTUAL_ENV uv run pytest -v --timeout=60 -x)",
      "Bash(ln -s /home/bassam/PycharmProjects/mgf-common /home/bassam/PycharmProjects/mgf_common)",
      "Bash(rm /home/bassam/PycharmProjects/mgf_common/mgf-common)",
      "Bash(rmdir /home/bassam/PycharmProjects/mgf_common/.claude)",
      "Bash(rm /home/bassam/PycharmProjects/mgf_common/.claude/settings.local.json)",
      "Bash(ln -sfT /home/bassam/PycharmProjects/mgf-common /home/bassam/PycharmProjects/mgf_common)",
      "Bash(mkdir -p /home/bassam/PycharmProjects/mgf-django/scripts/_mtest /home/bassam/PycharmProjects/mgf-django/tests/smoke /home/bassam/PycharmProjects/mgf-django/docs/testing)",
      "Bash(cp -r /home/bassam/PycharmProjects/mgf-common/scripts/_mtest/. /home/bassam/PycharmProjects/mgf-django/scripts/_mtest/)",
      "Bash(cp /home/bassam/PycharmProjects/mgf-common/scripts/mtest /home/bassam/PycharmProjects/mgf-django/scripts/mtest)",
      "Bash(cp /home/bassam/PycharmProjects/mgf-common/scripts/__init__.py /home/bassam/PycharmProjects/mgf-django/scripts/__init__.py)",
      "Bash(chmod +x /home/bassam/PycharmProjects/mgf-django/scripts/mtest)",
      "Bash(timeout 90 env -u VIRTUAL_ENV uv run pytest tests/smoke/test_mtest_self_check.py -v --tb=long)",
      "Bash(timeout 90 env -u VIRTUAL_ENV uv run mgf-common test -- --self-check --verbose)",
      "Bash(GIT_SSH_COMMAND='ssh -i __TRACKED_VAR__ -o IdentitiesOnly=yes' git push)",
      "Bash(env -u VIRTUAL_ENV uv run pytest tests/unit/testing/test_supervisor_plugin_hygiene.py tests/unit/testing/test_supervisor_alignment.py -v --tb=short)",
      "Bash(mkdir -p src/mgf/test_supervisor tests/unit tests/smoke scripts docs)",
      "Bash(cp -v /home/bassam/PycharmProjects/mgf-common/scripts/_mtest/*.py src/mgf/test_supervisor/)",
      "Bash(cp -v /home/bassam/PycharmProjects/mgf-common/scripts/mtest scripts/mtest)",
      "Bash(chmod +x scripts/mtest)",
      "Bash(touch src/mgf/test_supervisor/py.typed)",
      "Bash(env -u VIRTUAL_ENV uv run pytest -q tests/unit/ --tb=short)",
      "Bash(timeout 100 env -u VIRTUAL_ENV uv run mgf-test-supervisor --self-check)",
      "Bash(timeout 120 env -u VIRTUAL_ENV uv run pytest -q --tb=short)",
      "Bash(export GIT_SSH_COMMAND=\"ssh -i $SSH_KEY -o IdentitiesOnly=yes\")",
      "Bash(env -u VIRTUAL_ENV 'GIT_SSH_COMMAND=ssh -i /home/bassam/PycharmProjects/VManager/my_stuff/ssh_key/codeberg -o IdentitiesOnly=yes' uv sync --all-extras)",
      "Bash(timeout 100 env -u VIRTUAL_ENV uv run mgf-common test -- --self-check)",
      "Bash(timeout 180 env -u VIRTUAL_ENV uv run pytest -q --tb=short -m smoke)",
      "Bash(chmod +x /tmp/migrate_sibling.sh)",
      "Bash(/tmp/migrate_sibling.sh mgf-http *)",
      "Bash(timeout 180 env -u VIRTUAL_ENV uv run pytest -q --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/test_public_api_json_pin.py -q)",
      "Bash(env -u VIRTUAL_ENV uv run pytest -q -k public_api)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_agents.py -q --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestTestSupervisorAdoptionCheck tests/unit/cli/test_catch_up.py::TestWoodpeckerCICheck -v --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py -q --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run mgf-common catch-up)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run mgf-common catch-up --path /home/bassam/PycharmProjects/mgf-http)",
      "Bash(env -u VIRTUAL_ENV uv run python -c ' *)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest -q -k \"feedback or paper\" --tb=short)",
      "Bash(GIT_SSH_COMMAND='ssh -i __TRACKED_VAR__ -o IdentitiesOnly=yes' git pull --rebase)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestFederationMarkersCheck -v --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestQueryPyPILatestVersion tests/unit/cli/test_catch_up.py::TestCheckPyPIFlag tests/unit/cli/test_catch_up.py::TestCheckPyPIArgWiring -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run mgf-common catch-up --check-pypi)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run python -c ' *)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_agents.py::TestDynamicRuleRanges -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestCheckPyPIFlag tests/unit/cli/test_catch_up.py::TestCheckPyPIArgWiring -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestCheckPyPIFlag tests/unit/cli/test_catch_up.py::TestCheckPyPIArgWiring tests/unit/cli/test_catch_up.py::TestQueryPyPILatestVersion -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestEditableInstallPinGuard -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestFederationMarkersCheck -v --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestRunCatchUp -v --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestApplyAddFederationMarkers -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestRunCatchUp -v --tb=short)",
      "Bash(GIT_SSH_COMMAND='ssh -i __TRACKED_VAR__ -o IdentitiesOnly=yes' git fetch --all)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestApplySupervisorWiring -v --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestTestSupervisorAdoptionCheck -v --tb=short)",
      "Bash(rm -rf /tmp/paper74_demo)",
      "Bash(mkdir /tmp/paper74_demo)",
      "Read(//tmp/**)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run mgf-common init-project --path /tmp/paper74_demo --name demo --kind library)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run mgf-common catch-up --path /tmp/paper74_demo)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_init_project.py -q --tb=short)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_init_project.py -q --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestCheckClaudeMdPinLiterals -v --tb=short)",
      "Bash(timeout 90 env -u VIRTUAL_ENV uv run mgf-test-supervisor --self-check)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest -q --tb=short)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/test_self_check_visibility.py -v --tb=short)",
      "Bash(timeout 90 env -u VIRTUAL_ENV uv run pytest -q --tb=short)",
      "Bash(timeout 10 env -u VIRTUAL_ENV uv run python -c \"import mgf.common; print\\(mgf.common.__version__\\)\")",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run python -c \"import mgf.common; print\\(mgf.common.__version__\\)\")",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv build)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run --isolated --with mgf-common==0.41.1 python -c ' *)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run --isolated --with mgf-test-supervisor==0.1.2 python -c ' *)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv pip install --index-url=https://pypi.org/simple/ mgf-test-supervisor==0.1.2 mgf-common==0.41.1)",
      "Bash(timeout 30 ./.venv/bin/python -c ' *)",
      "Bash(timeout 30 ./.venv/bin/mgf-common --version)",
      "Bash(timeout 30 ./.venv/bin/mgf-test-supervisor --version)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv pip install --refresh --index-url=https://pypi.org/simple/ \"mgf-test-supervisor==0.1.2\" \"mgf-common==0.41.1\")",
      "Bash(timeout 10 ./.venv/bin/mgf-common --version)",
      "Bash(timeout 10 ./.venv/bin/mgf-test-supervisor --version)",
      "Bash(timeout 30 env -u VIRTUAL_ENV uv run pytest tests/unit/test_version_in_sync.py -v --tb=short)",
      "Bash(rm -rf /tmp/pyi_smoke2)",
      "Bash(mkdir /tmp/pyi_smoke2)",
      "Bash(env -u VIRTUAL_ENV uv venv)",
      "Bash(env -u VIRTUAL_ENV uv pip install --refresh --index-url=https://pypi.org/simple/ \"mgf-test-supervisor==0.1.3\" \"mgf-common==0.41.1\")",
      "Bash(./.venv/bin/python -c ' *)",
      "Bash(./.venv/bin/mgf-common --version)",
      "Bash(./.venv/bin/mgf-test-supervisor --version)",
      "Bash(./.venv/bin/mtest --version)",
      "Bash(GIT_SSH_COMMAND='ssh -i __TRACKED_VAR__ -o IdentitiesOnly=yes' git pull --rebase --autostash)",
      "Bash(timeout 60 env -u VIRTUAL_ENV uv run pytest tests/unit/cli/test_catch_up.py::TestVersionSatisfiesConstraint tests/unit/cli/test_catch_up.py::TestCheckCrossSiblingPinCompatibility -v --tb=short)",
      "Bash(env -u VIRTUAL_ENV uv run pytest*)",
      "Bash(uv run pytest*)",
      "Bash(uv --directory * run pytest*)",
      "Bash(cd * && env -u VIRTUAL_ENV uv run pytest*)",
      "Bash(cd * && uv run pytest*)",
      "Bash(timeout * env -u VIRTUAL_ENV uv run pytest*)",
      "Bash(timeout * uv run pytest*)",
      "Bash(env -u VIRTUAL_ENV uv run python -m pytest*)",
      "Bash(uv run python -m pytest*)",
      "Bash(timeout * env -u VIRTUAL_ENV uv run python -m pytest*)",
      "Bash(/tmp/smoke-0.41.5/bin/pip install *)",
      "Bash(/tmp/smoke-0.41.5/bin/python -c \"import mgf.common; print\\('version:', mgf.common.__version__\\)\")",
      "Bash(rm -rf /tmp/smoke-0.41.5)",
      "Bash(/usr/bin/python3 -m venv /tmp/smoke-0.41.5)",
      "Bash(/home/bassam/PycharmProjects/mgf-test-supervisor/.venv/bin/python -m pytest /home/bassam/PycharmProjects/mgf-test-supervisor/tests/ -q --no-header)",
      "Bash(/home/bassam/PycharmProjects/mgf-hrb/.venv/bin/python -m pytest /home/bassam/PycharmProjects/mgf-hrb/tests/smoke/test_broker_freshness.py -q --no-header)",
      "Bash(/usr/bin/python3 -m venv /tmp/smoke-0.41.6)",
      "Bash(/tmp/smoke-0.41.6/bin/pip install *)",
      "Bash(/tmp/smoke-0.41.6/bin/python -c \"import mgf.common; print\\('version:', mgf.common.__version__\\)\")",
      "Bash(/usr/bin/python3 -m venv /tmp/smoke-sup-0.1.5)",
      "Bash(/tmp/smoke-sup-0.1.5/bin/pip install *)",
      "Bash(/tmp/smoke-sup-0.1.5/bin/python -c \"import mgf.test_supervisor; print\\('version:', mgf.test_supervisor.__version__\\)\")",
      "Bash(.venv/bin/lint-imports)",
      "Bash(timeout 120 .venv/bin/mypy)",
      "Bash(/usr/bin/python3 -m venv /tmp/smoke-vm-0.2.0)",
      "Bash(/tmp/smoke-vm-0.2.0/bin/pip install *)",
      "Bash(/tmp/smoke-vm-0.2.0/bin/python -c \"import mgf.vm; print\\('version:', mgf.vm.__version__\\)\")",
      "Bash(ssh-add -l)",
      "Bash(ssh -T git@codeberg.org -o BatchMode=yes)",
      "Bash(SSH_AUTH_SOCK=/run/user/1000/keyring/ssh ssh-add -l)",
      "Bash(ssh-add /home/bassam/PycharmProjects/VManager/my_stuff/ssh_key/codeberg)",
      "Bash(PYTHONPATH=src python3 -c ' *)",
      "Bash(PYTHONPATH=/home/bassam/PycharmProjects/mgf-standard/src python3 *)",
      "Read(//home/bassam/.ssh/**)",
      "Bash(tea --version)",
      "Bash(GIT_SSH_COMMAND='ssh -i /home/bassam/PycharmProjects/vm-vmanager-app/my_stuff/ssh_key/codeberg -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new -o ConnectTimeout=12' ssh -T git@codeberg.org)",
      "Bash(curl -sS -X POST https://codeberg.org/api/v1/orgs/magogi-admin/repos -H 'Authorization: token __TRACKED_VAR__' -H 'Content-Type: application/json' -d '{\"name\":\"mgf-standard\",\"description\":\"The Magogi Foundation engineering-standards corpus, federation contract, and library registry — source of truth for the mgf-* federation.\",\"private\":false,\"auto_init\":false,\"default_branch\":\"extract-mgf-standard\"}' -w '\\\\n__HTTP_%{http_code}__\\\\n')",
      "Bash(curl -sS \"https://codeberg.org/api/v1/users/magogi-admin\" -w \"\\\\n__%{http_code}__\\\\n\")",
      "Bash(chmod +x /tmp/cb-askpass.sh)",
      "Bash(curl -sS -o /dev/null -w \"mgf-standard 0.1.0: HTTP %{http_code}\\\\n\" https://pypi.org/pypi/mgf-standard/0.1.0/json)",
      "Bash(curl -sS -o /dev/null -w \"mgf-common 0.44.0:      HTTP %{http_code}\\\\n\" https://pypi.org/pypi/mgf-common/0.44.0/json)",
      "Bash(/tmp/smoke-ds/bin/python -c \"import mgf.standard as d; print\\('version:', d.__version__\\); print\\('standards count:', len\\(d.list_standards\\(\\)\\)\\); print\\('corpus link fix present:', 'codeberg.org/magogi-admin/mgf-common/src/branch/main/tests/unit/test_perf_pins.py' in d.read_standard\\('TESTING'\\)\\)\")",
      "Bash(/tmp/smoke-c/bin/python -c \"import mgf.common as c; print\\('mgf-common:', c.__version__\\); import mgf.standard as d; print\\('mgf-standard \\(transitive\\):', d.__version__\\); print\\('standards reachable:', len\\(d.list_standards\\(\\)\\)\\)\")",
      "Bash(/tmp/smoke-c/bin/mgf-common standards *)",
      "Bash(/tmp/smoke-c/bin/mgf-common --help)",
      "Bash(/tmp/smoke-c/bin/mgf-common --version)",
      "Bash(/tmp/wt/bin/python -c \"import mgf.standard as ds; L=ds.libraries\\(\\); print\\('  libraries\\(\\):', len\\(L\\)\\); mc=next\\(l for l in L if l['repo']=='mgf-common'\\); print\\('  mgf-common deps:', list\\(mc['deps']\\), '| version', mc['version']\\)\")",
      "Bash(mgf-common agents *)",
      "Bash(/tmp/smoke-fed/bin/python -c \"import mgf.common as c, mgf.standard as d; print\\('  mgf-common', c.__version__, '| mgf-standard \\(transitive\\)', d.__version__, '| libraries\\(\\)', len\\(d.libraries\\(\\)\\)\\)\")",
      "Bash(/tmp/smoke-fed/bin/mgf-common agents *)",
      "Bash(:)",
      "Bash(rm -rf /tmp/smoke-fed2)",
      "Bash(/tmp/smoke-fed2/bin/python -c \"import mgf.common as c, mgf.standard as d; print\\('  mgf-common', c.__version__, '| mgf-standard \\(transitive\\)', d.__version__, '| libraries\\(\\)', len\\(d.libraries\\(\\)\\)\\)\")",
      "Bash(/tmp/smoke-fed2/bin/mgf-common agents *)",
      "Bash(/tmp/smoke-cu/bin/python -c \"import mgf.common as c, mgf.standard as d; print\\('mgf-common', c.__version__, '| standard', d.__version__\\)\")",
      "Bash(/tmp/smoke-cu/bin/mgf-common catch-up *)",
      "Bash(.venv/lib/python3.13/site-packages/ziglang/zig build *)",
      "Bash(export PUBLISH_URL=\"https://codeberg.org/api/packages/magogi-admin/pypi\")",
      "Bash(scripts/publish-wheel --upload)",
      "WebSearch",
      "Bash(sort -t- -k2 -n)",
      "Bash(uvx twine *)"
    ]
  }
}
