diff --git a/FEATURES.md b/FEATURES.md index e62862e..348641a 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -1,27 +1,14 @@ # OpenClockwork Features -OpenClockwork 2.2.1 provides **Solo** personal work tracking and **Team** time and +OpenClockwork 2.3.0 provides **Solo** personal work tracking and **Team** time and attendance in one responsive, self-hosted application. Both keep deployment, data, and configuration under the operator's control, with German and English UI. -Version 2.2.1 adds the Team cockpit, effective-dated contract periods, a -working-time target/actual comparison and new booking approval and correction -workflows. HR can also export working-time data as CSV or PDF for one, -selected or all employees, including inactive employees with historical -bookings. See the -[German legal context and export limitations](docs/WORKING_TIME_EXPORTS.de.md). - -This page describes implemented capabilities, not a guarantee that every rule, -device, or external browser handoff has been certified. See -[release notes](RELEASE_NOTES.md) for release-specific validation and -[UPGRADING.md](UPGRADING.md) for operational checks. Version 2.0 marks the -deliberate two-mode product generation; it does not imply that existing Team -installations need a reset or an automatic conversion. - -Start with [Operating modes](docs/OPERATING_MODES.md), the -[Solo guide](docs/SOLO_MODE.md), or the [Team guide](docs/TEAM_MODE.md). -Invoices, rates, payments, and CAUR coding-agent usage import/accounting are -**not included**; they remain on the [roadmap](ROADMAP.md). +In Team mode, employees can start and end breaks at enabled QR and PIN +terminals. Employees can see the recorded and assessed times. HR and responsible +managers can review flagged punches. HR can also require terminal booking per +employee. See the [release notes](RELEASE_NOTES.md#openclockwork-v230) and +[upgrade guide](UPGRADING.md).

