Task scoring system needs tuning #4
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
enhancement
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mc-heroes-mod#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TaskScheduler.selectTask() uses raw task.score() values but the scoring weights may need role affinity multipliers, distance penalties, and cooldown checks. Currently picks highest raw score without world-state weighting.
⏸ Needs Decision
What needs to be decided?
blocked:needs-decisionlabel to route back to triage.Blocking factors:
Scope: small Risk: low Spec: partial Type: enhancement
Summary: Task scoring enhancements — role affinity multipliers, distance penalties, and cooldown checks were addressed in M002 but the per-task-per-role multiplier map from the SPEC table and config-driven world-state weighting remain unimplemented.
Suggestion: Close as already-implemented — core asks (distance penalty, capability match, cooldown checks, priority weighting) were added in commit
9ceb01a(M002). If the per-task-per-role multiplier table from SPEC.md is wanted, file a follow-up with the exact multiplier values (e.g., Caretaker→patchWall=2.0, Watcher→keepWatch=2.5) as a new issue.Rationale: The issue body says 'may need role affinity multipliers, distance penalties, and cooldown checks' — all three exist in the current code. Cooldown checks at line 62-64, distance penalty at line 83-88 (clamped 0.5), role affinity at line 95-98 (configurable weight × 0.3). The M002 milestone directly targeted this issue and implemented weighted scoring. Remaining gaps (per-role-task multipliers vs flat bonuses, world-state factors) are minor incremental improvements, not the original issue scope.
To unblock: Remove the
blocked:needs-decisionlabel. The triage will apply the appropriate outcome based on your choice above.