Skip to content

CLI, CI and enablement responses — round 2

  • FIX 1 / Gronktayvius red-team High 1: request/status/verify now always exit nonzero, including Pending and Approved. Every approval operation labels output ADVISORY ONLY. Status and verify explicitly say not actionable. Tests enumerate every decision and repeat verify without consuming.
  • FIX 2 / red-team High 2: agent verify is a dry run (consume: false). Program.Main has no provider, notifier, credentials or replay wiring. Executor consumption is handled by the root's ledger changes.
  • FIX 5 / Gronktayvius High / red-team Medium: agent executable reads only Approvals:Enabled; removed Twilio credential and SMTP configuration loading completely. Enabled mode remains configuration-incomplete because no executor channel is implemented. Trusted adapter and credentials belong only to an executor. Runbook records challenge-only permissions and live-doc verification prerequisite.
  • Jenny A2 Medium 4: obsolete doctor/SMTP validation path removed with agent notification configuration. Enabled doctor cannot report complete; no invalid port can silently fall back because CLI no longer accepts SMTP configuration. Default disabled path is inert.
  • Jenny A2 cancellation Medium: CLI propagates caller cancellation and checks it before work.
  • Jenny B High 2: removed global Approvals__Enabled override from CI; build/test now run Windows and Linux. Config-entry tests prove unset defaults disabled and only Enabled is read.
  • FIX 7 / Gronktayvius test/CI findings: existing tests/configs were omitted from review prompt; that absence finding is ignored as instructed. Committed tool manifest pins Stryker.NET 4.16.0. All four configs already break at 60; retained. CI fails if TRX is absent, zero tests are discovered, tests fail or none execute. Dependency scan includes transitive packages; High/Critical findings, scan process failure, malformed report and reported scan problems fail CI.
  • Jenny B Medium 6: agree supply-chain pinning and floating remote Semgrep rules need hardening. Stryker version is now pinned. Action commit SHA/container digest provenance and Semgrep registry compatibility remain unverified; no network calls were used to obtain them, and no guessed hashes or reduced replacement ruleset were installed. This portion remains outstanding before enablement/release.
  • README, enable runbook and mobile contract now describe single verifier-built Details.Message, default limit 256 needing live-doc verification, captured full-effect phone payload gate, executor-only challenge credentials, protected SQLite state and transactional local outbox. External-effect dispatch/recovery is explicitly not implemented by the ledger alone.

Actual Stryker receipts

Hidden background invocations from tests/Forge.Approvals.Tests used installed 4.16.0:

dotnet-stryker --config-file stryker-config.json --skip-version-check --verbosity trace
dotnet-stryker --config-file stryker-twilio.json --skip-version-check --verbosity trace
dotnet-stryker --config-file stryker-notify.json --skip-version-check --verbosity trace
dotnet-stryker --config-file stryker-cli.json --skip-version-check --verbosity trace

Each log begins with:

Unhandled exception. NuGet.Configuration.NuGetConfigurationException: Failed to read NuGet.Config due to unauthorized access. Path: 'C:\Users\fives\AppData\Roaming\NuGet\NuGet.Config'.
 ---> System.UnauthorizedAccessException: Access to the path 'C:\Users\fives\AppData\Roaming\NuGet\NuGet.Config' is denied.

Each log ends with:

   at Stryker.CLI.Program.Main(String[] args) in /_/src/Stryker.CLI/Stryker.CLI/Program.cs:line 27
   at Stryker.CLI.Program.<Main>(String[] args)
exit=-532462766

Files: artifacts/r2-stryker-core.log, artifacts/r2-stryker-twilio.log, artifacts/r2-stryker-notify.log, artifacts/r2-stryker-cli.log. All fail during startup, before Buildalyzer analysis. Therefore the original "Failed to analyze project builds" root cause and all four mutation scores remain unverified. No permission bypass, user configuration edit or speculative solution-path change was made. Clahadore must rerun all gates outside this blocker.

CI policy smoke receipts (synthetic inputs, not producer contract verification)

Invoked ci/Assert-TestResults.ps1 and ci/Assert-DependencyScan.ps1 on local synthetic counter/advisory data. Actual output:

Test gate passed: 2 discovered tests across 1 result files.
Expected rejection: Test gate failed: zero discovered tests in tests.trx.
Dependency gate passed: no High or Critical advisories in completed report.
Expected rejection: Dependency gate failed: fixture 1.0 High.
Expected rejection: Dependency gate failed: fixture 1.0 Critical.

These prove policy branches only. A verbatim vulnerability-report producer fixture, live advisory retrieval, scanner runs, CI execution and branch protection remain unverified. PowerShell is used for CI command/output orchestration; product changes remain C#. No commits, pushes, secrets, external configuration writes or live calls.

Compiled CLI usage receipt

Ran built src/Forge.Approvals.Cli/bin/Debug/net10.0/forge-approve.dll through hidden dotnet child processes with Approvals__Enabled removed from the child environment, then set to true. Actual artifacts/r2-cli-usage.log output:

command=forge-approve doctor; Approvals__Enabled=<unset>; exit=0
approvals disabled; configuration incomplete
command=forge-approve request; Approvals__Enabled=<unset>; exit=10
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
disabled
command=forge-approve status; Approvals__Enabled=<unset>; exit=10
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
disabled
command=forge-approve verify; Approvals__Enabled=<unset>; exit=10
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
approvals disabled
command=forge-approve doctor; Approvals__Enabled=true; exit=1
approvals enabled; configuration incomplete
command=forge-approve request; Approvals__Enabled=true; exit=1
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
ProviderUnavailable
command=forge-approve status; Approvals__Enabled=true; exit=1
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
ProviderUnavailable
command=forge-approve verify; Approvals__Enabled=true; exit=1
ADVISORY ONLY: this command never authorizes an effect; only the executor can consume approval.
ProviderUnavailable

Twilio/Notify ProjectReferences were also removed from the CLI project; the final build/test gate must run after that project-file edit.