Paired OpenClockwork tablet kiosk with a rotating QR code @@ -35,14 +22,14 @@ Invoices, rates, payments, and CAUR coding-agent usage import/accounting are ## At a glance -| Audience | Main capabilities | -| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| Solo owner | Personal timer, direct corrections, calendar, customers, billable projects/orders, timesheets, optional effective-dated accounts | -| Employees | Clock in/out, use tablet QR or PIN, book daily targets, manage requests and absences, view calendars and time accounts | -| Managers | Review team requests, handle substitute workflows, approve or return corrections, use bulk actions, inspect project data | -| HR administrators | Manage employees, schedules, leave, projects, reports, terminal methods and PINs, authentication audits, devices, and bootstrap | -| Kiosk devices | Pair once, offer configured QR/PIN methods, request explicit IN/OUT, clear personal data, and use least-privilege device credentials | -| Integrations | Consume documented REST endpoints, generated types, realtime events, ERP exports, and health checks | +| Audience | Main capabilities | +| ----------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| Solo owner | Personal timer, direct corrections, calendar, customers, billable projects/orders, timesheets, optional effective-dated accounts | +| Employees | Clock in/out, record terminal breaks, book permitted daily targets, manage requests and absences, and view time accounts | +| Managers | Review team requests, booking corrections and flagged punches, use bulk actions, and inspect project data | +| HR administrators | Manage employees, booking permissions, schedules, leave, projects, reports, terminal methods, PINs, and authentication audits | +| Kiosk devices | Pair once, offer QR or PIN, confirm clock-in/out and breaks, clear personal data, and use least-privilege device credentials | +| Integrations | Consume documented REST endpoints, generated types, realtime events, ERP exports, and health checks | Employee, manager, HR, kiosk, and ERP capabilities in the table refer to Team. Solo exposes only the owner's authorised personal endpoints; old Team routes @@ -142,24 +129,31 @@ device never acts as an employee and cannot call normal HR or time-entry APIs. | Optional GPS | Run without any geofence, or require a fresh position inside a configured radius and maximum accuracy | | One-time pairing | Short-lived code and kiosk URL; a new pairing revokes the previous active device | | Kiosk PWA | Dedicated manifest and full-screen view with time, date, location, custom branding, connection state, and automatic challenge refresh | -| Employee scanner | Explicit clock-in or clock-out choice, camera preview, local QR decoding, and GPS only when the terminal requires it | +| Employee scanner | Select clock-in, clock-out, or an available break action before scanning; use GPS when the terminal requires it | | Device operations | Last-seen monitoring, re-pairing, immediate device revocation, terminal deactivation, and permanent deletion | | Time-zone handling | IANA selection with the browser timezone suggested, UTC fallback, and server-side validation | -| PIN identification | Personal number plus separate eight-digit PIN; explicit IN/OUT, shared lockout, short-lived device-bound permission | +| PIN identification | Personal number and separate eight-digit PIN, shared lockout, and short-lived device-bound permission | | HR PIN management | Generate a random PIN shown once, reset, disable, and unlock; no employee password reuse | | Shared-screen privacy | Minimal confirmation identity, no employee session, and cleanup after completion, cancellation, inactivity, or background changes | -| Booking confirmation | Explicit clock-in/out after identification; an uncertain response can retry the same operation without creating a second booking | +| Booking confirmation | Confirm the selected PIN action after identification; retry an uncertain response without duplicating the booking | | Authentication audit | HR-filtered events, restricted runtime role, signed chain, and independent-anchor export/verification tooling | | Durable audit trail | Historical bookings retain terminal/GPS evidence snapshots even when kiosk-only records are removed | -QR/PIN terminals are included in 2.1.0 and available only in Team mode. Existing -terminals remain QR-only after upgrade until HR changes their configuration. -PIN is optional and requires independent secrets and restricted runtime DB rights. -[PIN operations](docs/TERMINAL_AUTH_OPERATIONS.de.md) documents setup, rotation, -retention, and audit limits. Operators configure and administer the independent -archive; the local file adapter does not provide a WORM guarantee. No PINs, -personal numbers, or booking grants are included in authentication audit events. -RFID readers and badge management remain [planned](ROADMAP.md#4-optional-rfid-terminal-extension). +HR chooses QR, PIN, or both for each Team terminal. Saving a terminal closes +its setup editor, including on first activation. PIN requires independent +secrets and restricted runtime database rights. Operators administer the +independent archive and configure any required write-once retention. +Authentication audit events omit PINs, personal numbers, and booking grants. +See the [PIN operations guide](docs/TERMINAL_AUTH_OPERATIONS.de.md) for setup, +rotation, retention, and audit limits. + +HR enables **Record breaks at the terminal** on an assigned work schedule. The +schedule can define scheduled starts, fixed break windows, a short break, and +tolerances. The configuration applies from the next shift. During an open shift, +employees select the break action before scanning QR or choose the available +action on the tablet after PIN identification. **Booking** shows the recorded and +assessed times under **Terminal punches**. See the +[terminal break guide](docs/TERMINAL_AUTH_OPERATIONS.de.md#gestempelte-pausen-und-zeitraster). The local iPad pilot includes a trusted-HTTPS Compose overlay, generated test CA/server certificates, loopback-only raw service ports, an Nginx TLS gateway, @@ -171,10 +165,10 @@ See [the German iPad setup guide](docs/IPAD_TERMINAL_SETUP.de.md). | Capability | What it provides | | --------------------------------- | --------------------------------------------------------------------------------------------------------------- | | Personal dashboard | Leave balance, overtime account, current booking, open requests, and detected core-time violations | -| Clock in and out | PWA booking with optional GPS, project/service-order selection, and recent booking history | +| Clock in and out | PWA booking with optional GPS and project/service-order selection when direct web time booking is enabled | | QR terminal booking | Scan a short-lived kiosk challenge and let the server validate identity, replay state, and optional geofence | -| PIN terminal booking | Enter the exact personal number and separate PIN at the tablet, then explicitly confirm clock-in or clock-out | -| Direct daily-target block | With per-employee HR permission, book the contractual daily target as one completed and directly approved block | +| PIN terminal booking | Identify with a personal number and separate PIN, then confirm the available attendance or break action | +| Direct daily-target block | Book the contractual daily target as one approved block when HR enables both direct web and daily-block booking | | Core-time violation details | Date, affected core window, violation type, boundary, and uncovered minutes | | Project and service-order booking | Book only to assigned active projects; active service orders become the required booking level | | Activity per booking | Store a customer-facing description of the work performed | @@ -191,6 +185,11 @@ See [the German iPad setup guide](docs/IPAD_TERMINAL_SETUP.de.md). | Absence records | Record sickness, training, and flextime days without mobile layout overflow | | Theme preference | Light, dark, or operating-system theme | +**Allow direct web time booking** is enabled by default for new and existing +employees. HR can turn it off per employee to require QR or PIN for clock-in and +clock-out and disable direct daily blocks. The dashboard, booking history, and +requests stay available. See the [Team guide](docs/TEAM_MODE.md#employee-workday). + ## Approval workflows (Team) OpenClockwork models approvals as explicit state transitions instead of one @@ -218,8 +217,9 @@ Employee submits - Corrections to specific existing bookings update the same booking on final approval and retain the prior and new values in its audit history - File attachments for supported request types -- Daily-target blocks bypass the workflow only when HR enables the employee and - all schedule, holiday, absence, conflict, frame, and break checks pass +- Daily-target blocks are approved directly when the employee has both booking + permissions and all schedule, holiday, absence, conflict, frame, and break + checks pass ## Team cockpit @@ -235,14 +235,18 @@ requests, absences and recorded actions for the selected employee and period. Actions taken on an employee's behalf record the actor, employee, time, values and reason. Existing approval requirements apply to those actions. +In **Working times**, responsible managers and HR can confirm an assessed start, +credit the original clock-in, or supply a missing break end. They record a +reason for the review, and the original punches remain visible. + ## HR and administration (Team) | Capability | What it provides | | ----------------------- | ------------------------------------------------------------------------------------------------------ | -| Employee management | Create, edit, deactivate/reactivate, reset passwords, assign managers, and control direct daily blocks | +| Employee management | Manage employee records, assign managers, reset passwords, and set direct web and daily-block controls | | Roles | Employee, Manager, and HRAdmin access levels with role-aware navigation and endpoint guards | | Time models | Full-time, part-time, trust-based working time, and flextime | -| Work schedules | Working-day masks, permitted frames, and multiple named core-time windows | +| Work schedules | Working-day masks, permitted frames, core-time windows, and optional terminal time and break rules | | Schedule assignment | Assign individual schedules or bulk-assign by time model | | Leave allowances | Base leave, carry-over, adjustments, expiry dates, and adjustment reasons | | Holiday calendars | Optional regional presets and custom dates used in target hours and vacation calculations | @@ -284,8 +288,10 @@ bookings, and customer-facing activity reports in one administrative workflow. - Opt-in clock-in and clock-out locations in the report table and CSV export, combining durable terminal labels with available GPS coordinates and accuracy -PDFs exclude locations, project details, and private notes. Break deductions use -the stored policy and do not establish when actual rest breaks were taken. +PDFs exclude locations, project details, and private notes. For terminal breaks, +the PDF shows the assessed deduction and recorded break duration, with labels +for a corrected or missing break end. Where automatic deductions apply, the PDF +labels them and uses the policy stored with the booking. See [German export requirements and limitations](docs/WORKING_TIME_EXPORTS.de.md). Exports contain employee names and working-time data and must be handled as @@ -300,6 +306,7 @@ Working-time rules are visible in code and covered by focused tests. Operators remain responsible for validating their organisation's exact policies. - Configurable break calculation with explicit thresholds and deduction minutes +- Optional terminal rules for assessed starts and stamped breaks - Target/actual accounting derived from weekly hours and working-day masks - Opening overtime balances and employee start dates - Configurable working frames and multiple core-time windows @@ -373,11 +380,13 @@ incident response. The generated and committed OpenAPI specification lives at [`apps/api/openapi.json`](apps/api/openapi.json). -- Authenticated employee clock-in/out and terminal scanning +- Authenticated employee clock-in/out, QR terminal actions, and terminal punch + review for responsible managers and HR - HR terminal/device lifecycle endpoints and least-privilege kiosk endpoints - HR PIN reset/disable/unlock and paginated authentication audit; device-only challenge, PIN identification, and explicit booking endpoints -- Employee daily-target capability and direct-block creation +- Per-employee direct web booking permission, plus daily-target eligibility and + block creation - Paginated ERP time-entry exports with project, service-order, and activity references - Socket.IO events for realtime client refreshes @@ -393,7 +402,8 @@ in this release. ## Self-hosting and operations -- Dockerfiles for API and web applications +- Node.js 24 LTS application builds and API runtime, with unprivileged nginx + 1.30.8 for the web runtime - Host-independent production Docker Compose with versioned API and web images - Development Compose and a production-shaped build from source - Trusted-HTTPS iPad overlay with runtime-configuration validation @@ -416,7 +426,7 @@ in this release. - [Choose an operating mode](docs/OPERATING_MODES.md) - [Use Solo mode](docs/SOLO_MODE.md) - [Use Team mode](docs/TEAM_MODE.md) -- [Roadmap: delivered PIN, planned RFID, billing, and agent usage](ROADMAP.md) +- [Delivery history and roadmap](ROADMAP.md) - [Set up and test an iPad terminal](docs/IPAD_TERMINAL_SETUP.de.md) - [Operate PIN terminals and verify their audit](docs/TERMINAL_AUTH_OPERATIONS.de.md) - [Upgrade an existing installation](UPGRADING.md) diff --git a/README.md b/README.md index 8c640bf..6672efe 100644 --- a/README.md +++ b/README.md @@ -14,28 +14,27 @@ Latest GitHub release

