Commit 38dab2d
committed
fix(merge): resolve lv↔main semantic conflicts surfaced by the build
Post-merge coherence fixes the conflict-marker resolution alone didn't catch
(only the full build/test gate did):
- hooks.py: post_tool_use_hook had a DUPLICATE stuck_guard kwarg + a duplicated
K7 docstring/record_tool_result block (both sides added stuck_guard to the same
signature; git kept both → SyntaxError 'duplicate argument', and the guard was
fed twice per tool call). Collapsed to one stuck_guard param + one record block.
- pipeline.py: restored 'import subprocess' (main's #623 dropped it when it removed
the git-config subprocess calls, but lv's A6 code_changed block still calls
subprocess.run → would NameError at runtime). Also the linter's import-order fix.
- test_pipeline.py: main's test_git_identity_uses_env_vars_not_global_config mocked
verify_build/verify_lint with a bare bool, but the resolved source keeps lv's
VerifyOutcome shape (build_outcome.passed) → AttributeError. Fixed both mocks to
VerifyOutcome(passed=True), matching every other lv pipeline test.
Gates green after: cdk 3207 tests + synth + eslint; agent 1374 tests + ruff + ty
(under AGENT_SESSION_ROLE_ARN set — no ECS hang).1 parent c0bb849 commit 38dab2d
3 files changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | 1073 | | |
1079 | 1074 | | |
1080 | 1075 | | |
| |||
1109 | 1104 | | |
1110 | 1105 | | |
1111 | 1106 | | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | 1107 | | |
1121 | 1108 | | |
1122 | 1109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments