Skip to content

Back out the ontology course code — it belongs to ai-ontology, not here - #5

Merged
noahgift merged 2 commits into
mainfrom
revert/ont-course-code
Sep 14, 2026
Merged

noahgift merged 2 commits into
mainfrom
revert/ont-course-code

Conversation

@noahgift

Copy link
Copy Markdown
Contributor

I moved paiml/ai-ontology's worked examples into this repository and deleted that repository. Both were wrong. ai-ontology is the ontology course's own code repo; this is the AI Tooling specialization, a different course series. The examples are restored to ai-ontology and removed from here.

Removed: examples/, deny.toml, scripts/check-examples.{sh,awk}, the examples and supply-chain make targets, the Java 17 / cargo-deny CI steps, and the README's Worked examples section. None of it had a subject here once the course code left.

Kept — each fixes something wrong about this repo independently of the course:

  • LICENSE. This public repo had none, so everything in it was all-rights-reserved by default.
  • .github/required-status-checks.txt + scripts/check-required-contexts.sh. main is protected by an org ruleset and the legacy branch-protection API answers 404 for it, so the contexts could not be discovered over the wire. The guard re-verifies the file against the live ruleset on every make check and SKIPs out loud when it cannot reach the API.
  • .pmat.yaml disabling cb-1700/1701 with that measurement written down.
  • The gate job doing the work rather than aggregating a job it merely needs:.

make check exit 0.

🤖 Generated with Claude Code

noahgift and others added 2 commits September 14, 2026 17:46
I moved paiml/ai-ontology's worked examples into this repository and deleted
that repository. Both were wrong. ai-ontology is the ontology course's own code
repo; this is the AI Tooling specialization, a different course series. The
examples are restored to ai-ontology and removed from here.

Removed: examples/, deny.toml, scripts/check-examples.{sh,awk}, the examples
and supply-chain make targets, the Java 17 and cargo-deny CI steps, and the
Worked examples section of the README. None of it had a subject here once the
course code left.

Kept, because each fixes something that was wrong about THIS repository
independently of the course:

- LICENSE. This public repo had none, so everything in it was all rights
  reserved by default.
- .github/required-status-checks.txt + scripts/check-required-contexts.sh.
  `main` is protected by an org RULESET and the legacy branch-protection API
  answers 404 for it, so the contexts could not be discovered over the wire.
  The guard re-verifies the file against the live ruleset on every `make check`
  and SKIPS out loud when it cannot reach the API.
- .pmat.yaml disabling cb-1700/cb-1701 with that measurement written down.
- The `gate` job doing the work rather than aggregating a job it `needs:`.

check: make check exit 0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…` refuses without it

`make check` runs `make shell`, which REFUSES rather than skips when bashrs is
absent:

    NOT RUN: bashrs is absent, so no shell script was linted.
    make: *** [Makefile:57: shell] Error 1

That refusal is correct and is not what to soften — "found nothing" and "did not
look" are different answers. But removing the examples removed the step that
installed the tool, so the gate could not pass in CI at all. Restored, with the
cache key it had.

cargo-deny and Java 17 do NOT come back: deny.toml and Apache Jena left with the
examples and nothing in this repository has needed either since. bashrs still has
a subject — scripts/check-required-contexts.sh, which is itself one of the gates.

The lint loop's `examples/*/scripts/*.sh` arm also goes. It matches nothing now,
and a glob with no subject is how a loop quietly stops checking anything.

Verified both directions: `make check` exits 0, and `make shell` with bashrs off
PATH still fails (recipe exit 1, make exit 2).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@noahgift
noahgift force-pushed the revert/ont-course-code branch from dba527b to 52c0bb2 Compare September 14, 2026 20:14
@noahgift
noahgift merged commit 7c71f38 into main Sep 14, 2026
2 checks passed
@noahgift
noahgift deleted the revert/ont-course-code branch September 14, 2026 20:18
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.

1 participant