Skip to content

site: prioritize activity list by per-repo cap - #476

Merged
max-sixty merged 1 commit into
mainfrom
activity-list
May 14, 2026
Merged

max-sixty merged 1 commit into
mainfrom
activity-list

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A burst of work in one repo would fill the whole 12-row Activity list and make tend look like only one repo was active. Now: drop items older than 7 days first (a short list beats stale work shown as recent), then take at most 3 per repo in age order, then fill remaining slots from the over-cap surplus, still age-ordered.

The cap is the only diversification mechanism. I tried age × (1 + √count) soft weighting first, but for a typical burst (e.g. 12 items in 2h vs another repo's day-old item) the penalty is too gentle — A's 10th item still scores 1.5h effective against B's 24h, so A wins every slot. A hard per-repo cap is what actually moves the needle.

Scenarios:

  • Burst with diverse alternatives: 12 items in A, 1-day-old item in B, 3-day-old in C → A×3 + B + C in pass 1, A×7 in overflow → A×10, B, C. Other repos visible.
  • Burst with only stale alternatives: 12 items in A, B and C 8 days old → B/C dropped at the freshness gate → A×12, no stale items dragged in.
  • Thin week: 3 fresh items in A, nothing else → list is 3 items, short but honest.

A burst in one repo would fill the whole 12-row list and make tend look
like it was only active in one place. Now: drop items older than 7 days
first (better to show a short list than week-old work), then take at
most 3 per repo in age order, then fill remaining slots from the
over-cap surplus. The cap is the only diversification mechanism — soft
weighting (sqrt of repo count) is too weak to dent a fresh burst
against day-old alternatives.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit bc6ade8 into main May 14, 2026
6 checks passed
@max-sixty
max-sixty deleted the activity-list branch May 14, 2026 16:13
@max-sixty max-sixty mentioned this pull request May 15, 2026
2 of 6 tasks
max-sixty added a commit that referenced this pull request May 15, 2026
## Summary

Release 0.0.19. Headline change: **Codex harness support alongside
Claude** (#480).

- New `codex/action.yaml` composite action — invokable as
`max-sixty/tend/codex@v1`.
- `harness: claude | codex` field in `.config/tend.yaml` (default
`claude`); the generator picks the matching action ref and secret names
per harness.
- `shared/system-prompt.md` consumed by both actions.
- Codex plugin manifest at
`plugins/tend-ci-runner/.codex-plugin/plugin.json` and marketplace at
`.agents/plugins/marketplace.json`.

Tend's own config stays on `harness: claude` for now — flipping to Codex
is a separate follow-up PR after this release publishes.

Site polish + minor fixes round out the rest (#456, #462–#464,
#468–#472, #475, #476, #478, #481, #457, #459, #466, #482).

## Test plan

- [x] `wt test` passes
- [x] `pre-commit run --all-files` passes
- [ ] CI green on this PR
- [ ] After merge: `uvx [email protected] --help` resolves once PyPI release
workflow completes
- [ ] v1 branch auto-updated by `update-action-branch.yaml`
- [ ] Follow-up PR regenerates tend's own workflows with `uvx
tend@latest init`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants