mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 19:54:01 +01:00
The gate caught this: test_session_autopsy_hooks reads the DEPLOYED hook under
~/.claude, so repointing that hook to kuhyx/mcp-servers broke an assertion still
expecting `python_pkg.session_autopsy`. Exactly what a deployment-path test is
for — a test against a stale in-repo copy would have stayed green.
The replacement is stronger than what it replaces: it asserts both the new module
path AND that "python_pkg" is absent, so regressing to the old location fails
rather than passing quietly. The mutation checker confirms all 12 tests are still
killed by at least one mutation.
Also adds the evidence/contract artifacts for the extraction. They were written
for 627b9e7 but never committed: that commit was pure deletions, and the
ai-evidence-contract hook does not treat deletions as code changes, so it passed
without them.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
17 lines
1.1 KiB
JSON
17 lines
1.1 KiB
JSON
{
|
|
"title": "Extract session_autopsy and the MCP fleet out of the monorepo",
|
|
"objective": "testsAndMisc carried 12GB of third-party MCP clones and a self-contained analyzer package that has no monorepo dependencies. Both move to kuhyx/mcp-servers. Success is: the SessionEnd hook still ingests transcripts, every registered MCP server still resolves its binary, and no history is lost.",
|
|
"acceptance_criteria": [
|
|
"session_autopsy history preserved via git subtree split, not a copy",
|
|
"SessionEnd hook exercised end to end against a real transcript with an empty error log",
|
|
"All MCP command paths verified to resolve after the move (12 references across 4 config files)",
|
|
"The 12GB of clones is moved and gitignored, never committed; a pinned manifest + setup.sh reconstructs it",
|
|
"testsAndMisc pre-commit gate passes with no --no-verify"
|
|
],
|
|
"out_of_scope": [
|
|
"Rebuilding any MCP server binary",
|
|
"third_party/agent-skills, which is unrelated to MCP and stays"
|
|
],
|
|
"verifier": "bash ~/.claude/hooks/session_autopsy_end.sh against a real transcript; a script asserting every mcpServers command path exists; pre-commit run"
|
|
}
|