Skip to content

feat(hooks): complete related test runners - #55

Merged
furedea merged 6 commits into
feat/own-personal-agent-sourcefrom
feat/complete-related-test-hooks
Aug 29, 2026
Merged

furedea merged 6 commits into
feat/own-personal-agent-sourcefrom
feat/complete-related-test-hooks

Conversation

@furedea

@furedea furedea commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • run the full Rust test suite when no related integration test exists
  • detect Vitest, Jest, Node test runner, or package test scripts for JavaScript and TypeScript
  • run the related-test gate from the Codex Stop hook

Verification

  • bats tests/agents/hooks/claude/run_related_tests.bats tests/agents/hooks/claude/related_test_rules.bats tests/nix/agent_hooks.bats
  • shellcheck agents/hooks/run_related_tests.sh
  • shfmt -i 2 -ci -d agents/hooks/run_related_tests.sh
  • dprint check for the changed JSON files

Copilot AI lite review requested due to automatic review settings August 29, 2026 06:05

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@furedea
furedea merged commit ae616ff into feat/own-personal-agent-source Aug 29, 2026
11 checks passed
@furedea
furedea deleted the feat/complete-related-test-hooks branch August 29, 2026 09:11
furedea added a commit that referenced this pull request Nov 1, 2026
## 概要

`agent-config` の flake input のみを更新します.`flake.lock` の差分はこの input の 3
行だけで,他の input は変更していません.

- `agent-config`: `764374f`(2026-10-28)→ `4b3a35c`(2026-11-01)

含まれる agent-config の PR:

- #55: agent-harness 0.9.9
- #56: `typescript-style` と `go-style` の skill を追加
- #57: Go の整形,stop-time の `go test`,Go の permissions
- #58: sandbox に Go のキャッシュと module host を追加,TypeScript の
`.mts/.cts/.mjs/.cjs` を routing

## 検証

`switch` は実行せず,ビルドのみ行いました.

- `nix build
.#checks.aarch64-darwin.{home-configuration,host-configuration,agent-codex-rendered-config,agent-claude-rendered-settings}`
が成功
- レンダリング済み Claude 設定に `~/go/pkg/mod` と `~/Library/Caches/go-build`,および
`proxy.golang.org` と `sum.golang.org` が含まれることを確認
- `permissions.allow` に `Bash(go build:*)`,`Bash(go test:*)`,`Bash(go
mod download:*)`,`Bash(golangci-lint run:*)`,`Bash(govulncheck:*)` などの
Go 関連 permission が含まれることを確認
- レンダリング済みの skills に `go-style` と `typescript-style` が含まれることを確認

## マージ後の手順

`darwin-rebuild switch --flake .#<host>` を実行して,設定を反映してください.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.

2 participants