Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
tests/test_readme_refresh_push.bats \
tests/test_validate_personas.bats \
tests/test_validate_interaction_contracts.bats \
tests/test_validate_interaction_model.bats \
tests/verify_persona_teams.bats \
tests/persona_runner.bats \
tests/test_dev_lead_concurrency_guard.bats \
Expand Down Expand Up @@ -204,7 +205,7 @@
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# NOTE: persist-credentials is intentionally left at the default (true) —

Check warning on line 208 in .github/workflows/lint.yml

View workflow job for this annotation

GitHub Actions / Lint

208:9 [comments-indentation] comment not indented like content
# vci_resolve_reusable needs `git fetch origin` to authenticate against this
# private repo when resolving same-repo channel tags. Setting
# persist-credentials: false would silently push every such caller into the
Expand Down Expand Up @@ -349,6 +350,32 @@
- name: Validate interaction contracts
run: python3 interaction-contracts/validate-interaction-contracts.py .

validate-interaction-model:
# Mechanical enforcement (§10) of the agentic interaction model (Story 4 /
# #1406, epic #1402). docs/agentic-interaction-model.md is a NORMATIVE
# repo-local standard: the three trigger classes (§2/§3), the timer contract
# (§6), the GITHUB_TOKEN event-boundary rule + its sanctioned bridges (§5),
# and a machine-checkable §4 classification table. This job cross-checks the
# §4 table against the real workflow on: blocks (both misclassification
# directions + dangling rows + bidirectional completeness), that every
# Class-2 backstop declares a valid timer_role, and that each role's
# interaction contract (personas/<id>/interaction.yml,
# interaction-contracts/*.yml) mirrors its workflows' triggers and declares an
# idempotency_key + concurrency_lane — surfacing drift and unsafe agent→agent
# chains at PR time instead of as post-merge runaways. Fully HERMETIC (reads
# in-repo files only, no schema fetch / no network), like
# validate-interaction-contracts. PR-triggered on the existing Lint workflow —
# no new cron/scheduled workload.
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Validate the agentic interaction model
run: bash scripts/validate-interaction-model.sh

verify-persona-teams:
# LIVE persona addressing-team check (#1280). The hermetic validate-personas.py
# (and its hermetic bats suite) verifies the handle SHAPE — the team slug ==
Expand Down
Loading
Loading