-OpenClockwork 2.2.1 provides two operating modes in one open-source application. +OpenClockwork 2.3.0 provides two operating modes in one open-source application. **Solo** helps an independent professional track personal work, organise customer projects, and produce timesheets without inventing an HR department. **Team** supports employee attendance, work schedules, leave, approvals, and tablet terminals. Both use the same self-hosted PostgreSQL, API, and responsive PWA. -**New in 2.2.1.** The Team cockpit brings together booking status, approval -queues, employee history and audited actions on behalf of employees. Team -employees can revise returned requests and ask to correct an existing -booking. Closed bookings outside their permitted working frame require -manager and HR approval. Working-time reports compare contractual targets -with recorded net time based on HR-confirmed contract periods. See the -[release notes](RELEASE_NOTES.md#openclockwork-v221) and -[upgrade guide](UPGRADING.md#required-for-221). +**New in 2.3.0.** Team employees can start and end breaks at QR and PIN +terminals when their work schedule enables break stamping. HR and responsible +managers can review flagged cases with both the original punches and the +schedule-assessed times. HR can also require terminal booking per employee by +turning off direct browser and PWA clock-in, clock-out, and daily blocks. Saving +a terminal closes the setup editor, including on first activation. See the +[2.3.0 release notes](RELEASE_NOTES.md#openclockwork-v230). The interface is available in German and English on phones, tablets, and desktops. Language is independent of working-time rules: targets, breaks, holidays, and leave are explicit configuration, not assumptions about your country. No proprietary time-clock hardware or hosted subscription is required. -**Existing installations remain in Team mode after an upgrade.** A mode change -is a separate, authenticated administrator action with a preview and safety +**Upgrades preserve the installation's operating mode.** A mode change is a +separate, authenticated administrator action with a preview and safety checks. Invoice creation, monetary billing, and CAUR coding-agent usage import remain on the [roadmap](ROADMAP.md). @@ -47,7 +46,7 @@ remain on the [roadmap](ROADMAP.md). | Daily workflow | Timer, manual entries, direct corrections, personal calendar | Employee bookings, requests, manager/HR workflows | | Work rules | Optional targets, leave account, breaks, and personal hints | Employee contracts, schedules, leave allowances, and approvals | | Customer work | Customers, projects/orders, billable classification, personal timesheets | Assigned projects/orders, PLAN/IST reports, HR working-time reports | -| Shared terminal | Not available in Solo | Paired QR/PIN terminals with optional geofencing | +| Shared terminal | Not available in Solo | Paired QR/PIN terminals with optional break stamping and geofencing | | Start here | [Solo guide](docs/SOLO_MODE.md) | [Team guide](docs/TEAM_MODE.md) | Read [Operating modes](docs/OPERATING_MODES.md) for boundaries and safe @@ -77,20 +76,21 @@ Solo customer-management and billable-timesheet UI. trail, organise customers/projects/orders, and export billable or non-billable timesheets. Private notes stay out of customer reports. - **Flexible time capture.** Clock actual start/end times, add an optional GPS - position and project, or use an HR-enabled daily-target block. + position and project, or use an HR-enabled daily-target block. In Team, HR can + require terminal booking for individual employees. - **QR/PIN tablet terminal.** Pair a tablet once. Employees scan a rotating challenge from their authenticated phone or enter their personal number and - separate terminal PIN, then explicitly confirm clock-in or clock-out. HR can - enable either method or both; existing terminals retain QR on upgrade. + separate terminal PIN to book attendance. HR can enable either method or both. - **Optional geofencing.** A terminal can work entirely without GPS or require a fresh employee position inside a server-validated radius with a configured accuracy limit. - **Configurable working-time rules.** Break deduction, working frames, core hours, target/actual balances, public holidays, and leave calculations live in tested backend/shared-domain code. -- **Team approval workflows.** Vacation, home office, special leave, time - corrections, substitute confirmation, manager approval, HR confirmation, - bulk actions, and workflow history. +- **Team approval workflows.** Employees can revise returned requests and + request corrections to specific bookings. Out-of-frame bookings go through + manager and HR approval. Leave workflows include substitute confirmation, + bulk actions, and a decision history. - **Team cockpit.** Managers see current direct reports. HR can view the organisation. Both can review booking and correction approvals and take authorised, recorded actions on behalf of employees. @@ -98,9 +98,11 @@ Solo customer-management and billable-timesheet UI. order, compare PLAN and IST hours, edit booking targets, split entries, and export customer or working-time reports as CSV. HR can download working-time PDFs for one, selected, or all employees, with a separate section per person. - Clock-in/out locations are optional in HR tables and CSV and excluded from PDFs. + Working-time reports compare net recorded hours with targets based on + HR-confirmed contract periods. Clock-in/out locations are optional in HR + tables and CSV and excluded from PDFs. See the [German working-time export guidance](docs/WORKING_TIME_EXPORTS.de.md) - for the legal context and the limits of automatic break deductions. + for how exports show terminal break stamps and automatic deductions. - **Self-hosted and API-first.** Run the PostgreSQL, NestJS and React stack with Docker Compose on your own host. The API supports OpenAPI and Socket.IO. - **Localised interface.** German and English translations, browser-aware dates, @@ -141,6 +143,18 @@ it independently of the employee's web password. PIN entry preserves leading zeros in personal numbers. The shared screen clears personal data after the interaction, inactivity, or a switch to the background. +HR enables break stamping in the assigned work schedule, which can define +planned start times, break windows, and tolerances. Employees choose the +action before scanning a QR code or after identifying with a PIN. The booking +view shows the original punches alongside the assessed times. HR and +responsible managers can review flagged bookings in **Working times**. See the +[break-stamping setup](docs/TERMINAL_AUTH_OPERATIONS.de.md#gestempelte-pausen-und-zeitraster). + +In **Employees**, HR can clear **Allow direct web time booking** to require +terminal booking. This turns off direct clock-in, clock-out, and daily blocks +in the browser and installed PWA. Employees can still use the dashboard, +booking history, and requests. Direct web booking is enabled by default. + The HR audit records authentication, credential changes, and booking outcomes. Its signed chain and export/verification tools support an independently managed archive; an immutable archive is not created automatically. Before enabling @@ -196,8 +210,10 @@ by default. HR administrators must explicitly include them in the on-screen report and CSV export; operators remain responsible for a lawful purpose, appropriate access, and retention periods for this personal data. -See the [latest release](https://github.com/patrickschiller/openclockwork/releases/latest) -and read [UPGRADING.md](UPGRADING.md) before changing an existing installation. +Upgrading from 2.2.2 to 2.3.0 requires a PostgreSQL and attachment backup, +two additive database migrations, and 2.3.0 images for both API and web. Read the +[2.3.0 upgrade notes](RELEASE_NOTES.md#upgrading-from-222) and follow the +[upgrade procedure](UPGRADING.md#1-prepare-and-back-up). The PWA is online-first. A running timer remains server state while a device is offline; new writes require server confirmation and are not queued as offline @@ -207,15 +223,15 @@ embedded browsers may handle downloads and printing differently. ## Tech stack -| Layer | Technology | -| ---------- | ------------------------------------------------------------------ | -| Workspace | Nx monorepo with pnpm | -| Frontend | React 19, Vite, Tailwind CSS, shadcn/ui, installable PWA | -| Backend | NestJS, Node.js, strict TypeScript | -| Database | PostgreSQL with Prisma schema and forward-only migrations | -| Realtime | Authenticated Socket.IO gateway | -| API | REST with committed OpenAPI specification and generated web client | -| Tests | Vitest, Jest, API E2E, and Playwright browser tests | +| Layer | Technology | +| ---------- | ------------------------------------------------------------------- | +| Workspace | Nx monorepo with pnpm | +| Frontend | React 19, Vite, Tailwind CSS, shadcn/ui, installable PWA | +| Backend | NestJS, Node.js 24 LTS in release containers, strict TypeScript | +| Database | PostgreSQL with Prisma schema and forward-only migrations | +| Realtime | Authenticated Socket.IO gateway | +| API | REST with committed OpenAPI specification and generated web client | +| Tests | Vitest, Jest, API E2E, and Playwright browser tests | | Deployment | Docker Compose, versioned container images, and local source builds | ## Repository layout @@ -238,7 +254,8 @@ assets/ Brand sources and documentation screenshots For production, use the [versioned Docker installation](#production-installation-step-by-step) below; Node.js and pnpm are not required on that host. Source development needs -**Node.js 20+**, **pnpm 9+**, and **Docker**. +**Node.js 20+**, **pnpm 9+**, and **Docker**. Use **Node.js 24 LTS** and the +pnpm version pinned in `package.json` to match CI and release builds. ### Development with Node.js and Docker @@ -380,7 +397,7 @@ openssl rand -hex 32 Open `.env.prod` in an editor and replace every `change-me` value: -- Set `OPENCLOCKWORK_VERSION=2.2.1` for this release. Use the same explicit +- Set `OPENCLOCKWORK_VERSION=2.3.0` for this release. Use the same explicit version for the API and web images; never deploy `latest`. - Put the first command's output into `POSTGRES_PASSWORD` and replace `change-me-database-password` inside `DATABASE_URL` with that exact same @@ -549,9 +566,10 @@ You can support the project through - [Operating modes: choose and switch safely](docs/OPERATING_MODES.md) - [Solo: personal setup, customer work, reports, and recovery](docs/SOLO_MODE.md) - [Team: employees, schedules, approvals, terminals, and reports](docs/TEAM_MODE.md) -- [Roadmap: PIN delivery, planned RFID, billing, and agent usage](ROADMAP.md) +- [Roadmap: planned RFID, billing, and coding-agent usage](ROADMAP.md) - [iPad terminal setup and operations (German)](docs/IPAD_TERMINAL_SETUP.de.md) - [PIN and authentication audit operations (German)](docs/TERMINAL_AUTH_OPERATIONS.de.md) +- [2.3.0 release notes](RELEASE_NOTES.md#openclockwork-v230) - [Upgrade procedure](UPGRADING.md) - [Release process](RELEASING.md) - [Host-independent Docker and container operations](docs/CONTAINER_DEPLOYMENT.md) diff --git a/ROADMAP.md b/ROADMAP.md index 8371701..60c4886 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,35 +1,26 @@ # OpenClockwork Roadmap OpenClockwork is a public, Apache-2.0 self-hosted application for personal work -and Team time and attendance. Version **2.2.1** adds a manager cockpit and -contractual target versus actual working times. It also improves returned -requests, existing-entry corrections and approval of out-of-frame bookings. -HR working-time PDFs from 2.2.0 and PIN tablet terminals from 2.1.0 remain part -of Team mode. -Customer invoicing and coding-agent usage accounting remain -future work; a billable time flag does not mean those features already exist. - -This roadmap expresses priorities and intended scope, not release dates or -promises of regulatory compliance. See [FEATURES.md](FEATURES.md) for implemented -capabilities, [the mode comparison](docs/OPERATING_MODES.md) for current -boundaries, and [README.md](README.md) for release installation. +and Team time and attendance. Version **2.3.0** adds optional break stamping at +QR and PIN terminals and lets HR require terminal attendance booking per employee. +[Release notes](RELEASE_NOTES.md) + +The roadmap describes planned scope and dependencies. See +[FEATURES.md](FEATURES.md) for available capabilities, the +[mode comparison](docs/OPERATING_MODES.md) for Solo and Team boundaries, and +[README.md](README.md) for installation. ## Delivery order -| Stage | Scope | Status / dependency | -| ----- | --------------------------------------------------- | --------------------------------------- | -| 1 | Country-neutral configuration and defaults | Included in 1.4.0; retained in 2.2.1 | -| 2 | Complete personal Solo workflow alongside Team | Included in 2.0.0 | -| 3 | QR/PIN tablet terminals and HR authentication audit | Included in 2.1.0; Team only | -| 4 | Optional RFID terminal extension | Planned separately after PIN acceptance | -| 5 | Customer billing and invoice creation | Planned; intended for Solo and Team | -| 6 | CAUR usage import, attribution, and review | Planned; can progress alongside stage 5 | -| 7 | Agent billing and combined customer invoices | Planned; depends on stages 5 and 6 | - -Version 2.0 deliberately marks a new product generation, not an invented -breaking Team API or a required data reset. Existing installations migrate -forward and remain Team. Future compatibility changes follow semantic -versioning and are documented in release notes and upgrade instructions. +| Stage | Scope | Status / dependency | +| ----- | -------------------------------------------------- | -------------------------------- | +| 1 | Country-neutral configuration and defaults | Released in 1.4.0 | +| 2 | Personal Solo workflow alongside Team | Released in 2.0.0 | +| 3 | Team terminals, approvals and working-time reports | Released across 2.1.0–2.3.0 | +| 4 | Optional RFID terminal extension | Planned independently of billing | +| 5 | Customer billing and invoice creation | Planned for Solo and Team | +| 6 | CAUR usage import, attribution, and review | Can progress alongside stage 5 | +| 7 | Agent billing and combined customer invoices | Depends on stages 5 and 6 | ## 1. International foundation and remaining work @@ -58,7 +49,8 @@ Remaining internationalisation work: - [ ] Additional UI languages, configurable regional week-start preferences, and an English equivalent of the German iPad operations guide. - [ ] Broader effective-dated Team schedule and leave-policy administration, - beyond existing break snapshots and the new Solo policy versions. + building on confirmed Team contract periods, break snapshots, and + effective-dated Solo policies. - [ ] Currency, address, tax, and invoice-format settings independent of UI language, as part of a future billing feature. @@ -87,7 +79,7 @@ Remaining internationalisation work: work. Browser file/print handoffs and operator-specific rules still require validation in the actual deployment; see release notes for scope. -Follow-up work, not part of this release: +### Follow-up work - [ ] Shared Team customer management and billable reporting beyond the current Solo-only screens, with explicit billing permissions. @@ -95,40 +87,59 @@ Follow-up work, not part of this release: currently uses administrator-created employee accounts. - [ ] Rate management and invoice linking, delivered with the billing foundation. - [ ] Further device/PWA coverage and any additional export delivery formats. - Online-first operation is the current contract, not an offline write queue. - -## 3. QR/PIN tablet terminals in 2.1.0 - -The PIN increment of [issue #33](https://github.com/patrickschiller/openclockwork/issues/33) -is implemented and locally accepted on 11 October 2026. It is available in Team -mode; Solo does not expose terminal authentication or booking. - -- [x] Per-terminal QR, PIN, or combined authentication, preserving QR-only - configuration for existing terminals after an upgrade. -- [x] Personal number and a separate eight-digit terminal PIN; HR generation - with one-time display, replacement, disabling, and unlocking. -- [x] Short-lived device-bound permission after identification, followed by an - explicit clock-in/out action without an employee session on the kiosk. -- [x] Shared attempt limits, credential/configuration revocation, transactional - duplicate protection, and safe retries of an unconfirmed booking. -- [x] German/English kiosk and HR interfaces, personal-data cleanup, online-only - booking, and optional server-validated geofencing. -- [x] HR authentication audit, restricted runtime database rights, signed event - chain, and export/verification tools for independent archive anchors. -- [x] Forward-only migration, QR/PIN and access-control regression tests, local - Docker verification, and operator documentation. - -See [release notes](RELEASE_NOTES.md) for validation and -[PIN operations](docs/TERMINAL_AUTH_OPERATIONS.de.md) for deployment requirements. -Local acceptance does not configure a production archive or certify every -tablet/browser combination. Operators validate their devices, GPS requirements, -sleep/resume behaviour, and independently managed archive and retention setup. + The open proposal for mobile offline booking covers local storage and + synchronisation. [Issue #55](https://github.com/patrickschiller/openclockwork/issues/55) + +## 3. Team terminals, approvals and working-time reports + +### QR/PIN terminals in 2.1.0 + +- HR chooses QR, PIN, or both for each Team terminal and manages separate + eight-digit employee PINs. Successful identification gives the employee a + short-lived, device-bound permission for an explicit booking action. + [Issue #33](https://github.com/patrickschiller/openclockwork/issues/33) +- Terminal authentication uses shared attempt limits and supports revocation. HR + can inspect authentication events. Operators can export the signed event chain + for verification against an independent archive anchor. + [PIN and audit operations](docs/TERMINAL_AUTH_OPERATIONS.de.md) + +### Reporting and review in 2.2.x + +- HR can export working-time PDFs for one, several, or all employees. The + period report compares recorded net working time with contractual targets + from HR-confirmed contract periods. [Working-time reports](docs/WORKING_TIME_EXPORTS.de.md) +- The Team cockpit shows today's bookings and pending reviews for managers' + direct reports and gives HR an organisation-wide view. Managers and HR can + record eligible entries on an employee's behalf with an audit trail. Returned + requests can be edited and resubmitted, existing bookings can be corrected + through a request, and outside-frame bookings go to the manager and then HR. + [Release notes](RELEASE_NOTES.md#openclockwork-v221) + +### Break stamping and terminal-only booking in 2.3.0 + +- Employees on a work schedule with break stamping enabled can start and end + breaks at a QR or PIN terminal. Schedules can define planned starts, break + windows and tolerances. The original punches remain visible alongside the + assessed times, and HR or the assigned manager can review flagged cases. + [Discussion #40](https://github.com/patrickschiller/openclockwork/discussions/40) +- HR can disable direct browser and PWA clock-in, clock-out and daily-block + booking per employee. Terminal-only employees use QR or PIN to clock in and + out and can access the dashboard, history and requests. The default allows + direct web booking. [Discussion #54](https://github.com/patrickschiller/openclockwork/discussions/54) + +## Proposed project activity capture at PIN terminals + +An open pull request proposes a per-project activity catalogue and optional +activity selection and switching at PIN terminals. It also proposes including +selected activities in customer reports and CSV exports. The public discussion +separately raises quantity tracking. [PR #60](https://github.com/patrickschiller/openclockwork/pull/60), +[Discussion #39](https://github.com/patrickschiller/openclockwork/discussions/39) ## 4. Optional RFID terminal extension -RFID remains the separate, unimplemented increment B of issue #33. No particular -reader is required by the PIN release. Future reader support must be tested with -the devices and badges chosen by the operator. +The optional RFID increment covers keyboard-wedge readers and badge management. +Future reader support will need testing with the devices and badges chosen by +the operator. [Issue #33](https://github.com/patrickschiller/openclockwork/issues/33) - [ ] Keyboard-wedge reader support through an explicit scan dialog, with a configurable manual submit or reader-Enter submit mode per terminal. @@ -139,8 +150,7 @@ the devices and badges chosen by the operator. - [ ] Reader format/focus validation, real-device acceptance, operational guidance, and QR/PIN regression coverage. -RFID work can proceed independently of the billing roadmap. PIN acceptance does -not mark the remaining RFID scope of issue #33 as completed. +RFID work can proceed independently of the billing roadmap. ## 5. Customer billing and invoice creation @@ -180,11 +190,9 @@ customer invoice from tracked work and follow it through payment or correction. [CAUR — Coding Agent Usage Record](https://github.com/patrickschiller/caur) defines a vendor-neutral usage record for a completed or interrupted coding-agent -run. It is a separate specification project, not an invoice format or pricing -catalogue, and is not imported by OpenClockwork 2.2.1. A future integration should -consume explicitly supported schema versions and provide attribution, review, -and billing around them. Its design should follow the -[CAUR specification](https://github.com/patrickschiller/caur/blob/main/SPEC.md) +run. A future OpenClockwork integration should import explicitly supported schema +versions and provide attribution, review, and billing around the records. Its +design should follow the [CAUR specification](https://github.com/patrickschiller/caur/blob/main/SPEC.md) and [JSON Schema](https://github.com/patrickschiller/caur/blob/main/schema/caur-v0.1.schema.json). - [ ] **Ingestion:** validated file import and authenticated API ingestion, explicit