Skip to content

chore(signals): support specifying harness for implementation tasks - #69833

Merged
joshsny merged 2 commits into
masterfrom
signals/add-implementation-harness
Jul 9, 2026
Merged

chore(signals): support specifying harness for implementation tasks#69833
joshsny merged 2 commits into
masterfrom
signals/add-implementation-harness

Conversation

@joshsny

@joshsny joshsny commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Support specifying harness, model and reasoning effort for implementation tasks.

Copilot AI review requested due to automatic review settings July 9, 2026 21:35
@pr-assigner-resolver-posthog
pr-assigner-resolver-posthog Bot requested a review from a team July 9, 2026 21:35
@joshsny
joshsny enabled auto-merge (squash) July 9, 2026 21:35
@joshsny joshsny added the stamphog Request AI approval (no full review) label Jul 9, 2026
@greptile-apps

greptile-apps Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "add implementation harness" | Re-trigger Greptile

Comment thread products/signals/backend/auto_start.py
Comment thread products/signals/backend/auto_start.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for selecting a specific agent harness (runtime adapter), model, and reasoning effort when auto-starting “implementation” tasks in the Signals product, by resolving per-team runtime settings and threading them into task creation.

Changes:

  • Introduces an implementation step constant for runtime configuration lookup.
  • Resolves the per-team agent runtime for implementation tasks and passes runtime_adapter, model, and reasoning_effort into task creation.
  • Adds a test ensuring the resolved runtime fields are forwarded to tasks_facade.create_and_run_task.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
products/signals/backend/auto_start.py Resolves implementation-step agent runtime and forwards runtime/model/effort into task creation.
products/signals/backend/agent_runtime.py Adds STEP_IMPLEMENTATION constant for runtime resolution by step.
products/signals/backend/test/test_auto_start.py Adds coverage for forwarding resolved runtime fields into task creation calls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread products/signals/backend/auto_start.py

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small, contained addition to the self-driving product's internal agent-runtime config, authored by the owning team, following an existing established pattern (same resolution logic already used for other steps) and covered by a new test; the unresolved bot comments (validation ordering, latency) are enhancement suggestions on a defensive, fail-to-default design, not confirmed correctness or safety bugs.

  • Author wrote 0% of the modified lines and has 33 merged PRs in these paths (familiarity MODERATE).
  • copilot-pull-request-reviewer[bot], greptile-apps[bot] reviewed the current head.
  • Greptile (P1) notes an unvalidated runtime/model/effort combo could be forwarded to the agent server and cause a misconfigured or failed task run — pre-existing pattern reused here, not a new gap, but worth tightening.
  • Greptile (P2) / Copilot flag that resolve_agent_runtime's network read happens before the no-op early-return checks, adding avoidable latency on cheap no-op paths.
Gate mechanics and policy version
Gate Result
prerequisites all clear
deny-list no deny categories matched
size 8L, 2F substantive, 51L/3F incl. docs/generated/snapshots — within ceiling
tier T1-agent / T1b-small (51L, 3F, single-area, chore)
stamphog 2.0.0b3 .stamphog/policy.yml @ f3a2393 · reviewed head 1784c48

@trunk-io

trunk-io Bot commented Jul 9, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@joshsny
joshsny merged commit c006730 into master Jul 9, 2026
228 checks passed
@joshsny
joshsny deleted the signals/add-implementation-harness branch July 9, 2026 22:10
@deployment-status-posthog

deployment-status-posthog Bot commented Jul 9, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-07-09 22:42 UTC Run
prod-us ✅ Deployed 2026-07-09 22:56 UTC Run
prod-eu ✅ Deployed 2026-07-09 23:01 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stamphog Request AI approval (no full review)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants