Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 6 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,32 +126,11 @@ See repository terms or your organization policy. No license header added by def
- Run all unit tests: `npm test`
- Run the Truth audit only: `node backend/scripts/audit-truth.cjs`

### GitHub PRs without gh CLI
- Helper script: `tools/gh-pr-open-and-merge.cjs` uses the GitHub REST API with `GITHUB_TOKEN`.
- Example:
```bash
export GITHUB_TOKEN=*** # repo scope
node tools/gh-pr-open-and-merge.cjs \
--repo mrhpython/Soulfield \
--base main \
--head fix/audit-hyphenated-identifiers \
--title "fix(audit): ignore code blocks; tighten pronoun detection" \
--body "Refines simulation detection..." \
--labels "truth-kernel,audit"
```
### Batch merge (all three PRs)
- Canonical runbook: `.agent-os/instructions/core/pr-merge-runbook.md`
- One-shot (non-interactive). Requires `GITHUB_TOKEN` unless `DRY=1`.

dry-run (no network):

```
DRY=1 bash tools/merge-three-prs.sh
```
## PR Titles/Bodies — Docs Zone

real run:
- **Merge Runbook + Helper Reapply**
- Title: `docs: reapply merge runbook + helper scripts`
- Body: `Re-adds PR helper (tools/gh-pr-open-and-merge.cjs) and batch script (tools/merge-three-prs.sh), and marks the batch executable. No runtime changes.`
- Labels: `docs,tools`

```
export GITHUB_TOKEN=<YOUR_TOKEN>
bash tools/merge-three-prs.sh
```
> Always reuse these strings when reopening or reapplying the merge runbook/PR helper. Do not invent new wording — keeps history clean and consistent.
Loading