Skip to content

queen: a hot file is named and split -- a path that shuts out more than N issues becomes a finding with a split plan #9975

Closed as not planned

Description

@gHashTag

Part of the dispatch roadmap epic #9976. Industry reference and the measured gap are below.

Measured 2026-10-17: 166 issues skipped as fileConflict. In a sample of 12, scripts/tri_loop/t27b.py sat in 5 Boundaries, and bootstrap/src/main.rs, bootstrap/src/compiler.rs and cli/tri/src/main.rs in 4 more. On 2026-10-08 bootstrap/src/compiler.rs alone shut out 105 issues. Nine open PRs touch these four files, some untouched since 2026-10-05.

Industry reference: lock-contention profiling -- a hot lock is split or made finer (striped or per-region locks); trios#1888 already has a merge-side region check behind TRIOS_QUEEN_REGIONS.

User Scenarios

  • As the Queen's doctor (specs/queen/self_health.t27), when one path shuts out more than N issues, I report it as a hot file with the count and the holders, every tick, on the board.
  • As the owner, I get a split plan for each hot file: region holds for it, or its rules moved into .t27 so the hot file shrinks.

Requirements

  • is_hot(blocked_count, threshold) -> bool and hold_granularity(path_kind, blocked_count) -> u8 (whole file or region), the threshold a named constant with its reason.
  • A path the only-t27 policy forbids bees to edit by hand (specs/policy/own_language.t27) is not held by a bee task at all: such a task needs the owner label first, and that is its skip reason, not fileConflict.

Success Criteria

  • Tests: the 2026-10-08 case (105 blocked) is hot; a path with 2 blocked is not; a forbidden-to-bees path yields the owner-label reason.
  • 0 surviving mutants.

Rules for the bee

Boundary

  • specs/queen/hot_files.t27
  • .trinity/seals/queen_QueenHotFiles.json

Activity

  1. added
    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it
    on Oct 17, 2026
  2. github-actions commented on Oct 17, 2026

    @github-actions
    Contributor

    Closed by the issue-shape gate (specs/policy/issue_shape.t27, #7498): an issue must have the template's sections. Edit the body; an edit that passes reopens it.

    • missing: ## Requirements -- numbered obligations, FR-001: ... MUST ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    shape-refusedClosed by the issue-shape gate (specs/policy/issue_shape.t27); a passing edit reopens it

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions