Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
4a95a94
docs(evidence): record approved issue 777 CI gate plan
akrock Oct 1, 2026
b767f42
Merge remote-tracking branch 'origin/main' into codex/make-it-so-issu…
akrock Oct 1, 2026
2cca334
feat(evidence): add fail-closed CI evidence gate pilot
akrock Oct 1, 2026
7d6aab9
fix(evidence): use architecture-correct Linux no-follow flags
akrock Oct 1, 2026
c968a83
test(evidence): cover gate CLI and authority failure paths
akrock Oct 1, 2026
cd67ff4
test(evidence): validate authority environment factory inputs
akrock Oct 1, 2026
db74d9a
docs(evidence): record coverage gate and Linux pilot limits
akrock Oct 1, 2026
b30e4f1
test(evidence): cover invalid exact-Git capture inputs
akrock Oct 1, 2026
d4236dc
test(evidence): reject incomplete PR run identities
akrock Oct 1, 2026
c2119c1
test(evidence): cover streamed artifact length and integrity
akrock Oct 1, 2026
aca3e72
test(evidence): keep output-limit child alive for cleanup proof
akrock Oct 1, 2026
c579bab
feat(evidence): add bounded non-claiming subject and release seams
akrock Oct 1, 2026
a6a40e5
feat(evidence): verify empty PR profiles without checkout attestation
akrock Oct 1, 2026
f8d2690
feat(evidence): bind policy-selected plan to subject handoff
akrock Oct 1, 2026
9898da1
fix(evidence): match .NET canonical plan string escaping
akrock Oct 1, 2026
5617fad
feat(evidence): rehearse trusted PR verifier in pilot workflow
akrock Oct 1, 2026
6d5c05e
fix(evidence): accept reviewed formatted policy in trusted verifier
akrock Oct 1, 2026
8bceb0c
test(evidence): cover verifier context API and CLI boundaries
akrock Oct 1, 2026
c1512fb
feat(evidence): rebind verifier handoff to fresh Git tree
akrock Oct 1, 2026
2d419c6
feat(evidence): bind subject result to verifier handoff
akrock Oct 1, 2026
b95e65b
test(evidence): cover verifier failures and validate full offline feed
akrock Oct 1, 2026
fc3ac36
ci(coverage): gate manual branch runs against main
akrock Oct 1, 2026
7e9f636
test(evidence): use explicit password placeholder in URL fixture
akrock Oct 1, 2026
e53cfac
fix(evidence): refresh gate dependency locks
akrock Oct 1, 2026
39cfb89
fix(evidence): qualify console entrypoint references
akrock Oct 1, 2026
536ec34
test(coverage): assert manual branch diff base
akrock Oct 2, 2026
806194c
test(evidence): use contained paths for release artifacts
akrock Oct 2, 2026
7c05eda
feat(evidence): verify locked offline image feed on native Linux
akrock Oct 2, 2026
1557030
test(web): await delayed scroll before asserting frame reset
akrock Oct 2, 2026
2bdf3c1
fix(evidence): use valid Docker bind mount in native image check
akrock Oct 2, 2026
1135e0d
test(release): verify in-process inspect matches CLI authority
akrock Oct 2, 2026
4c42be8
test(evidence): cover host and CLI fail-closed branches
akrock Oct 2, 2026
2217d2e
test(evidence): verify cancellation and unsafe gate inputs fail closed
akrock Oct 2, 2026
8191c64
test(release): reject incomplete machine inspection identities
akrock Oct 2, 2026
51bdbaf
test(evidence): reject unsafe Git status paths and encodings
akrock Oct 2, 2026
5099cb5
fix(evidence): align offline image and host SDK lock evaluation
akrock Oct 2, 2026
579bc36
test(evidence): cover gate policy and host fail-closed paths
akrock Oct 2, 2026
0e32e98
chore(evidence): pin pilot planner and verifier SDK
akrock Oct 2, 2026
77c7e1b
test(evidence): cover release inspect failure boundaries
akrock Oct 2, 2026
38dc63a
test(release): verify in-process inspect authority parity
akrock Oct 2, 2026
30d7a94
fix(evidence): bound isolated subject scratch and result transport
akrock Oct 2, 2026
2dfbc71
docs(evidence): record bounded subject scratch status
akrock Oct 2, 2026
b90ec5f
docs(evidence): describe isolated result transport and diagnostics
akrock Oct 2, 2026
b73932c
test(evidence): cover no-follow and tagged-release failure paths
akrock Oct 2, 2026
38644c0
docs(evidence): record third native cold-restore mismatch
akrock Oct 2, 2026
87418d8
test(evidence): reject oversized binary git diffs
akrock Oct 2, 2026
50b4b1c
test(evidence): make oversized diff fixture deterministic
akrock Oct 2, 2026
6fe67ce
test(release): use safe paths in authority fixtures
akrock Oct 2, 2026
3955ab5
docs(evidence): record sixth exact coverage diagnostic
akrock Oct 2, 2026
cb97296
feat(evidence): compare candidate policy against base fixtures
akrock Oct 2, 2026
1673bab
test(evidence): pin policy shadow cases to base fixtures
akrock Oct 2, 2026
f589c7b
test(evidence): probe native rootless subject envelope
akrock Oct 2, 2026
e4c9750
fix(evidence): compare transferred image digests canonically
akrock Oct 2, 2026
07043e7
fix(evidence): include pinned project SDK in offline feed
akrock Oct 2, 2026
d173d40
feat(evidence): expose bounded policy shadow command
akrock Oct 2, 2026
f7a8bb6
test(evidence): verify host rejects nonempty unsafe plans
akrock Oct 2, 2026
8ad98c5
fix(evidence): use rootless-compatible scratch tmpfs options
akrock Oct 2, 2026
77240ed
test(evidence): reject noncanonical verifier plans
akrock Oct 2, 2026
b17fd37
test(evidence): exercise no-follow PR artifact boundaries
akrock Oct 2, 2026
52bb312
feat(evidence): shadow captured policy in base-owned controller
akrock Oct 2, 2026
b555d24
test(evidence): cover Git change and revision rejection paths
akrock Oct 2, 2026
276f23d
feat(evidence): probe quota-limited host tmpfs with rootless Podman
akrock Oct 2, 2026
91b0588
fix(evidence): unmount tmpfs after interrupted mount
akrock Oct 2, 2026
eb95883
test(evidence): cover policy shadow CLI failure paths
akrock Oct 2, 2026
0dc25cf
docs(evidence): record native lane timeout budget
akrock Oct 2, 2026
7467415
fix(evidence): track mounted scratch before verification
akrock Oct 2, 2026
7e6f59c
fix(evidence): verify actual rootless capability sets
akrock Oct 2, 2026
6d647fa
test(evidence): record observed Podman capability sets
akrock Oct 2, 2026
bae252b
test(evidence): cover gate failure paths and probe native envelope
akrock Oct 2, 2026
955827f
fix(evidence): close project SDK feed during cold restore
akrock Oct 2, 2026
d1b7898
fix(evidence): inspect private cold-restore cache safely
akrock Oct 2, 2026
dab9f89
test(evidence): cover gate failure paths and harden verdict publication
akrock Oct 2, 2026
cc12cd7
docs(evidence): record successful native cold restore duration
akrock Oct 2, 2026
cb24c30
test(evidence): cover bounded gate rejection paths
akrock Oct 2, 2026
5c7d9ea
fix(evidence): bind quota-limited host scratch into subject
akrock Oct 2, 2026
74357a9
test(evidence): exercise gate artifact and revision failure paths
akrock Oct 2, 2026
9310078
fix(evidence): clean up ambiguous Podman create failure
akrock Oct 2, 2026
ec1122b
test(evidence): fix Linux gate fixture and watchdog race
akrock Oct 2, 2026
2b53b72
chore: merge origin/main into issue 777 branch
akrock Oct 2, 2026
75546a8
test(evidence): cover gate boundary failures
akrock Oct 2, 2026
bd4ffef
test(evidence): verify malformed gate inputs and release identity
akrock Oct 2, 2026
f9d8ef8
test(evidence): exercise Linux artifact descriptor boundaries
akrock Oct 2, 2026
da602ff
chore(evidence): remove unused extractor test import
akrock Oct 2, 2026
952046c
fix(evidence): align release identity and remove unreachable PR guard
akrock Oct 2, 2026
2c70532
feat(evidence): bind fixed subject execution receipt
akrock Oct 2, 2026
0586bba
feat(evidence): harden non-claiming CI image and cleanup pilot
akrock Oct 2, 2026
dbd1ea1
docs(release): note non-claiming evidence gate pilot
akrock Oct 2, 2026
9ad4667
test(docs): refresh release-note visual baselines
akrock Oct 2, 2026
1a55c50
fix(evidence): require non-bypassable reviewed main for image publish
akrock Oct 2, 2026
fa37648
Merge remote-tracking branch 'origin/main' into codex/make-it-so-issu…
akrock Oct 2, 2026
759b12b
test(docs): refresh merged release visual baselines
akrock Oct 2, 2026
83be494
fix(evidence): require privileged ruleset inspection for image publish
akrock Oct 2, 2026
7792659
test(evidence): cover release tag authority and mutable artifact meta…
akrock Oct 2, 2026
ca03b15
test(evidence): cover remote tag process failure and timeout
akrock Oct 2, 2026
2e4599b
test(evidence): verify pinned production tag lookup
akrock Oct 2, 2026
b1fa2f0
Merge remote-tracking branch 'origin/main' into codex/make-it-so-issu…
akrock Oct 2, 2026
a458213
docs(evidence): avoid stale brand term in rollout record
akrock Oct 2, 2026
9008e7a
docs(evidence): use current brand language in plan
akrock Oct 2, 2026
e15e6b2
feat(evidence): verify subject cleanup handoff
akrock Oct 3, 2026
6ba8c65
fix(release): use native ARM64 no-follow flags
akrock Oct 3, 2026
b1e0b87
Merge remote-tracking branch 'origin/main' into codex/make-it-so-issu…
akrock Oct 3, 2026
0d51d5a
Merge remote-tracking branch 'origin/main' into codex/make-it-so-issu…
akrock Oct 3, 2026
a0835fa
feat(evidence): bind patch gate to captured subject diff
akrock Oct 3, 2026
ba50e49
fix(evidence): serialize external activation coverage tests
akrock Oct 3, 2026
0600c63
feat(evidence): index bounded subject coverage artifacts
akrock Oct 3, 2026
2080ae3
feat(evidence): transfer bounded subject artifacts without claims
akrock Oct 3, 2026
8ef8cb5
fix(evidence): resolve cancelled policy read at EOF
akrock Oct 3, 2026
c63339b
feat(ci): publish independent empty-profile evidence verdict
akrock Oct 3, 2026
0d65b96
docs(ci): link gate finalizer to source-hosted file
akrock Oct 3, 2026
682c214
feat(ci): bind non-claiming OCI envelope observation to handoff
akrock Oct 3, 2026
a4c30f5
docs(ci): record timed evidence gate quickstart rehearsal
akrock Oct 3, 2026
44e8fa1
Merge remote-tracking branch 'origin/main' into codex/issue-777-attes…
akrock Oct 3, 2026
cc5b086
feat(ci): replay subject coverage in trusted verifier
akrock Oct 3, 2026
cca6622
fix(release): bind publication validation to protected workflow commit
akrock Oct 3, 2026
1c76248
docs(ci): record upcoming pull_request_target policy gate
akrock Oct 3, 2026
c6d1791
fix(release): gate publication jobs on protected environment
akrock Oct 4, 2026
3708f5b
test(release): cover Pages deployment dependency
akrock Oct 4, 2026
b4f7c67
fix(release): bind publication to annotated tag object
akrock Oct 4, 2026
8d7811d
docs(release): require immutable tag policy before publication
akrock Oct 4, 2026
d02fda3
refactor(release): rely on validated tag identity projection
akrock Oct 4, 2026
7d81b1b
docs(release): clarify tag identity failure diagnostics
akrock Oct 4, 2026
3745263
docs(release): list tag object workflow output
akrock Oct 4, 2026
65ce0a2
docs(release): link workflow outside static export
akrock Oct 4, 2026
0484b93
feat(evidence): record bounded verifier subject observation
akrock Oct 4, 2026
3398a91
feat(release): verify docs archive tuple before upload
akrock Oct 4, 2026
2a1c1fb
fix(release): pin verified docs upload paths
akrock Oct 4, 2026
9a48375
test(release): use bounded fixture archive path
akrock Oct 4, 2026
f9a50b1
test(release): cover docs tuple verification failures
akrock Oct 4, 2026
6f79dfe
refactor(evidence): simplify complete run option parsing
akrock Oct 4, 2026
85c5110
chore: merge origin/main into issue 777 CI gates
akrock Oct 5, 2026
0fb8e27
test(docs): reconcile merged release baselines
akrock Oct 5, 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
531 changes: 531 additions & 0 deletions .appsurface/evidence/evidence.policy.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Web/ForgeTrust.AppSurface.Web.Tailwind/tailwind.release.json text eol=lf
# A captured Git diff marks an unchanged empty line with one leading context space.
docs/fixtures/issue-777-docs-only/source.diff -whitespace
29 changes: 27 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,37 @@ on:
branches:
- main
workflow_dispatch:
inputs:
validate_subject_image:
description: Validate the non-claiming evidence subject image and cold offline restore on native Linux x64.
required: false
type: boolean
default: false

