Skip to content

Merge develop→main: GT-516 HXA-03 native fallback + GT-535 skill kind-routing (review follow-ups)#189

Merged
beyondnetPeru merged 2 commits into
mainfrom
develop
Jul 14, 2026
Merged

Merge develop→main: GT-516 HXA-03 native fallback + GT-535 skill kind-routing (review follow-ups)#189
beyondnetPeru merged 2 commits into
mainfrom
develop

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Two review-follow-up fixes that landed on develop after PR #188, plus the GT-451 CLI prepack hygiene:

Both follow-ups were flagged during the PR #183 review and fixed in separate sessions; all required checks pass on develop.

🤖 Generated with Claude Code

beyondnetPeru and others added 2 commits July 13, 2026 21:41
…GT-516) (#185)

HXA-03 ("Infrastructure IMPLEMENTS Core ports") is a POSITIVE/structural
assertion. dependency-cruiser is a forbidden-dependency tool and cannot
verify a positive "X implements Y" claim, so an enforce block routing HXA-03
through it is semantically wrong: it can only ever degrade to a native
fallback or, with a from/to config, emit false positives. Per GT-516's own
design (and closure note), HXA-03 takes the documented per-rule NATIVE
path rather than an enforce block (HXA-06 keeps its enforce block, which
already degrades to a native fallback).

- Remove the enforce block from HXA-03 so it evaluates on the NativeEvaluator
  path.
- Update the ADR-0002 pilot test: enforcer-routed = HXA-01/02/04/05/06/07 (6);
  compiled = HXA-01/02/04/05/07 (5, unchanged); fallback = HXA-06 (1).

Low-risk: GT-516's real cross-runtime execution is GT-512-gated, so nothing
runs this enforce block live yet. Verified core-domain green (npx tsc &&
npx jest: 1018 passing) on this exact change.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…ence' kind (GT-535) (#184)

The `code-quality-structural-review` skill declared `evaluationKinds:
['code-quality']`, but 'code-quality' is a quality-signal DIMENSION (the tag on
the Evidence StructuralReviewProvider emits), NOT a member of the core-domain
`EvaluationKind` union. `buildEvaluationContext` filters declared kinds against a
KNOWN_KINDS allowlist, so 'code-quality' was silently dropped and the context
fell back to `['gate']` — the skill was declared but never routed as the
quality-signal evaluation it is, leaving the GT-535 provider unreachable.

Fix (map onto an existing supported kind, not forge a phantom one):
- default-skills.ts: `evaluationKinds: ['code-quality']` -> `['evidence']`, the
  canonical kind for declared quality-signal Evidence (ADR-0111 / GT-533). The
  'code-quality' dimension stays where it belongs — on the emitted Evidence.
- context-mapper.ts: sync the KNOWN_KINDS allowlist to the full canonical
  `EvaluationKind` union (add 'design', 'phase-artifacts') with a maintenance
  note, so the same "declared-but-dropped" class can't recur for those kinds.
- structural-review.spec.ts: add a routing guard proving the skill forwards
  'evidence' through buildEvaluationContext (not the 'gate' fallback), and that a
  dimension-shaped kind still collapses to ['gate'].

Kind routing only; the concrete IStructuralReviewer LLM adapter is a separate
follow-on. agent-runtime jest green (17 suites / 121 tests), tsc --noEmit clean.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

📊 Bilingual Coverage Impact

PR Changes

  • Paired EN/ES files modified: 0
  • New EN files needing ES translation: 0

Repository Coverage

Metric Value
Total EN files 545
Total ES files 508
Paired files 0
Coverage 0%

Good: All EN changes have ES counterparts.


Generated by GitHub Actions

@beyondnetPeru beyondnetPeru merged commit 001e1aa into main Jul 14, 2026
21 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4fc4ad04e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"toolRuleId": "hxa-03-infra-implements-ports",
"runtime": "node"
}
"layer": "Infrastructure"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add native HXA-03 coverage before dropping enforcement

When ADR-0002 is evaluated through the Native/Composite engine, HXA-03 now has no enforce block, so it is routed to NativeEvaluator; however, I checked ArchitectureRuleHandler/STRUCTURAL_CATEGORIES and layer-structure is not handled, and a repo-wide search shows no native HXA-03 implementation. Skipped native results are filtered out of validation issues, so a satellite whose infrastructure does not implement Core ports can pass without any blocking finding. Please add the native HXA-03 logic (or keep an actually evaluated fallback path) before removing this enforcement block.

Useful? React with 👍 / 👎.

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