ShiftCircle

ShiftCircle: roadmap and known limits

Status: 2026-11-24, written for the 26 Nov 2026 submission; brought up to date for release v1.3 on 2026-11-25 (supervisors on their own posts, ADR-031; add-only shift proposals, ADR-032). This is what is not in the prototype, why, and the order we would build it. Efforts are rough dev-days for one developer.

1. Known limits and defects (cut ii): documented, not fixed in this submission

Area Limit Why not now
Rules U-03 and U-11 are dormant. Their live rows key on the retired L16 template, so a 12 h shift plus an extension never triggers the 12 h rest Block or the 16 h count. U-02 and U-04 (Warn under 12 h and 10 h rest), U-01 (Block under 8 h) and U-05 (Block above 16 h worked) still bound that day; only the dedicated 12 h-rest Block is missing A fix is a new rule version (the next one after v4, which release v1.3 uses for who can work a post), which changes the demo’s version numbers and the T4 scenario
Rules L-01 still lists [8,12,16], and its message says “8, 12 and 16-hour”. There is no 16 h regular shift: 16 h = 12 h + a 4 h extension. U-10’s message still says “overnight 00-12” Same: a new rule version
Pay Weekly overtime threshold: the rule table offers WEEK but the validator refuses it (needs a per-week split); only the 80 h pay-period threshold works Needs a per-week classification
Rules / pay P-01’s 80 h per-period threshold makes 4-on/4-off 12 h crews built-in overtime (84 to 96 h a period). The 4,808 OT hours on Dataset 120 (demo script §7) and 2,964 on 150 (fit-gap measurement, 23 Nov, seed 20261001) are partly that modelling artefact. U-13 cycle averaging is not built Changes OT figures, the payroll classification and the payroll golden file
Pay Only OT 1.5× is classified. OT 2×, stat holiday, day of rest and call-back pay are not (FR-52) Payroll golden
Planner Qualifications are not used for placement; the scorecard only reports them (FR-03) Changes plan fingerprints
Planner No part-time floor or fair share. Casuals fill leftovers, in their home unit, newest-first, capped at FTE × 80 h a period. On Dataset 120, 13 of 20 part-timers get no shifts Changes plan fingerprints
Planner Seniority orders nights and overtime, but the casual pool is newest-first and not configurable; extra shifts and vacation picks are not offered by seniority Same, plus rule design
Leave Leave is skipped by the generator and shown on the draft roster (Vac/Sick/Other), but not on the live board. The planner enters it (Preferences → Add planned leave); there is no request, approval, balance or leave limit (maximum off per unit per day) API and data risk on Dataset 100
Sick Sick is recorded after the fact. There is no call-out flow (sick call → open shift → ranked offer); posting an open shift is “not available in this prototype” New flow
Planner The quarter window (4 Jan to 11 Apr 2027) and the clock are fixed; a plan can be committed once; the 28 Dec to 3 Jan seam on Dataset 100 is thin Window is in seeded data
Workflow Proposals beyond add-only (swaps, give-ups; v1.3 built add-only proposals and the inbox), FR-06 publish gating, FR-07 “changed” flags, offer withdrawal/expiry, mandatory OT and OT caps New flows
Supervisors v1.3 knows two ranks (a third is a position row plus a code change); P-01 overtime applies to supervisors as written (no exclusion by position); Dataset 100 leaves 230 of 588 supervisor-post block-days short (8 h supervisors, and the planner puts no 8 h person on nights); a supervisor post can’t be closed A position-scoped P-01 row and a 12 h supervisor crew on Dataset 100 move the pins again
Platform No OpenAPI or generated client; e2e is not in CI; no Java CVE scan; floating base-image tags; the auth seam is a demo mock; no phone layout Engineering, not demo-facing
Architecture PlannerService and PlannerPage are very large; shiftcircle-domain and -application are empty placeholders (docs/03-architecture.md §2) Refactors risk the demo

Staffing findings (measured, synthetic data, seed 20261001)

2. Owner planner requirements (23 Nov): status and where they land

Requirement Today Roadmap package
Positions and qualified-first placement Positions are built (v1.3: officer and supervisor ranks, two supervisor posts, seniority within rank, ADR-031); posts are still unit × block counts and qualifications are reported, not used for placement 4
Seniority-ordered offering (extra shifts, part-time hours, vacation picks) Nights and OT only; casual pool newest-first 3
Leave visible and managed with approval Skipped by the generator; planner entry dialog; shown on the draft roster only 2
Sick call-out After-the-fact actuals only 5
Part-time fair share and floor Leftovers only, no floor 3
Rolling planner window Fixed quarter, single use 6
Shift patterns 8 h vs 12 h, preferences Built n/a

3. Roadmap (cut iii): ordered, after the submission

Order Package Contents Effort
1 Rules correctness Re-key U-03/U-11 on “12 h + extension ≥ 4 h”; L-01 → [8,12] + extension; U-10 message; U-13 cycle averaging so 4/4 crews aren’t in built-in OT; update the T4 scenario, boundary tests and demo §4 version numbers M, about 2 d
2 Leave you can see and manage Absences on the board and draft; leave limits per unit, block and day; employee request → supervisor approval; simple balances 4 to 6 d
3 Part-time fair share and seniority Pool ordered by hours below target (round-robin) or seniority (configurable); cross-unit casual relief with a qualification check; optional per-FTE floor on the scorecard; seniority-ordered offering of extra shifts and vacation picks about 2 d
4 Qualified-first placement Tie-break for qualified candidates when a block is below its qualified minimum; a QUALIFIED_MIN Warn rule on the board about 2 d
5 Sick call-out “Call in sick” on a future shift → absence + open shift → ranked offer 3 d
6 Rolling planner window and Clock Next quarter after today, plan again after a commit, timezone from config, injected Clock 2 to 3 d
7 Spreadsheet parity II Bulk edits through a batch rule check, undo, keyboard entry, quarter overview / xlsx 5 to 8 d
8 Workflow completeness Swap and give-up proposals (add-only proposals and the inbox are built in v1.3), FR-06 gating + FR-07, offer withdraw/expiry, mandatory OT, OT caps, notice rules (S-01, S-02, P-05) 5 to 7 d
9 Pay completeness OT 2× band, stat holiday, day of rest, call-back; payroll golden update 2 to 3 d
10 Engineering hardening e2e in CI, image digests, Java CVE gate, OpenAPI → generated types.ts, split the large classes, extract or delete the empty modules, test isolation, OIDC-ready auth 8 to 10 d

Packages 1 to 6 are the first post-submission block: about 15 to 18 dev-days if taken in this order. The rules values themselves are mock and still need a practitioner’s review against the local letters of understanding (docs/05-union-rules.md §6).