concurrency:
group: build-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.head.label || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
evidence-subject-image-validation:
name: Evidence subject image validation (non-claiming)
if: ${{ github.event_name == 'workflow_dispatch' && inputs.validate_subject_image }}
runs-on: ubuntu-24.04
timeout-minutes: 45
permissions:
contents: read
steps:
- name: Checkout the implementation branch without credentials
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up .NET 10
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 10.0.401
- name: Verify real feed, build image, and restore from empty cache
run: bash ./scripts/evidence-gate-subject-image/validate-native.sh

config-package-contract:
name: Config package contract (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -395,7 +420,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 1 }}
fetch-depth: ${{ github.event_name == 'workflow_dispatch' && '0' || github.event_name == 'pull_request' && '2' || '1' }}

- name: Setup .NET SDK
id: setup-dotnet
Expand Down Expand Up @@ -475,7 +500,7 @@ jobs:
BUILD_CONFIGURATION: Release
BUILD_NO_RESTORE: true
COVERAGE_PARALLELISM: 2
COVERAGE_GATE_DIFF_BASE: ${{ github.event_name == 'pull_request' && 'HEAD^1' || '' }}
COVERAGE_GATE_DIFF_BASE: ${{ github.event_name == 'pull_request' && 'HEAD^1' || github.event_name == 'workflow_dispatch' && 'origin/main' || '' }}
APP_SURFACE_TEST_ARTIFACTS_DIR: ${{ runner.temp }}/docs-outline-layout-evidence
run: |
./scripts/coverage-solution.sh
Expand Down
101 changes: 101 additions & 0 deletions .github/workflows/evidence-gate-shadow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: evidence-gate-shadow.yml

