Repository navigation
Evaluating a Pull Request
Run the ethical analysis scoped to a single PR: what deserves attention and what is worth discussing about what that PR introduces.
conscience examine --pr https://github.com/your-org/your-repo/pull/42Both full URLs and short forms work:
# Full GitHub URL
conscience examine --pr https://github.com/your-org/your-repo/pull/42
# Short form
conscience examine --pr your-org/your-repo#42A PR analysis covers the time from the PR's earliest commit (or its opening, if that came first) to it being merged, closed, or now if it's still open. A PR opened and merged in six minutes still covers the hours of work that produced it.
Only AI activity inside that window is counted. A long-running session that straddles the window contributes the tokens, turns, and commands it produced during the PR, not its lifetime totals, so two PRs worked on in the same session get different numbers. The snapshot header and the PR comment both name the exact window.
The output starts with the PR's metadata:
Conscience — PR #42: "Add user authentication"
by alice | +681/−196 | 21 files | 3 review comments
Then the snapshot header and the standard analysis scoped to that PR's data. Add --full for every signal, the scorecard, and all reflection questions. Signals that commonly fire for individual PRs include:
- Prompt injection risk — if the PR body contains patterns that could manipulate AI tools
- Review engagement — whether the PR has review comments
- Contribution concentration — whether the PR's commits are from a single author
The current directory is the project by default. If your checkout lives elsewhere, pass --project:
conscience examine --pr your-org/your-repo#42 --project ~/code/your-repoThis correlates the PR with your AI sessions during its lifetime: token consumption, tools used, session duration, and signals like AI dependency ratio and tokenmaxxing.
conscience examine --pr your-org/your-repo#42 --jsonEmits the full snapshot. The signals, scorecard, and reflections keys are at the top level.
conscience examine --pr your-org/your-repo#42 --commentPosts the analysis as a comment on the pull request, where reviewers already look. Two things to know:
-
It's built from the sanitized export. A PR comment is visible to everyone with repository access, so it never carries file paths, shell commands, session ids, or names from signal evidence. Where evidence was a list of those, the comment shows a count. Signals about your
conscience.yamlare left out too; they aren't about the change under review. - A re-run edits the same comment. The comment carries a hidden marker, so ten pushes produce one conscience comment, not ten.
To see the body without posting:
conscience examine --pr your-org/your-repo#42 --markdownThe GitHub Actions workflow runs examine --pr ... --comment on every pull request. A CI runner has no AI session logs, so its comment covers the GitHub side and ends with the exact local command to add AI data; running that on your machine updates the CI comment in place. See Setting Up CI-CD for the full workflow.
-
Command Reference — full
examineflags - Security Signals — what prompt injection detection looks for
- The Seven Principles — what the scorecard measures
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