Repository navigation
Setting Up CI CD
Conscience includes a GitHub Actions workflow that runs ethical analysis on pull requests and on a weekly schedule.
Copy the workflow file into your repo:
cp .github/workflows/conscience.yml your-repo/.github/workflows/-
On PRs: runs
conscience examineagainst the repository and posts signals as GitHub annotations, then runsconscience examine --pr ... --commentto post the PR-scoped analysis as a comment. The comment is edited in place on later pushes. A runner has no AI session logs, so the comment covers the GitHub side and tells the reader the local command that adds AI data to the same comment. - Weekly: runs a full analysis and creates a summary
The workflow needs pull-requests: write permission for the comment step; the shipped file sets it.
-
The workflow needs a GitHub token with repo access. The default
GITHUB_TOKENprovided by Actions works for public repos. For private repos, create a personal access token and add it as a repository secret. -
Copy
.github/workflows/conscience.ymlfrom the conscience repo into your project's.github/workflows/directory. -
The workflow installs conscience via
cargo install conscience. For faster CI runs, you can download the prebuilt binary from the releases page instead:
- name: Install Conscience
run: |
curl -sL https://github.com/subversivesoftwareorg/conscience/releases/latest/download/conscience-linux-amd64 -o conscience
chmod +x conscience
sudo mv conscience /usr/local/bin/You can also use conscience examine --pr in CI to check individual PRs:
- name: Evaluate PR
run: conscience examine --pr ${{ github.event.pull_request.html_url }} --json- Evaluating a Pull Request — manual PR evaluation
-
Command Reference —
examineandevaluateflags
The eight commands
-
setup— what's configured -
examine— analyze a project, PR, or all projects -
report— github · ai · energy · tokens · authorship · attention · history · automation -
reflect— retrospective questions -
retro— aggregate saved reflections -
push— send a snapshot to a dashboard -
prune— remove a launcher behind failing automation -
du— what conscience takes up on disk;--tidyold snapshots
Guides
- Simplest Possible Start
- Getting Started
- Running a Team Retrospective
- Evaluating a Pull Request
- Understanding Your Attention Patterns
- Measuring Energy Cost
- Setting Up CI-CD
- Tracking Trends with a Dashboard
Reference