-
Notifications
You must be signed in to change notification settings - Fork 13
chore: initialize fullsend per-repo installation #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # Copyright The Conforma Contributors | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # fullsend per-repo configuration | ||
| # https://github.com/fullsend-ai/fullsend | ||
| # | ||
| # This file configures fullsend for per-repo installation mode. | ||
| # See https://fullsend.sh/docs/guides/infrastructure/layered-config-reference | ||
| version: "1" | ||
| roles: | ||
| - fullsend | ||
| - triage | ||
| - coder | ||
| - fix | ||
| - review | ||
| - retro | ||
| - prioritize | ||
| agents: | ||
| - name: review | ||
| source: customized/harness/review.yaml | ||
| - name: retro | ||
| source: customized/harness/retro.yaml | ||
| allowed_remote_resources: | ||
| - https://raw.githubusercontent.com/fullsend-ai/fullsend/ | ||
| - https://raw.githubusercontent.com/fullsend-ai/agents/ | ||
| create_issues: | ||
| allow_targets: | ||
| repos: | ||
| - conforma/conforma.github.io | ||
| - fullsend-ai/fullsend | ||
| status_notifications: | ||
| comment: | ||
| completion: on_failure | ||
| reaction: | ||
| start: enabled | ||
| completion: disabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Copyright The Conforma Contributors | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Derived retro harness: retain upstream analysis and append the Conforma gate. | ||
| base: https://raw.githubusercontent.com/fullsend-ai/agents/69ade99f1b61bea99aee98e604384e26ff7b45e0/harness/retro.yaml#sha256=6d858c90cc6f1c7526d2b36b8cd47df079d1332ac7184bb70dfb1587e9cb04d8 | ||
|
|
||
| skills: | ||
| - customized/skills/retro-filing-policy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Copyright The Conforma Contributors | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| base: https://raw.githubusercontent.com/fullsend-ai/agents/440d3e3c1a4a770309e37c2fd2826dfc88297d99/harness/review.yaml#sha256=c259d94e7c50e5e01cb0fa38df2b70765f8e35beb7ad8bf006c9193a05589917 | ||
|
|
||
| # Fullsend's bool merge treats an omitted readonly_repo as false, so carry | ||
| # forward the upstream read-only guarantee explicitly. | ||
| readonly_repo: true | ||
|
|
||
| env: | ||
| runner: | ||
| REVIEW_FINDING_SEVERITY_THRESHOLD: "high" | ||
| sandbox: | ||
| REVIEW_FINDING_SEVERITY_THRESHOLD: "high" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| --- | ||
| name: retro-filing-policy | ||
| description: >- | ||
| Required on every Conforma retro run. Score every candidate from 0 to 5 | ||
| and file only score-4 and score-5 findings after duplicate checks. | ||
| --- | ||
|
|
||
| # Conforma retro filing policy | ||
|
|
||
| This skill is mandatory for every retro run. Invoke it before writing | ||
| `$FULLSEND_OUTPUT_DIR/agent-result.json`. It augments the upstream retro | ||
| analysis and does not replace its workflow reconstruction, duplicate checks, | ||
| recently-closed checks, evidence handling, or proposal limit. | ||
|
|
||
| ## Required filing sequence | ||
|
|
||
| 1. Build the complete candidate list from the upstream retro analysis. | ||
| 2. Before deciding what belongs in `proposals[]`, assign every candidate an | ||
| integer judge score from 0 through 5 using the rubric below. | ||
| 3. Apply the upstream checks for an existing open duplicate or a substantially | ||
| equivalent issue closed recently. A duplicate or recently closed equivalent | ||
| is summary-only even when its score is 4 or 5. Supporting evidence for an | ||
| existing issue is summary-only and must never become an "Evidence for ..." | ||
| proposal. | ||
| 4. Put only eligible, non-duplicate candidates scored 4 or 5 in `proposals[]`. | ||
| Preserve the upstream maximum of three proposals, keeping the highest-value | ||
| candidates when there are more than three. | ||
| 5. Keep every score-0-through-3 candidate out of `proposals[]`. Mention it in | ||
| the retro `summary` as summary-only, with a compact reason. | ||
| 6. In the `summary`, include a compact **Judge scores** list covering every | ||
| candidate, filed and summary-only. Each entry must contain the score, a | ||
| short title, and the disposition (`filed` or `summary-only`). | ||
| 7. For every filed proposal, begin the existing | ||
| `what_could_go_better` text field with: | ||
|
|
||
| `Judge score: N/5 — <one-line justification>` | ||
|
|
||
| Do not add new JSON fields or change the upstream result schema. | ||
|
|
||
| Do not create, edit, or post issues yourself. The upstream post-script handles | ||
| writes after output validation. | ||
|
|
||
| ## Conforma scoring rubric | ||
|
|
||
| Score the impact of the candidate, not how interesting the observation is. | ||
| Use the lower range by default for isolated improvements: | ||
|
|
||
| - One-off pitfalls, cosmetic documentation edits, historical-document | ||
| cleanup, speculative prevention rules, and isolated preferences score 0–3 | ||
| by default. They are not eligible for filing without evidence that a higher | ||
| threshold applies. | ||
| - An `AGENTS.md` proposal scores 0–3 by default. It can score 4 or 5 only | ||
| when there is evidence of a recurring contributor or agent failure, the rule | ||
| applies to human contributors as well as bots, and the instruction has a | ||
| credible preventive mechanism. | ||
|
|
||
| Use score 4 only when there is a likely recurring impact, such as repeated | ||
| human time loss, repeated bad bot output, pipeline or policy integrity risk, | ||
| or persistent operational cost. | ||
|
|
||
| Use score 5 only for a systemic or recurring correctness, security, | ||
| reliability, or policy failure. | ||
|
|
||
| A high score does not bypass the upstream duplicate, recently-closed, or | ||
| evidence-for checks. If those checks suppress a candidate, list it as | ||
| summary-only and explain the disposition in the summary. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # Copyright The Conforma Contributors | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # This file is managed by fullsend. Do not edit it directly. | ||
| # Upstream: https://github.com/fullsend-ai/fullsend/blob/main/internal/scaffold/fullsend-repo/.github/workflows/prioritize.yml | ||
| --- | ||
| # fullsend-stage: prioritize | ||
| name: Prioritize | ||
|
|
||
| permissions: | ||
| actions: write | ||
| contents: read | ||
| id-token: write | ||
| issues: write | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| event_type: | ||
| required: true | ||
| type: string | ||
| source_repo: | ||
| required: true | ||
| type: string | ||
| event_payload: | ||
| required: true | ||
| type: string | ||
| project_number: | ||
| description: GitHub Projects V2 project number for RICE scoring | ||
| required: false | ||
| type: string | ||
|
|
||
| concurrency: | ||
| group: fullsend-prioritize-${{ inputs.source_repo }}-${{ fromJSON(inputs.event_payload).issue.number }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| prioritize: | ||
| uses: fullsend-ai/fullsend/.github/workflows/reusable-prioritize.yml@main | ||
| with: | ||
| event_type: ${{ inputs.event_type }} | ||
| source_repo: ${{ inputs.source_repo }} | ||
| event_payload: ${{ inputs.event_payload }} | ||
| mint_url: ${{ vars.FULLSEND_MINT_URL }} | ||
| gcp_region: ${{ vars.FULLSEND_GCP_REGION }} | ||
| project_number: ${{ inputs.project_number || vars.FULLSEND_PROJECT_NUMBER }} | ||
| install_mode: per-repo | ||
| runner_image: ubuntu-24.04 | ||
| secrets: | ||
| FULLSEND_GCP_WIF_PROVIDER: ${{ secrets.FULLSEND_GCP_WIF_PROVIDER }} | ||
| FULLSEND_GCP_PROJECT_ID: ${{ secrets.FULLSEND_GCP_PROJECT_ID }} | ||
| FULLSEND_OPENAI_API_KEY: ${{ secrets.FULLSEND_OPENAI_API_KEY }} | ||
| OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_TRACES_HEADERS }} | ||
| OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.