Lanyard
Available
Rosters from availability and leave, phone clocking, approved timesheets and an immutable payroll-hours handoff.
Lanyard is available as MIT-licensed source for self-hosting. See its public source and release documents for setup. Business can also install and run projects for invited accounts; the app shows whether it offers Lanyard before checkout.
Run Lanyard on your own computer with one line:
npx -y @runeditrun/rer dev just-every/run-lanyard
It clones the public source, installs it, sets up a local owner and starts the app; nothing is deployed. To set up without starting, run npx -y @runeditrun/rer setup just-every/run-lanyard. Without Node 22 or later, run curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-lanyard.
Or have your agent set it up for a Business: Start a Business with Lanyard ticked
For HappyToHelp: Assisted is in early access; Managed is in early access.
- Category
- workforce
- Licence
- MIT
- Version
0.1.5- Requirements
- 16 clauses
- Release signature
- Signed by just-every · key
rer-ed25519-5a42fb9c9c4f8acb2b32386e9e40461c· statement - Target release
- v0.1.5 · published
- Publisher’s stage
- first-release
- Instead of
- Deputy, When I Work, Homebase
Outside services
The services the project declares it sends data to, each with its reason.
cloudflare- Worker hosting
Scope and limits
What it will not do
- Pay calculation and award interpretation
- Provider payroll submission
- Employment-history erasure
Declared limits
- Status
- unmeasured
Requirements
All 16 clauses of Lanyard’s CONTRACT.md. They say what the project must do; the handover and verification records say what is built and tested.
ACCESS 1 clause
ACCESS-001Native sessions and server-side authority Owners grant access; managers make staffing and time decisions; staff see their own private work. Every private page, state read, mutation and payroll download checks the live native session, role and ownership on the server. Browser mutations require the configured origin. Deactivation revokes existing staff access immediately; a manager cannot approve their own time or leave. Acceptance evidence: Sign in as owner, manager and two staff through native invitation/confirmation routes; use the app and HTTP commands, attempt cross-person reads, self-approval, signed-out and cross-origin mutations, then deactivate a signed-in employee. Unauthorized attempts fail without writes.
PEOPLE 1 clause
PEOPLE-001Staff lifecycle and payroll identities The owner adds, edits, activates, invites and deactivates employees with a unique email and payroll identifier and an explicit staff or manager role; staff without email use PEOPLE-003. Stale revisions cannot overwrite newer people records. Invitation and activation remain separate actions; removing access retains employment history. Acceptance evidence: In People, create and invite staff, reject duplicate email/payroll IDs, edit the exact revision and deactivate a signed-in person. Their prior shifts and hours remain while their private requests are denied.
MOVE 1 clause
MOVE-001Reviewed Staff CSV move-in The owner previews Staff CSV v1 without writes and applies only the exact reviewed fingerprint. Imported people start inactive and uninvited. Original inputs, mapping provenance, results and an import journal remain inspectable; undo removes untouched imports and preserves later native edits and dependent work. This documented format is not a verified vendor adapter. Acceptance evidence: Paste Staff CSV in Move in, preview and inspect it, reject changed bytes at apply, apply the reviewed input, read its originals/journal, edit one imported person and undo. Only untouched rows disappear and nobody is invited automatically.
ROSTER 3 clauses
ROSTER-001Availability and explicit leave decisions Staff record availability and request dated time off; managers approve or reject the exact pending request. Pending requests do not silently become approved absence. Self-approval and approval that collides with an already published shift are refused; the manager resolves coverage explicitly. Acceptance evidence: Through staff and manager app/command doors record availability, request overlapping leave, reject self-approval, approve a valid request and attempt a published-shift conflict. Inspect the decision author and retained state.ROSTER-002Conflict-checked revision publication Managers or delegated agents prepare a weekly roster, then a human manager publishes the exact revision. Publication rechecks active staff, availability, approved leave and overlapping assignments atomically. Republishing supersedes the previous week revision without deleting its work history; stale drafts fail. Acceptance evidence: Prepare an invalid week through the roster API and see named conflicts and refused publication. Prepare a valid week, attempt stale approval, publish as a manager and inspect superseded records and activity. A changed input requires fresh review.ROSTER-003Personal published schedule confirmation Employees see their own current published shifts and confirm the exact shift revision. A confirmation records who and when, and cannot acknowledge a superseded shift or somebody else's assignment. Confirmation indicates the employee's response, not completed work. Seeing coworkers' shifts is ROSTER-004. Acceptance evidence: Publish a roster, open it as each employee and confirm a personal shift. Attempt a foreign or stale confirmation; inspect the visible published assignment and confirmation separately from clock records.
TIME 2 clauses
TIME-001Identity-bound phone capture and replay A signed-in employee clocks in and out with original capture time, receipt time and a stable command identity. Retrying the same body/person returns the same result without duplicate time; reusing its identity for a changed body or person fails. Only one open clock is allowed and captured unpaid break minutes reduce worked minutes. CLOCK-002 encrypts and retains the phone client’s pending captures across restart. Acceptance evidence: Use staff clock commands to start and stop a shift, replay both events, and reuse an identity with another time/person. Read one closed clock and one submitted timesheet with correct net minutes; an employee cannot approve it.TIME-002Exact time approval and linked corrections Managers review submitted hours, prepare reasoned missed time and approve the exact revision. A correction links to the latest approved source, retains the original and requires fresh approval; overlap and future-time checks apply. Employees never approve their own work and a pending correction prevents exporting its obsolete source. Approving many timesheets at once is TIME-008, under the same exact-revision rule. Acceptance evidence: Prepare missed time, approve it through a manager session, correct its break or duration, approve the correction and inspect retained superseded history. Reject self/stale approval and overlapping work; attempt payroll export while a correction awaits decision.
PAYROLL 2 clauses
PAYROLL-001Reviewed once-only payroll files and signed adjustments A manager reviews the exact approved-source CSV and explicitly exports that revision. Unique source claims prevent two batches claiming the same time revision. Downloads verify immutable bytes and hash and are manager-only; later corrections export the signed difference from previously claimed time. Payroll IDs must still match at export. Downloading twice does not create a new batch, but cannot prevent somebody uploading a file twice outside Lanyard. Acceptance evidence: Prepare two competing batches through payroll commands, export one and reject the other. Download identical bytes twice through the authenticated CSV route, refuse staff access, then approve a negative correction and export only its delta while the old download stays unchanged.PAYROLL-002Explicit manual provider acknowledgment After downloading a payroll file, a manager records the provider reference against the exact exported batch. Lanyard labels this as a person-recorded acknowledgment. It does not imply a live transfer, provider readback, payroll application or wage payment; those states belong to SYNC-001 and the named connectors. Acceptance evidence: Export hours, record a provider reference through payroll.acknowledge, reload the batch and inspect its reference, actor and time. A draft cannot be acknowledged and a stale batch revision is refused.
AGENT 1 clause
AGENT-001Preparation-only delegated authority The owner issues expiring revocable preparation keys. Agents read a reduced context and prepare roster, time and payroll drafts; only a native human manager publishes, approves or exports. Agents receive no payroll IDs, download files or staff contact details through their context. Server authority applies through both human and agent doors. Acceptance evidence: Issue a key, read agent context and prepare time; attempt approval/export through both HTTP doors, approve as a human, revoke the key and immediately retry. Inspect redacted context and distinct agent preparation versus human decisions.
ARCHIVE 1 clause
ARCHIVE-001Complete installation archive with authority exclusions Owners export and atomically restore supported people, original owner identity, rosters, time revisions, payroll files/source claims, events and import originals/journals into an empty compatible installation. Corrupt or populated imports fail. Sessions, sign-in links, agent keys, provider credentials and the development outbox do not travel; configuration is re-entered and the archived owner signs in again. This retained-owner policy deliberately replaces a generic Base restore that might establish a new owner. A destination or supplied later erasure journal fences older erased identities; disconnected old copies cannot know about later erasure. Acceptance evidence: Use public rer export/import commands on an installation with staff, published shifts, corrected/exported hours and import history. Round-trip records and files, reject damaged/populated imports, inspect excluded authority and sign in anew as the archived owner; supply a later erasure journal to refuse resurrection.
ERASE 1 clause
ERASE-001Unused identity erasure and restore fence An owner erases only an unused, uninvited, never-imported staff identity, replacing personal values and recording an erasure fence that rejects recreation/import by the erased identity. Employed, invited or imported people are deactivated and their legally relevant history retained; expanded retention and privacy controls are PRIVACY-001. Acceptance evidence: Create an unused person, erase via its exact revision, inspect the state for removed name/email, refuse native/CSV recreation and refuse an older archive with the later fence. Attempt erasing invited or imported staff and require retention with deactivation available.
AUDIT 1 clause
AUDIT-001Durable decisions and transactional history Publication, time decisions, payroll export/acknowledgment, import actions, erasure and payroll downloads retain actor, role, subject and time. State mutation, payroll source claims, decision event and replay outcome commit together or fail together. An import action (apply, resume, undo or rollback) records one event per staff record it creates or removes, named for the action and committed in the same atomic batch as that record; a payroll download records its own event. Audit survives restart and supported archives. Activity is read by role, newest 100 events per reader: owners read all of it; a manager reads the events about people whose home cafe is the manager's own (an unnamed cafe is one cafe) and about that cafe's settings, with a setting naming no cafe read by every manager, until TEAM-001 adds finer site and team scopes; staff read the events on their own records (their staff record and records carrying their staff id, never rosters, batches, postings or templates covering several people); everyone reads the events they performed; events on anonymous FEEDBACK-001 feedback record their actor only as a keyed digest and are read by no one; an employee never reads events on a private JOURNAL-001 note about them; agents read none. An event's people are its subject record's person and the people on a roster's or posting's shifts, a template's slots and a payroll batch's lines, judged by today's home cafe; installation settings and records no longer present are owner-only. An event shows only actor, role, action, subject id and time, never employee-private fields. Acceptance evidence: Perform the roster-to-payroll journey through public doors, inspect each actor/revision/event, restart and round-trip the archive. Cause a stale concurrent mutation and verify no orphan decision or source claim appears. Read the activity as the owner (all of it), the cafe's manager (everything about the cafe's people, nothing about another cafe), a second cafe's manager (only that cafe's person and setting) and an employee (only events on their own records, never roster publication or payroll); each event carries only actor, role, action, subject id and time.
PUBLIC 1 clause
PUBLIC-001Public run site and installed Lobby The public run site presents the target product, opens /run for installation and builds owner guides at /docs from repository Markdown. The installed / remains the shared Lobby, reflecting the durable owner claim before separate first-run confirmation. Public marketing, installation and private operational state stay distinguishable; enabling deployment remains an explicit repository operation. Acceptance evidence: Build the run site, follow homepage to /run and /docs, then claim an installation through native setup and inspect the installed Lobby before and after first-run confirmation. Private product data remains session-protected.
BASE 1 clause
BASE-001Maintained installation and operations commands The maintained command surface remains SEED-COMMAND-CONTRACT.md: pinned dependencies, setup, dev/preview, build/check/verify, owner-account deploy, export/import, diagnostics and explicit reset. Product-owned archive and erasure policy replaces only the stated Base data behavior; native auth, deployment identities and shared Lobby are retained. Build/deploy never run tests and development credentials cannot enter hosted output. Acceptance evidence: From a fresh clone use documented command help and structural check, launch and sign in, build and verify, exercise backup/restore, then perform a provider-authorized deployment and health readback. Reset requires explicit confirmation and never removes another installation.
View as agent
Everything on this page is in these files, copied unmodified from the release. An agent evaluating Lanyard can read them instead of the page.
seed.json- The manifest: capabilities, outside services, extension points, limits, operating cost and deployment needs.
CONTRACT.md- The requirements on this page, in source form.
AGENTS.md- Instructions for the coding agent that maintains an installation.
README.md- Source setup, available commands and implementation status.
OPERATIONS.md- How the project is set up, operated and deployed.
ACCEPTANCE.md- What the publisher accepts as a finished release.
Every project, with its availability, is in /agents/catalogue.json; the agents page describes the machine-readable files.