Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ef99244
feat(github): implement pr checks watcher (#40)
vnedyalk0v Jun 20, 2026
49acd39
fix(github): handle missing required checks
vnedyalk0v Jun 20, 2026
5f6c300
fix(github): enforce watch deadline
vnedyalk0v Jun 20, 2026
948bccc
fix(github): separate skipped checks summary
vnedyalk0v Jun 20, 2026
bb923b5
fix(state): bound stored check strings
vnedyalk0v Jun 20, 2026
1c58ca3
docs(review): design review comments triage loop
vnedyalk0v Jun 20, 2026
80830c6
chore: merge main into dev
vnedyalk0v Jun 20, 2026
bd7df95
fix(github): stop terminal no-checks watch
vnedyalk0v Jun 20, 2026
21f9923
fix(github): retry transient no-checks watch
vnedyalk0v Jun 20, 2026
3ac79a1
fix(github): keep no-checks watch retryable
vnedyalk0v Jun 20, 2026
7bd7888
chore: sync dev after main promotion
vnedyalk0v Jun 20, 2026
57090fc
feat(review): implement flow-comments read-only triage
vnedyalk0v Jun 20, 2026
709c231
fix(review): block incomplete flow-comments scans
vnedyalk0v Jun 20, 2026
b3ea621
fix(review): advance valid triage lifecycle
vnedyalk0v Jun 20, 2026
dcf53bc
fix(review): require complete selected triage
vnedyalk0v Jun 20, 2026
f09b05c
fix(review): reject duplicate triage thread ids
vnedyalk0v Jun 20, 2026
c441354
fix(github): derive review thread repo from pr
vnedyalk0v Jun 20, 2026
832bdb3
feat(review): implement flow-fix-comments safe resolution
vnedyalk0v Jun 21, 2026
b498ffa
chore: sync dev with main
vnedyalk0v Jun 21, 2026
8acdefb
fix(review): allow replies to new thread feedback
vnedyalk0v Jun 22, 2026
c98a643
fix(review): validate fresh review state
vnedyalk0v Jun 22, 2026
0772a42
fix(review): allow outdated stale resolution
vnedyalk0v Jun 22, 2026
7e710c1
fix(review): gate valid auto resolution
vnedyalk0v Jun 22, 2026
74a1e90
fix(review): treat resolved threads as no-op
vnedyalk0v Jun 22, 2026
cf41387
fix(review): respect disabled check gates
vnedyalk0v Jun 22, 2026
e137429
fix(review): honor detached and human blockers
vnedyalk0v Jun 22, 2026
0d22f25
fix(github): select supported reply fields
vnedyalk0v Jun 22, 2026
9f7d6e3
fix(review): keep safe replies unblocked
vnedyalk0v Jun 22, 2026
077fb5e
fix(review): ignore stale detached metadata
vnedyalk0v Jun 22, 2026
03bb2cc
fix(github): redact fallback reply errors
vnedyalk0v Jun 22, 2026
46a02ef
fix(review): avoid premature resolution claims
vnedyalk0v Jun 22, 2026
e81eb0f
fix(review): require unfiltered verified checks
vnedyalk0v Jun 22, 2026
d15d5d1
fix(state): keep latest review outcomes
vnedyalk0v Jun 22, 2026
305bf0e
fix(review): guard stale scans before IDs
vnedyalk0v Jun 22, 2026
c5b8572
ci: add validation workflow
vnedyalk0v Jun 22, 2026
ae3c553
chore: sync main into dev
vnedyalk0v Jun 22, 2026
d5b535e
chore: sync dev with main
vnedyalk0v Jun 22, 2026
609e2df
docs: add installation and usage guide
vnedyalk0v Jun 22, 2026
e4ac928
docs: clarify review fix quickstart flow
vnedyalk0v Jun 22, 2026
08c2c1a
Merge remote-tracking branch 'origin/main' into chore/local-sync-main…
vnedyalk0v Jun 22, 2026
ced1da9
docs: align README review fix lifecycle
vnedyalk0v Jun 22, 2026
8f0698b
docs: document promotion merge policy
vnedyalk0v Jun 22, 2026
be30538
docs: clarify promotion branch ancestry
vnedyalk0v Jun 22, 2026
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
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ These rules apply to AI agents working in this repository.
- `build/`
- `revert/`
- Prefer small PRs with one clear purpose.
- Promotion PRs from `dev` to `main` should use a merge commit, not squash
merge. If a promotion is squashed, sync `main` back into `dev` before opening
the next promotion PR.

## Docs-first and issue-first workflow

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Codeflow helps Pi Coding Agent follow a conservative repository lifecycle:
-> fix valid review findings
-> /flow-check
-> /flow-commit
-> /flow-pr
-> /flow-watch
Comment thread
vnedyalk0v marked this conversation as resolved.
-> /flow-fix-comments
```
Expand Down
19 changes: 19 additions & 0 deletions docs/RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ The release process is planned for a future milestone.
CI validation should pass before merging feature work into `dev` and before
promoting `dev` to `main`.

## Promotion merge policy

Use a merge commit for `dev` to `main` promotion PRs. Squash-merging promotion
PRs makes `main` and `dev` diverge, which can create conflicts on the next
promotion PR even when file content is already aligned.
Comment thread
vnedyalk0v marked this conversation as resolved.

Open the promotion PR from `dev` itself, or from a branch that preserves `dev`
ancestry. Do not copy the `dev` tree onto `main` as a single-parent commit.

Before opening a promotion PR, fetch and confirm `main` is already in `dev`:

```sh
git fetch origin --prune
git merge-base --is-ancestor origin/main origin/dev
```

If the check fails because a previous promotion was squashed, sync `main` back
into `dev` before opening the next promotion PR.

No automated publishing should be added until implementation, CI, and security
review are ready.

Expand Down
33 changes: 30 additions & 3 deletions docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,42 @@ resolution.
/flow-comments
```

13. After fixing valid review comments and running checks again, preview and
apply safe replies or resolutions:
13. After fixing valid review comments, run checks again:

```text
/flow-check
```

14. Stage the intended review-fix changes.

15. Prepare a fresh commit payload for the review-fix commit.

16. Commit the review fix:

```text
/flow-commit --payload .pi/codeflow/commit-payload.json
```

17. Update the PR with the review-fix commit:

```text
/flow-pr --payload .pi/codeflow/pr-payload.json
```

18. Watch checks for the updated PR:

```text
/flow-watch --required
```

19. Preview and apply safe replies or resolutions:

```text
/flow-fix-comments --dry-run --payload .pi/codeflow/review-comment-fix.json
/flow-fix-comments --apply --payload .pi/codeflow/review-comment-fix.json
```

14. Final human review and merge remain outside Codeflow.
20. Final human review and merge remain outside Codeflow.

## Recommended AI-agent workflow

Expand Down
Loading