Why
The consumer-managed paths manifest in stranske/Workflows/renovate-presets/consumer-managed-paths.json
owns tools/llm_provider.py, tools/langchain_client.py, and the relevant scripts/langchain/*
files synced into TMP. Current source still overwrites explicit tracing preference, dynamically
imports re, permits label prefix false positives, always synthesizes the progress-review payload,
and silently clamps structured-output repair attempts. scripts/ci_cosmetic_repair.py also retains
naive UTC. Fixing only TMP would be overwritten by sync.
Scope
Correct these contracts in stranske/Workflows, add source tests, and propagate them through the
normal consumer sync path.
Non-Goals
Do not patch consumer copies directly or change provider/model selection policy. Do not increase LLM
repair retries without an explicit bounded policy. Scaffold-only completion does not count: source
changes without source tests and consumer-sync evidence fail this issue.
Tasks
Acceptance Criteria
Implementation Notes
File this in stranske/Workflows, not Trend_Model_Project. Use the repository's source-first sync
process and its own issue-format validator immediately before filing.
Why
The consumer-managed paths manifest in
stranske/Workflows/renovate-presets/consumer-managed-paths.jsonowns
tools/llm_provider.py,tools/langchain_client.py, and the relevantscripts/langchain/*files synced into TMP. Current source still overwrites explicit tracing preference, dynamically
imports
re, permits label prefix false positives, always synthesizes the progress-review payload,and silently clamps structured-output repair attempts.
scripts/ci_cosmetic_repair.pyalso retainsnaive UTC. Fixing only TMP would be overwritten by sync.
Scope
Correct these contracts in
stranske/Workflows, add source tests, and propagate them through thenormal consumer sync path.
Non-Goals
Do not patch consumer copies directly or change provider/model selection policy. Do not increase LLM
repair retries without an explicit bounded policy. Scaffold-only completion does not count: source
changes without source tests and consumer-sync evidence fail this issue.
Tasks
tools/llm_provider.py, preserve an explicitLANGCHAIN_TRACING_V2value instead of overwriting it when a LangSmith key exists; add cases totests/tools/test_llm_provider.py.__import__("re")intools/langchain_client.pywith the normal module import and retain reasoning-model tests intests/tools/test_langchain_client.py.scripts/langchain/label_matcher.pywith explicit token/alias rules and adddoctorversusdocregression coverage.progress_reviewer.build_review_payloadunconditional or add a real optionalreviewfield, and makestructured_output.max_repair_attemptshonor an explicit bounded policy rather than silently clamp to one.scripts/ci_cosmetic_repair.pyand add/adjust source-owned tests.gh workflow run maint-68-sync-consumer-repos.yml --repo stranske/Workflows, then usescripts/check_consumer_sync_drift.pyto verify the exact source changes reachTrend_Model_Projectwithout consumer-local edits.Acceptance Criteria
llm_provider,langchain_client, label matching, progress review, structured output, and cosmetic repair pass with named non-zero collections.LANGCHAIN_TRACING_V2=falseremains false,doctordoes not matchdoc, and requested repair-attempt policy is either honored or rejected explicitly rather than silently truncated.LANGCHAIN_TRACING_V2=true; the named source test must fail, then revert the edit.Implementation Notes
File this in
stranske/Workflows, not Trend_Model_Project. Use the repository's source-first syncprocess and its own issue-format validator immediately before filing.