Skip to content
Merged
Changes from all commits
Commits
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
37 changes: 14 additions & 23 deletions .github/actions/semantic-audit-check/action.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
name: 'Semantic Audit Gate'
description: 'AI-powered semantic check of descriptiles, contractiles, bot_directives, anchors, and CLAUDE.md'
runs:
using: 'composite'
steps:
- name: Run Semantic Audit via cicd-squabbler
shell: bash
run: |
echo "Initiating AI-Powered Semantic Audit..."
# In the future, this calls cicd-squabbler or hypatia-scan to evaluate content semantics

echo "Checking descriptiles for contradictions and Oxford English Dictionary spelling/grammar..."
echo "(Exceptions allowed for exact legal strings e.g. LICENSE)."

echo "Checking contractiles for completeness..."
echo "Checking bot_directives for compliance..."
echo "Parsing anchor files to ensure closing gap..."
echo "Validating CLAUDE.md..."

# Placeholder for actual invocation
# cicd-squabbler audit --semantic --repo . --grammar-check=OED

echo "Semantic Audit Passed."
{
name: "Semantic Audit Gate (not implemented: fails closed)",
description: "Placeholder for a semantic audit of descriptiles, contractiles, bot_directives, anchors and CLAUDE.md. No audit is implemented, so this action fails rather than reporting a pass it has not earned.",
runs: {
using: "composite",
steps: [
{
name: "Refuse: semantic audit is not implemented",
shell: "bash",
run: "echo \"::error title=semantic-audit-check::not implemented. No semantic audit exists yet (cicd-squabbler has no audit subcommand and no pinned artifact), so this gate fails closed instead of printing a pass.\"\nexit 1\n",
},
],
},
}
Loading