Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/backlog/ISSUES.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ Implementation work in this stage should remain gated by the Stage 2.1 readiness

Provider-context planning root:

- #82 - `[Stage 3] Provider context planning map`
- #82 - `[Stage 3] Provider context planning map`. Completed by [`docs/provider-context-plan.md`](../../docs/provider-context-plan.md).

Suggested planning merge order:

Expand Down
2 changes: 2 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ Goal: connect local Maven evidence to pull request context while keeping the cor

Release gate: [v0.3.0 release acceptance checklist](docs/release-acceptance-v0.3.0.md).

Planning map: [Provider context plan](docs/provider-context-plan.md).

Planned work:

- GitHub adapter for changed files and check runs.
Expand Down
2 changes: 2 additions & 0 deletions docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ This means GitHub is the only platform with official project automation and exam

Native PR and CI context adapters are planned for Stage 3.

The planning lane is documented in the [Provider Context Plan](provider-context-plan.md).

Planned order:

1. GitHub adapter for changed files and check runs.
Expand Down
1 change: 1 addition & 0 deletions docs/project-visual-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ This document is a navigation aid. The source of truth remains:
- [MVP hardening plan](mvp-hardening-plan.md)
- [v0.1.0 release snapshot](release-snapshot-v0.1.0.md)
- [v0.3.0 release acceptance checklist](release-acceptance-v0.3.0.md)
- [Provider context plan](provider-context-plan.md)
- [MVP acceptance checklist](mvp-acceptance.md)
- [Implementation status](implementation-status.md)
- [Label guide](labels.md)
Expand Down
68 changes: 68 additions & 0 deletions docs/provider-context-plan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Provider Context Plan

This document organizes Stage 3 provider-context work before implementation-heavy adapters begin.

Provider context means optional pull request, changed-file, check-run, CI artifact, and summary metadata that can enrich local Maven findings. It must remain additive: the local analyzer continues to work from local Maven report artifacts without network access or provider tokens.

Use this plan with the [project visual map](project-visual-map.md), [v0.3.0 release acceptance checklist](release-acceptance-v0.3.0.md), [integration scope](integrations.md), and [roadmap](../ROADMAP.md).

## Readiness Gates

Stage 3 provider-context work starts after these gates are available:

- [#79 Stage 3 readiness gate](https://github.com/pr-cli/pr-maven-cli/issues/79)
- [#100 v0.3.0 release acceptance checklist](https://github.com/pr-cli/pr-maven-cli/issues/100)
- [#101 visual dependency map](https://github.com/pr-cli/pr-maven-cli/issues/101)
- [#102 post-gate label review](https://github.com/pr-cli/pr-maven-cli/issues/102)

Implementation-heavy issues remain blocked until their related design contracts, fixtures, and mocks land.

## Design Contract Order

The first ready Stage 3 lane is design and validation, not live provider implementation.

Recommended order:

1. [#84 Provider adapter package boundaries](https://github.com/pr-cli/pr-maven-cli/issues/84) and [#85 provider fixture and mock contract](https://github.com/pr-cli/pr-maven-cli/issues/85)
2. [#83 provider error and offline fallback taxonomy](https://github.com/pr-cli/pr-maven-cli/issues/83) and [#86 GitHub token and permission matrix](https://github.com/pr-cli/pr-maven-cli/issues/86)
3. [#87 changed-files fixture contract](https://github.com/pr-cli/pr-maven-cli/issues/87) and [#89 check-runs fixture contract](https://github.com/pr-cli/pr-maven-cli/issues/89)
4. [#90 PR context JSON extension contract](https://github.com/pr-cli/pr-maven-cli/issues/90), [#88 Markdown PR summary content contract](https://github.com/pr-cli/pr-maven-cli/issues/88), and [#91 why, explain, and ci command UX boundaries](https://github.com/pr-cli/pr-maven-cli/issues/91)
5. [#93 CI artifact directory fixture layout](https://github.com/pr-cli/pr-maven-cli/issues/93), [#92 GitLab parity boundary](https://github.com/pr-cli/pr-maven-cli/issues/92), and [#94 agent evidence bundle schema](https://github.com/pr-cli/pr-maven-cli/issues/94)

## Implementation Issues That Stay Blocked

The following issues should not start until the relevant design contract is merged or explicitly waived by a maintainer:

- [#21 GitHub changed files adapter](https://github.com/pr-cli/pr-maven-cli/issues/21)
- [#22 GitHub adapter interface](https://github.com/pr-cli/pr-maven-cli/issues/22)
- [#23 GitHub check runs adapter](https://github.com/pr-cli/pr-maven-cli/issues/23)
- [#24 baseline comparison model](https://github.com/pr-cli/pr-maven-cli/issues/24)
- [#25 PR-to-module relevance scoring](https://github.com/pr-cli/pr-maven-cli/issues/25)
- [#26 confidence model v2](https://github.com/pr-cli/pr-maven-cli/issues/26)
- [#27 prmaven explain command](https://github.com/pr-cli/pr-maven-cli/issues/27)
- [#28 prmaven ci command](https://github.com/pr-cli/pr-maven-cli/issues/28)
- [#29 Markdown PR summary output](https://github.com/pr-cli/pr-maven-cli/issues/29)
- [#34 agent evidence bundle output](https://github.com/pr-cli/pr-maven-cli/issues/34)
- [#36 CI artifact directory option](https://github.com/pr-cli/pr-maven-cli/issues/36)

## Contributor Slicing Rules

Each provider-context contribution should:

- change one contract, fixture shape, or documented boundary at a time;
- preserve local report-only behavior;
- avoid live API calls in default tests;
- prefer sanitized fixtures and fake clients over real provider data;
- document permission and offline behavior before adding token-aware code;
- keep JSON additions additive and compatible with existing consumers.

## Label Expectations

Every provider-context issue should keep:

- one `stage:*` label;
- at least one `area:*` label;
- exactly one current `status:*` label;
- at least one contributor-fit label such as `help wanted`, `need help`, `good first contribution`, `oss first friendly`, or `agent-friendly`.

Ready design issues signal that contributors may start drafting contracts. Blocked implementation issues signal that the repo is still waiting for the prerequisite contract, fixture, or mock design.
Loading