Skip to content

test(t280): run ontology integration in CI - #71

Merged
MSD21091969 merged 2 commits into
masterfrom
wolfram/t280-a5c-t6
Aug 8, 2026
Merged

test(t280): run ontology integration in CI#71
MSD21091969 merged 2 commits into
masterfrom
wolfram/t280-a5c-t6

Conversation

@MSD21091969

Copy link
Copy Markdown
Collaborator

Summary

  • make MOOS_ONTOLOGY_PATH the authoritative real-ontology test input with local sibling checkout fallback
  • add a dedicated Actions job that checks out private ffs0 via FFS0_READ_TOKEN and runs MOOS_INTEGRATION=1 go test ./...
  • pin the D10 widened-governs state: agent governance links coexist with the superadmin grant without order-dependent capability resolution

Validation

  • MOOS_INTEGRATION=1 MOOS_ONTOLOGY_PATH=<ffs0 ontology> go test ./internal/operad
  • go test ./internal/operad
  • go vet ./internal/operad
  • git diff --check

The local full go test ./... reproduced the existing Windows stall and was stopped. The Linux Actions jobs are the full-suite authority. The ontology-integration check is intentionally not a required ruleset check until G9.

Coordination: Collider-Data-Systems/ffs0#178 · lane brief Collider-Data-Systems/ffs0#187.

authored-by: agent:vscode.hp-laptop.wolfram / session:sam.kernel-proper / t280-a5c-t6

Resolve real-ontology tests through MOOS_ONTOLOGY_PATH, add the private ffs0 checkout job, and pin the D10 widened-governs occupancy case.

Validation: MOOS_INTEGRATION=1 go test ./internal/operad; go test ./internal/operad; go vet ./internal/operad

authored-by: agent:vscode.hp-laptop.wolfram / session:sam.kernel-proper / t280-a5c-t6
Copilot AI lite review requested due to automatic review settings August 8, 2026 18:53
Emit an explicit warning when FFS0_READ_TOKEN is unavailable and run the real-ontology integration suite automatically once the read-only secret is provisioned.
@MSD21091969

Copy link
Copy Markdown
Collaborator Author

A5c credential readback: the first ontology-integration run reached Actions but failed at private ffs0 checkout because FFS0_READ_TOKEN is not configured for this repository.

Head 17132dc now reports that absence as an explicit Actions warning and skips only the credential-dependent steps. Once a read-only token with access to Collider-Data-Systems/ffs0 is provisioned under that exact secret name, the same job automatically runs MOOS_INTEGRATION=1 go test ./... with MOOS_ONTOLOGY_PATH pointed at the sparse checkout.

Do not read the credential-gated job as integration-green until the warning is absent and the test step executes. Local real-ontology validation passed against 4.0.5: go test ./internal/operad.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit “real ontology” integration lane to validate the operad loader and governance/admin-capability assumptions against the private ffs0 ontology, while keeping default go test ./... hermetic.

Changes:

  • Centralize integration ontology path resolution via MOOS_ONTOLOGY_PATH with a sibling-checkout fallback for local runs.
  • Add a Go test that pins admin-capability behavior when the WF02 “governs” set widens (agent governance links alongside superadmin).
  • Add a dedicated GitHub Actions job that checks out ffs0 (via FFS0_READ_TOKEN) and runs MOOS_INTEGRATION=1 go test ./....

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/operad/integration_ontology_test.go Introduces integrationOntologyPath(t) helper to standardize integration ontology resolution.
internal/operad/validate_color_gate_test.go Switches integration test to use integrationOntologyPath(t) instead of ad-hoc sibling probing.
internal/operad/member_of_pair_test.go Switches integration test to use integrationOntologyPath(t) for the real ontology path.
internal/operad/loader_port_pairs_test.go Switches integration test to use integrationOntologyPath(t) for the real ontology path.
internal/operad/occupancy_test.go Adds regression coverage for admin capability when additional WF02 governs links exist.
.github/workflows/go-ci.yml Adds ontology-integration CI job that runs the full suite against ffs0’s ontology.json.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +33 to +54
ontology-integration:
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout private ontology source
uses: actions/checkout@v4
with:
repository: Collider-Data-Systems/ffs0
path: ffs0
token: ${{ secrets.FFS0_READ_TOKEN }}
sparse-checkout: kb/superset/ontology.json
sparse-checkout-cone-mode: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Test with real ontology
env:
MOOS_INTEGRATION: "1"
MOOS_ONTOLOGY_PATH: ${{ github.workspace }}/ffs0/kb/superset/ontology.json
run: go test ./...
@MSD21091969
MSD21091969 merged commit f12cb1b into master Aug 8, 2026
3 checks passed
@MSD21091969
MSD21091969 deleted the wolfram/t280-a5c-t6 branch August 8, 2026 19:15
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