on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review, edited]
push:
branches: [main]
paths:
- .appsurface/**
- Evidence/**
- tools/ForgeTrust.AppSurface.EvidenceGate/**
- tools/ForgeTrust.AppSurface.EvidenceGate.Tests/**
- tools/ForgeTrust.AppSurface.Release/**
- .github/workflows/evidence-gate*.yml
- scripts/evidence-gate-*

permissions:
contents: read

concurrency:
group: evidence-gate-shadow-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
non-claiming-contract-check:
name: Evidence gate shadow (non-claiming)
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- name: Checkout candidate code for non-claiming validation
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup .NET SDK
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 10.0.x
- name: Restore focused evidence tests with lock files
run: |
dotnet restore Cli/ForgeTrust.AppSurface.Cli.Tests/ForgeTrust.AppSurface.Cli.Tests.csproj --locked-mode
dotnet restore tools/ForgeTrust.AppSurface.EvidenceGate.Tests/ForgeTrust.AppSurface.EvidenceGate.Tests.csproj --locked-mode
dotnet restore tools/ForgeTrust.AppSurface.Release.Tests/ForgeTrust.AppSurface.Release.Tests.csproj --locked-mode
- name: Validate policy, revision, verifier, and extraction contracts
run: >-
dotnet test Cli/ForgeTrust.AppSurface.Cli.Tests/ForgeTrust.AppSurface.Cli.Tests.csproj
--no-restore
--filter "FullyQualifiedName~Evidence|FullyQualifiedName~AppSurfaceEvidencePolicyTests"
- name: Validate first-party host behavior
run: dotnet test tools/ForgeTrust.AppSurface.EvidenceGate.Tests/ForgeTrust.AppSurface.EvidenceGate.Tests.csproj --no-restore
- name: Validate non-mutating release inspection
run: >-
dotnet test tools/ForgeTrust.AppSurface.Release.Tests/ForgeTrust.AppSurface.Release.Tests.csproj
--no-restore
--filter "FullyQualifiedName~Release"
- name: Validate controller capture and credentialless subject isolation
run: python3 -m unittest discover -s scripts/tests -p 'test_evidence_gate_*.py'
- name: Validate protected-main image publisher guards
run: python3 -m unittest discover -s scripts/evidence-gate-subject-image -p 'test_publish_guard.py'
- name: Rehearse exact docs-only plan, host, and local verification
shell: bash
run: |
set -euo pipefail
fixture_dir="$(mktemp -d)"
git clone --quiet docs/fixtures/issue-777-docs-only/repository.bundle "$fixture_dir/repository"
base_revision="$(python3 -c 'import json; print(json.load(open("docs/fixtures/issue-777-docs-only/fixture.json"))["baseRevision"])')"
head_revision="$(python3 -c 'import json; print(json.load(open("docs/fixtures/issue-777-docs-only/fixture.json"))["headRevision"])')"
policy=docs/fixtures/issue-777-docs-only/policy.json
dotnet run --project Cli/ForgeTrust.AppSurface.Cli --no-restore -- evidence explain \
--policy "$policy" --repository "$fixture_dir/repository" \
--base-revision "$base_revision" --head-revision "$head_revision" \
--diff-file docs/fixtures/issue-777-docs-only/source.diff --gate-mode \
--output "$fixture_dir/explain"
dotnet run --project tools/ForgeTrust.AppSurface.EvidenceGate --no-restore -- run \
--plan "$fixture_dir/explain/evidence-plan.json" --policy "$policy" \
--repository "$fixture_dir/repository" --output-dir "$fixture_dir/host"
dotnet run --project Cli/ForgeTrust.AppSurface.Cli --no-restore -- evidence verify \
"$fixture_dir/host/evidence-manifest.json" \
--plan "$fixture_dir/host/evidence-plan.json" --policy "$policy" \
--repository "$fixture_dir/repository"
python3 - "$fixture_dir" <<'PY'
import json
from pathlib import Path
import sys
root = Path(sys.argv[1])
explained = json.loads((root / "explain/evidence-plan.json").read_text())
hosted = json.loads((root / "host/evidence-plan.json").read_text())
manifest = json.loads((root / "host/evidence-manifest.json").read_text())
assert explained["PlanDigest"] == hosted["PlanDigest"]
assert hosted["Profile"]["Id"] == "documentation-only"
assert manifest["ClaimKind"] == "NoEvidenceRequired"
assert manifest["Eligibility"] == "PullRequestGate"
PY
- name: Explain shadow status
if: ${{ always() }}
run: |
{
echo '## AppSurface evidence gate shadow'
echo ''
echo 'This branch-owned check validates implementation contracts only. It is not the base-owned verifier, does not issue an EvidenceHost claim, and must not be configured as the required evidence check.'
} >> "$GITHUB_STEP_SUMMARY"
Loading
Loading