Repository navigation
Releases
ShiftCircle v1.3.1
v1.3 (the course submission) plus the fixes and documentation made after it. No rule or data changes; the demo script and its numbers are unchanged.
Fixes
- The bare address opens the sign-in screen, and each demo user then lands on their own page (in v1.3, officers, rules users and the wall display first saw "Could not load the schedule").
- The installer refuses to take over an existing ShiftCircle setup or its database from another folder (exit 20); it never deletes anything. An automated test of this runs in CI.
- The installer prints the
/loginaddress, strips Windows line endings, saves the port only after checking it's free, and gives clearer messages. - Files always check out with LF line endings, so Git Bash on Windows works without a workaround.
- On the planning board, a supervisor's own row says "This is you. You can't change your own schedule; ask another supervisor." instead of offering actions that would be refused.
Docs
- Demo walkthrough: https://youtu.be/trGzcjv5Yis (also in
docs/demo/). - Build record with an architecture diagram, and ownership and support for a pilot.
- Install guides for Windows (WSL2, Git Bash, PowerShell only), a "First 5 minutes" guide and troubleshooting for every installer exit code.
Verified on this commit: a fresh one-line install; all 8 demo users from the bare address; demo §1–6 (the CSV equals the golden file); the installer guard. Tests: API 624, web 718, Playwright desktop 153, tablet 152 + 1 skipped.
Install: curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.3.1/install.sh && bash install.sh, then open http://localhost:8080.
The submitted version remains v1.3: https://github.com/dmhdev01-cell/ShiftCircle/releases/tag/v1.3
ShiftCircle v1.3 (course submission)
The course submission build.
- Supervisors on the roster: supervisors are a position with seniority within rank. Two supervisor posts (Living units, Operations) need one supervisor per shift, 24/7. 'Who can work a post' rules: an officer on a supervisor post is blocked unless they're an acting supervisor, and a supervisor on an officer post is a warning. Supervisors get their own overtime list. Nobody can change their own schedule. J. Chen and M. Ellis have My schedule.
- Officers' shift proposals: officers draft shifts with a live rule check and send them with a note. Supervisors decide in a Proposals inbox: the rules are re-checked at approval, there is no override for a Block, and every step is audited.
- Quarter planner transparency (from v1.2): plan inputs, options including cross-unit gap fill, and why gaps remain.
- Verified on this exact commit: the full demo (§1–6 twice, §7–9 once), the CSV export matches the golden file, and the suites are API 624, web 695, Playwright desktop 144, tablet 143 + 1 skipped.
Install: curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.3/install.sh && bash install.sh
Demo video (3 min): https://youtu.be/trGzcjv5Yis (the MP4 is also attached below).
Installing notes (added 26 Nov after testing the install on more machines; the release itself is unchanged)
- Windows: run the one-liner in a WSL2 Ubuntu terminal with Docker Desktop's WSL integration turned on, not in PowerShell or cmd. In Git Bash, Git's default line-ending conversion makes the installer stop with exit 17 ("POSTGRES_PASSWORD … shorter than 8 characters"): delete the
ShiftCirclefolder and runGIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=core.autocrlf GIT_CONFIG_VALUE_0=false bash install.sh. - After install: open http://localhost:8080/login (or your
SC_WEB_PORT) rather than the bare address, so each demo user lands on their own page. From the bare address, an officer, a rules user or the wall display first sees "Could not load the schedule" on the Planning board; use the side menu to go to their own page. - Windows without WSL (Docker Desktop on Hyper-V; Windows Pro/Enterprise): in Git Bash run
curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.3/install.sh && GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=core.autocrlf GIT_CONFIG_VALUE_0=false bash install.sh. With PowerShell only, follow INSTALL.md → Windows without WSL (Hyper-V) on main: clone, generate.env,docker compose up -d --build --wait, then open http://localhost:8080/login. - The clone warning
refs/tags/v1.3 … is not a commit!is harmless. - A first install on an empty Docker took about 1 minute on a fast network. Troubleshooting for every installer exit code: INSTALL.md on main.
ShiftCircle v1.2
Quarter plan transparency and fixes on top of the course submission (v1.1.2-submission).
- Plan inputs (#23): a headline with headcount, FTE, needed and dates, plus a panel showing exactly what the generator used (officers by unit, type and pattern; leave; preferences; minimums; rule set; fill order; seed). Each draft keeps a snapshot.
- Plan options (#24): which staff to include, part-time fill up to FTE, and cover gaps in other units. The scorecard says how many gaps were covered from other units and why the rest are still short (for example Dataset 150: 72 gaps, 28 covered; still short: 46 not qualified, 14 no hours left, 12 would break a rule). Defaults give exactly the earlier output.
- Shift dialog (#25): started, recorded or cancelled shifts are explained before any click, with a link to Time & attendance, readable dates and a server-side refusal to move into a started slot.
- Fixes (#31): the Staffing panel and Needed tile show the real shortfall; the top bar shows the demo clock; sign-in retries after a demo reset; the Overtime card updates after Confirm.
Install: curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.2/install.sh && bash install.sh
ShiftCircle v1.1.2-submission
Course submission build. v1.1.1-submission plus one fix:
- Quarter plan staffing: the Staffing panel and the 'Needed (at least)' tile now show the real shortfall (for example Dataset 120: '120 on staff · short 7'). Before, they always said 'Meets the floor', because the page read a field the API doesn't send. It's covered by new unit and browser tests.
Install: curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.1.2-submission/install.sh && bash install.sh
ShiftCircle v1.1.1-submission
Submission build. Adds over v1.1-submission:
- One-line install (#20):
curl -fsSLo install.sh https://raw.githubusercontent.com/dmhdev01-cell/ShiftCircle/v1.1.1-submission/install.sh && bash install.sh. It checks prerequisites, clones this tag, writes a private .env with generated secrets, starts the stack and checks its health. See INSTALL.md. - Demo polish (#22): My schedule picks up new overtime offers when the window regains focus, newest first. The draft pill only shows for a real draft. Publish times are in local time. Identical rule-check results are grouped. The About page text is corrected.
- Demo script corrections (#21), and updated test counts.
v1.1: submission (release 11)
ShiftCircle v1.1: the submission build (release 11).
Builds on v1.0-submission with:
- A planning board that works like a scheduling grid: week, pay-period and month views, compact rows, per-officer hours and overtime totals, coverage heat rows, day totals, qualification badges, filters, sort, CSV/print export, and filling a gap straight from the board with the existing rule check.
- A readable quarter plan (week picker, grouped gaps with plain reasons, rule-warning markers, unused part-time capacity) and planned leave shown on the draft roster with an "Add planned leave" dialog.
- Fixes: "not available in this prototype" states instead of errors, a session that survives a refresh in the demo profile, report date-range and unit pickers, plain-word rule sentences, menu and publish-message corrections.
- CI on GitHub Actions; documentation audited end to end (install, architecture, rules, API, access control, traceability, user guides, roadmap and known limits).
Verified at this commit: fresh public-clone install as documented; API 470 tests, web 514, Playwright desktop 124 and tablet 123 (+1 skipped), 0 failures; demo §1-6 figures re-walked. Setup, demo script and build record are in the repository; release notes are in docs/process/release-notes.md.
v1.0: submission (release 10)
ShiftCircle v1.0: the screening-assessment submission (release 10).
A demo-grade shift-scheduling prototype for a fictional 24/7 correctional centre: React + MUI SPA, nginx, Spring Boot / Java 21 with an embedded Drools rules engine, and PostgreSQL, all in Docker Compose. All data is synthetic.
This tag marks the verified tip of main (efba3f7), the same commit as the local sc-release / sc-verified-efba3f7 gate tags. Setup and the demo walkthrough are in the README; per-release gate results are in docs/process/release-notes.md.