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
43 changes: 0 additions & 43 deletions .github/workflows/repository-intelligence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
- synchronize
- reopened
- ready_for_review
- converted_to_draft
- labeled
- unlabeled
- edited

permissions:
contents: read
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions src/repository-intelligence-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand All @@ -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: {},
Expand Down
Loading