Skip to content

Run AI evals on PRs and fix doc links - #3

Merged
kfinkels merged 22 commits into
mainfrom
eval_github_actions
Feb 24, 2026
Merged

kfinkels merged 22 commits into
mainfrom
eval_github_actions

Conversation

@kfinkels

Copy link
Copy Markdown
Collaborator

Summary

  • Add pull_request trigger to eval workflow (previously manual-only)
  • Fix broken link to deleted AI-EVALS-WORKPLAN.md in EVAL.md
  • Fix incorrect relative path in WORKFLOWS.md

@github-actions

github-actions Bot commented Jan 20, 2026 •

Copy link
Copy Markdown

⚠️ No evaluation results found

Keren Finkelstein added 12 commits January 20, 2026 13:00
2. Rate limiting protection - run tests sequentially with delay
…tarting with 思考: (Chinese)

3. Only keep the actual spec/plan content for assertion checks
…on level where they were appearing, rather than only mentioning them in the general constraints section at the bottom.
…on level where they were appearing, rather than only mentioning them in the general constraints section at the bottom.
…on level where they were appearing, rather than only mentioning them in the general constraints section at the bottom.
@github-actions

Copy link
Copy Markdown

⚠️ No evaluation results found

@github-actions

github-actions Bot commented Feb 16, 2026 •

Copy link
Copy Markdown

⚠️ No evaluation results found

@github-actions

github-actions Bot commented Feb 19, 2026 •

Copy link
Copy Markdown

📊 Eval Results

Overall: 10/25 tests passed (40%)

Metric Value
✅ Passed 10
❌ Failed 15
📈 Pass Rate 40%
🪙 Total Tokens 84,086
💾 Cached Tokens 0

❌ Failed Tests

  • Unknown (score: 0.89)
  • Unknown (score: 0.83)
  • Unknown (score: 0.80)
  • Unknown (score: 0.80)
  • Unknown (score: 0.83)
  • Unknown (score: 0.80)
  • Unknown (score: 0.78)
  • Unknown (score: 0.83)
  • Unknown (score: 0.80)
  • Unknown (score: 0.89)
  • Unknown (score: 0.57)
  • Unknown (score: 0.83)
  • Unknown (score: 0.83)
  • Unknown (score: 0.88)
  • Unknown (score: 0.80)

⚠️ Quality thresholds not met (target: 85%). Please review failures.

@kfinkels
kfinkels merged commit 4007491 into main Feb 24, 2026
2 checks passed
kanfil pushed a commit that referenced this pull request Apr 15, 2026
kanfil added a commit that referenced this pull request Jul 27, 2026
Address Copilot review findings on native-config merge and teardown:

- #9: _has_marker now recurses into nested 'hooks' arrays so a matcher-group
  containing Specify-owned inner hooks is recognized and replaced on upgrade
  instead of accumulating duplicates.
- #11: _merge_json_fragment strips ALL Specify-marked entries from every event
  before adding the new set, so an override that drops an event (pre_tool_use
  -> stop) removes the stale marked entry instead of leaving it active.
- #3: an empty resolved map (--events false / disabled override) now runs the
  native-config removal path instead of early-returning, so prior Specify
  hooks are stripped. The shared dispatcher is left untouched (#10).
- #14: teardown deletes a Spec-Kit-created config that is now empty of user
  content (rather than leaving '{}' that confused manifest.uninstall()),
  while preserving pre-existing configs with user hooks/settings.
- #10: the shared .specify/events.py dispatcher is deleted only when no other
  installed event-capable integration's manifest still references it, so
  uninstalling one multi-install integration doesn't break the others.
- #8: Copilot's .github/hooks/speckit.json now merges owned entries (with
  markers) into a pre-existing file instead of overwriting, and teardown
  removes only owned entries (deleting the file when no user hooks remain).
- #22/#23: JSON/JSONC parse failures in native configs (Claude/Cursor/etc.
  and opencode.json) abort the merge with a warning instead of resetting user
  content to '{}'.
- #12: write destinations are validated (symlinked-ancestor rejection +
  containment) before any bytes are written, so a symlinked .specify or
  native config directory can't redirect writes outside the repository.

Refs: PR github#3704 Copilot inline review (findings #3, #8, #9, #10, #11, #12, #14, #22, #23)

Assisted-by: opencode (model: glm-5.2, autonomous)
kanfil added a commit that referenced this pull request Jul 29, 2026
…nlinks

Address Copilot review findings (inline #1, suppressed #2, #3):

- Guard all removers (_remove_json_entries, _remove_copilot_entries,
  _remove_json_root_entries, _remove_opencode_entries, _remove_native_event_hooks),
  _cleanup_shared_dispatcher, and remove_integration_events with
  _ensure_safe_destination(dst) before reading, rewriting, or unlinking.
- Prevents teardown or removal operations from overwriting or unlinking external
  files if a config file, plugin path, or .specify directory is replaced with
  a symlink post-installation.

Tests: added unit tests in TestSafeWriteDestination covering JSON config,
OpenCode plugin, and TOML teardown symlink rejection.

Refs: PR github#3704 Copilot review (findings inline #1, suppressed #2, #3)

Assisted-by: opencode (model: glm-5.2, autonomous)
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