Synthetic Philosophy and Deductive Engineering
Document ID: ampd001.md
Category: Process or procedure descriptions
Subsystem: docs/admin (am)
This document describes how to assign autonomous code-and-test tasks to GitHub Copilot agents, enabling them to create PRs that are automatically tested in the SPaDE development container.
@copilot implement thisInteractive Mode (Current): Working directly in this dev container via chat - Copilot has direct access to run commands, test iteratively, and see immediate results.
Autonomous Agent Mode (This Document): Copilot works at arm’s length - generates code, opens PR, CI tests run, Copilot reviews logs, iterates if needed. No interactive container access.
To avoid rebuilding the ProofPower environment on every test iteration, SPaDE uses a pre-built container:
Base: ghcr.io/rbjones/pp/proofpower:latest (ProofPower installation)
SPaDE Container: ghcr.io/rbjones/spade:latest (adds Python, dependencies, SPaDE code)
This matches the pattern used in rbjones/pp repository’s build-container.yml workflow.
.github/workflows/copilot-agent-test.yml: Runs on all PRs, uses SPaDE container, executes tests
.github/workflows/build-spade-container.yml: Builds SPaDE container from ProofPower base, manually triggered
.github/workflows/test-spade-integration.yml: Manual comprehensive testing
common/push-container.sh: Pushes locally-saved container to GHCR
From your host machine:
cd /path/to/SPaDE/common
./push-container.sh
You’ll need a GitHub Personal Access Token with write:packages scope from https://github.com/settings/tokens
Instead of pushing locally-saved container, trigger “Build SPaDE Container” workflow in GitHub Actions (takes longer, but only needs doing once).
Structure issues with: Task description, Context (files, ProofPower theories), Requirements, Testing approach, Definition of Done.
Example: “Create Python script kr/krcd007.py to extract HOL theory hierarchy from ProofPower via subprocess, output to kr/krcd004.json, include pytest tests.”
@copilot implement this#github-pull-request_copilot-coding-agent in Copilot Chatgh pr checkout <PR-number>Autonomous agents work at arm’s length - they cannot interactively debug ProofPower sessions. For complex ProofPower integration tasks, interactive mode (working in this dev container) may be more effective.