From b024092fa2dae23ecca55155c4bb6fd8e5377548 Mon Sep 17 00:00:00 2001 From: James3014 <185240413+James3014@users.noreply.github.com> Date: Tue, 13 Oct 2026 15:00:40 +0800 Subject: [PATCH] ci: remove RIE terminal job and narrow RIE triggers (#507) Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/repository-intelligence.yml | 43 ------------------- src/repository-intelligence-artifact.ts | 4 +- 2 files changed, 2 insertions(+), 45 deletions(-) diff --git a/.github/workflows/repository-intelligence.yml b/.github/workflows/repository-intelligence.yml index f036a83a8..8c75cf2f9 100644 --- a/.github/workflows/repository-intelligence.yml +++ b/.github/workflows/repository-intelligence.yml @@ -7,10 +7,6 @@ on: - synchronize - reopened - ready_for_review - - converted_to_draft - - labeled - - unlabeled - - edited permissions: contents: read @@ -50,42 +46,3 @@ jobs: path: ${{ steps.ri.outputs.report-path }} if-no-files-found: error retention-days: 30 - - terminal: - needs: snapshot - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - name: Observe terminal external check set - id: ri-terminal - uses: James3014/repository-intelligence-engine/terminal@88285acf570688befbc8e36eb73f46987171bd4e # main 2026-10-08 (v0.1.3 candidate, Issue #60) - with: - pr-number: ${{ github.event.pull_request.number }} - expected-head-sha: ${{ github.event.pull_request.head.sha }} - timeout-seconds: "1500" - poll-seconds: "60" - quiescence-seconds: "60" - - - name: Validate terminal advisory envelope - shell: bash - env: - REPORT_PATH: ${{ steps.ri-terminal.outputs.report-path }} - CONTENT_SHA256: ${{ steps.ri-terminal.outputs.content-sha256 }} - CLAIM_CEILING: ${{ steps.ri-terminal.outputs.claim-ceiling }} - SNAPSHOT_SEMANTICS: ${{ steps.ri-terminal.outputs.snapshot-semantics }} - OBSERVED_COUNT: ${{ steps.ri-terminal.outputs.observed-external-check-count }} - run: | - set -euo pipefail - test -s "$REPORT_PATH" - test "$CLAIM_CEILING" = "ADVISORY_EVIDENCE_ONLY" - test "$SNAPSHOT_SEMANTICS" = "OBSERVED_CHECK_SET_TERMINAL_AFTER_QUIESCENCE" - test "${#CONTENT_SHA256}" -eq 64 - test "$OBSERVED_COUNT" -gt 0 - - - name: Upload terminal Repository Intelligence evidence - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - with: - name: repository-intelligence-terminal-pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }} - path: ${{ steps.ri-terminal.outputs.report-path }} - if-no-files-found: error - retention-days: 30 diff --git a/src/repository-intelligence-artifact.ts b/src/repository-intelligence-artifact.ts index ae3452f4b..664c869db 100644 --- a/src/repository-intelligence-artifact.ts +++ b/src/repository-intelligence-artifact.ts @@ -305,7 +305,7 @@ export function registerRepositoryIntelligenceArtifactTool( { title: "Repository Intelligence artifact", description: - "Read and canonically verify one exact-head Repository Intelligence GitHub Actions artifact. snapshotKind=event returns PR-event timing only. snapshotKind=terminal returns evidence that the observed external check/status set was terminal and stable after quiescence; it still does not prove required-check completeness, Candidate acceptance, approval, merge readiness, release, or runtime activation.", + "Read and canonically verify one exact-head Repository Intelligence GitHub Actions artifact. snapshotKind=event returns PR-event timing only. snapshotKind=terminal is DEPRECATED (2026-10-13): the terminal RIE CI job was removed from all repositories, so no new terminal artifacts are produced and only artifacts from earlier PRs can still be read. It returns evidence that the observed external check/status set was terminal and stable after quiescence; it still does not prove required-check completeness, Candidate acceptance, approval, merge readiness, release, or runtime activation.", inputSchema: { workspaceId: z.string().min(1).describe( "Workspace to use. Reuse the current project's workspaceId.", @@ -320,7 +320,7 @@ export function registerRepositoryIntelligenceArtifactTool( "Exact pull-request head SHA expected inside the artifact.", ), snapshotKind: z.enum(["event", "terminal"]).optional().describe( - "Artifact timing kind. Defaults to event for backward compatibility.", + "Artifact timing kind. Defaults to event for backward compatibility. terminal is deprecated: the terminal CI job was removed on 2026-10-13, so only historical artifacts exist.", ), }, _meta: {},