Skip to content

chore(ci): compatible pin refresh + observability + attest - #220

Merged
cryptoxdog merged 5 commits into
mainfrom
chore/nugget-ci-repair
Aug 21, 2026
Merged

chore(ci): compatible pin refresh + observability + attest#220
cryptoxdog merged 5 commits into
mainfrom
chore/nugget-ci-repair

Conversation

@cryptoxdog

Copy link
Copy Markdown
Collaborator

Summary

Replacement for the broken 3-stack (#217#219). One PR against main so Baseline Ratchet actually runs.

  • Pin l9-ci-core callers to 0d28395428426853c44825c4645c23ee8ace23b1
  • sdk-revision is the compatible default b1a491414ed04bb18d665f8a8755de80947c8200 (not 0779fca, which ratchet rejects)
  • upload-artifact v7.0.1 (hash-pinned in l9-analysis.yml)
  • attest-build-provenance v4.2.2 (4d101475d8b20a2381f78447822ac1eab6504dd8)
  • Observability: structlog 26.1.0 + prometheus-client 0.26.0 in Poetry and requirements.txt (<27.0.0) so Docker/pip can install
  • SPDX Dual-license strings appended even when repo var ALLOWED_LICENSES is set (that var currently omits Apache-2.0 AND MIT / Apache-2.0 AND BSD-2-Clause)

Closes #217 #218 #219 after this URL exists (comments + close follow).

Does not change engine/handlers.py. query_id is already on origin/main; Lint and Test is green there.

Test plan

Made with Cursor

cryptoxdog and others added 4 commits August 21, 2026 11:19
Replace the overlapping #212/#213/#215/#216 siblings with a single
bottom-of-stack commit: l9-ci-core pins to 0d28395, upload-artifact
v7.0.1, and SPDX AND expressions on the license allow-list fallback
so the observability layer can pass Dependency Review.

Co-authored-by: Cursor <cursoragent@cursor.com>
structlog 26.1.0 and prometheus-client 0.26.0 from #211. Lands on
chore/stack-ci-pins so the SPDX AND allow-list is already present.

Co-authored-by: Cursor <cursoragent@cursor.com>
Independent docker-build.yml change from #214, stacked on the
observability layer so the three PRs merge oldest-first without
file fights.

Co-authored-by: Cursor <cursoragent@cursor.com>
Baseline ratchet at l9-ci-core@0d28395 only lists b1a49141. Repo
ALLOWED_LICENSES would drop Dual-license compounds from a fallback.
Widen Docker/pip structlog to match Poetry 26.1.0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

PR reviewable size is within recommended limits

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

L9 Audit Harness Report

  • Generated: 2026-08-21T15:22:45.414892+00:00
  • Repo root: /home/runner/work/Cognitive.Engine.Graphs/Cognitive.Engine.Graphs
  • Overall result: ✅ PASSED
  • Exit code: 0

Step Results

Step Status Exit Code Notes
Architecture Audit ✅ Passed 0
Spec Coverage ✅ Passed 0
Contract Wiring ✅ Passed 0

Architecture Audit Findings

Severity Count
🔴 CRITICAL 0
🟠 HIGH 0
🟡 MEDIUM 25
🔵 LOW 0

See artifacts/audit_report.md for full details.

Spec Coverage

  • ✅ Implemented: 37
  • ⚠️ Partial: 9
  • ❌ Missing: 0
  • Total features: 46
Category Implemented Partial Missing Total
gates 10 0 0 10
scoring 7 0 0 7
v1.1_node 2 0 0 2
v1.1_edge 2 0 0 2
v1.1_action 0 2 0 2
v1.1_scoring 1 1 0 2
action_handler 0 6 0 6
gds_algorithm 5 0 0 5
research_pattern 10 0 0 10

See artifacts/coverage_report.md for full details.

Next Steps

All checks passed. Safe to merge.

@github-actions

Copy link
Copy Markdown

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ❌ 3 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

poetry.lock

PackageVersionLicenseIssue Type
prometheus-client0.26.0Apache-2.0 AND BSD-2-ClauseIncompatible License
structlog26.1.0Apache-2.0 AND MITIncompatible License

.github/workflows/supply-chain.yml

PackageVersionLicenseIssue Type
actions/upload-artifact7.0.1MITIncompatible License

requirements.txt

PackageVersionLicenseIssue Type
structlog>= 25.5.0,< 27.0.0NullUnknown License
Allowed Licenses: MIT, Apache-2.0, BSD-3-Clause, BSD-2-Clause, ISC, Apache-2.0 AND MIT, Apache-2.0 AND BSD-2-Clause

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/upload-artifact 7.0.1 🟢 4.5
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Pinned-Dependencies⚠️ -1no dependencies found
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Security-Policy⚠️ 0security policy file not detected
SAST🟢 10SAST tool is run on all commits
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
pip/prometheus-client 0.26.0 UnknownUnknown
pip/structlog 26.1.0 UnknownUnknown
pip/structlog >= 25.5.0,< 27.0.0 UnknownUnknown

Scanned Files

  • .github/workflows/supply-chain.yml
  • poetry.lock
  • requirements.txt

Comment thread .github/workflows/audit.yml Fixed
Comment thread .github/workflows/supply-chain.yml Fixed
Comment thread .github/workflows/supply-chain.yml Fixed
SPDX AND strings in allow-licenses did not match package Dual licenses
and broke MIT matching for upload-artifact. Allow structlog and
prometheus-client by purl; pin upload-artifact to v7.0.1 by hash.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

@cryptoxdog
cryptoxdog merged commit 37f5acf into main Aug 21, 2026
51 checks passed
@cryptoxdog
cryptoxdog deleted the chore/nugget-ci-repair branch August 21, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants