Repository navigation
Done
Labels
Description
Failed in the daily run on 2026-11-26: https://github.com/Mharbulous/probanda-dev/actions/runs/45887951824
Failing tests:
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='/dyu I want the letter to open with the offer.')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='Use /dyu before you answer, then draft the letter.')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='Draft the letter.')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='Open the file at notes/dyu')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='See skills/dyu/SKILL.md for the rules')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_other_prompts_print_nothing (prompt='')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_the_public_plugin_registers_the_hook
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_the_skill_stays_model_invocable
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='I want the letter to open with the offer, not the history. /dyu')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='Two paragraphs.\n\nThe second one.\n/dyu\n')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='Move the costs table up $dyu')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='Move the costs table up /lawyer:dyu')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='Is that what you meant? /DYU.')
- source/lawyer/tests/test_trailing_dyu.py::TrailingDyuTests::test_trailing_token_loads_the_skill (prompt='/dyu')
Activity
Mharbulous commentedon Nov 26, 2026
Agent Brief
Category: bug — a test reads paths that no longer exist. State: ready-for-agent — one test file changes, and the agent can run that file to check the change. Location: cloud — the change is test-only and runs under Python on Linux. It needs no Windows machine, data, secret or person.
Verification:
source/lawyer/tests/test_trailing_dyu.py. The file buildsSKILL_ROOTandPUBLIC_PLUGIN_JSONunderpublic/plugins/lawyer/. Commit c95be3c (2026-11-26, "Retire the public repository model") deletedpublic/and moved thedyuskill tosource/skills/dyu/, but did not update this test.source/skills/dyu/hooks/trailing-dyu.py, and the build copies it toplugins/lawyer/skills/dyu/hooks/trailing-dyu.py. Run directly in the sandbox, it returns the# DYUcontext for a prompt that ends in the token and prints nothing for a prompt that starts with it. So the hook works, and only the test's paths are stale.source/skills/dyu/SKILL.mdholds the phrase the test asserts on and does not containdisable-model-invocation.source/lawyer/plugin.jsonand the builtplugins/lawyer/.claude-plugin/plugin.jsonboth register${CLAUDE_PLUGIN_ROOT}/skills/dyu/hooks/trailing-dyu.pyunder UserPromptSubmit, next to the docket-clerksession-lane-guard.py. So the old public-only assertion, which required exactly one argument, would fail against the built manifest even with the path corrected.public/.Decisions
plugins/lawyer/.claude-plugin/plugin.json, rename ittest_the_built_plugin_registers_the_hook, and assert membership (assertIn) instead of exact equality, because the built manifest registers two UserPromptSubmit hooks. Rejected: deleting the test, which would leave the built manifest unchecked.Plan
source/lawyer/tests/test_trailing_dyu.py, setSKILL_ROOTtoREPO_ROOT / "source" / "skills" / "dyu", soHOOKandSKILL_MDresolve to the source skill.PUBLIC_PLUGIN_JSONwith the built manifest pathREPO_ROOT / "plugins" / "lawyer" / ".claude-plugin" / "plugin.json". Renametest_the_public_plugin_registers_the_ho·o·kt·o·t·est_the_built_plugin_registers_the_hook, and have it assert thatPLUGIN_HOOK_ARGis among the registered args.Scope
May change:
source/lawyer/tests/test_trailing_dyu.pyonly. Out of bounds: the hook, the skill, both plugin manifests,plugins/, and any version bump, because the plugin's behaviour does not change.Done when
python -m pytest source/lawyer/tests/test_trailing_dyu.py -qpasses.grep -n '"public"' source/lawyer/tests/test_trailing_dyu.pyprints nothing.After landing
skills-python-testsrun on Windows passessource/lawyer/tests.Red tests
source/lawyer/tests/test_trailing_dyu.py, the existing file, which is unchanged onmain, so the repository's hook will not run it. The assertion from the nightly run (actions run 45887951824) counts as red. Every case fails becausepublic/plugins/lawyer/skills/dyu/hooks/trailing-dyu.pyandpublic/plugins/lawyer/.claude-plugin/plugin.jsonno longer exist, for exampleself.assertEqual(result.returncode, 0, result.stderr)intest_trailing_token_loads_the_skill.python -m pytest source/lawyer/tests/test_trailing_dyu.py -qNote
Claude's GitHub safety filter added the
·characters above so that a bot command in this comment does not run automatically. A person who wants it to run can post the command without the·characters.Generated by Claude Code
Point the trailing-dyu test at the source skill and built manifest
Mharbulous commentedon Nov 26, 2026
Landed in 5b994ee:
test_trailing_dyu.pynow reads the hook and SKILL.md fromsource/skills/dyu/, and the renamedtest_the_built_plugin_registers_the_hookchecksplugins/lawyer/.claude-plugin/plugin.jsonwithassertIn.Checks run:
python -m pytest source/lawyer/tests/test_trailing_dyu.py -q: 5 passed, 12 subtests passed.grep -n '"public"' source/lawyer/tests/test_trailing_dyu.py: prints nothing.build_plugin.py --check: every plugin current (no release needed).check_plugin.py: all checks passed.check_layering.py,check_file_ops.py: 0 to fix.check_publishable.py --new-since origin/main: no new problems.Left to CI: the next nightly
skills-python-testsrun on Windows passingsource/lawyer/tests.Generated by Claude Code