A local-first multi-agent app development platform, built on PenguinHarness
Tickets are read in the frontmatter format only
- Date: 2026-09-16
- Type: refactor
- Scope:
server,skills - PR: #754
- Breaking: yes — a ticket file still in the
# Ticket:header format is reported as invalid instead of being read
Company mode's tickets have one format on disk: YAML frontmatter followed by the prose
sections. The reader for the format before it — a # Ticket: <title> line followed by
Key: value headers — was removed on the schedule set in
backward compatibility. A ticket file that does
not open with --- now fails to parse with the file must start with `---` (YAML frontmatter).
Details
parseLegacyTicket, its header and progress-line helpers, the older ticket-id pattern it accepted inParentandBlocked-by, and the server'ssplitPrincipalList, which only it used, were deleted frompackages/server/src/organization/.- The
company-employeeskill stopped naming the old headers:penguin org ticket blockis described as writingblocked/blocked_by, and the skill and the handbook a new organization is created with say "ticket fields" where they said "ticket headers". Theagent-companyplugin version moved to2026.09.17.1.
Compatibility
Affected: a ticket written in the header format by a build before 0.2.13 and never written to since — 0.2.13 rewrote every ticket in the frontmatter format on its first write. Such a file is left on disk untouched and is handled like any other ticket file that does not parse:
- The board shows it only under "Ticket files that failed to parse", with its path and the error;
penguin org ticket lsprints it as aninvalidrow (invalidFilesunder--json), and the reconcile pass records anorg_ticket_invaliderror. - Opening it answers 404
ticket_not_found; every write to it is refused with 409ticket_invalid(400bad_requeston read and write alike when its slug still carries a digit or is otherwise not letters-only), so nothing converts or overwrites it. A new ticket that would take its id gets the next suffix. - Until it is repaired, the sessions only it names count toward no ticket and no employee's spend,
and a ticket whose
parentnames it is flagged for a missing parent.
To recover a ticket whose slug is letters-only, write to it once through 0.2.13 (a progress line or a move converts it), or convert it by hand with the mapping below. The 0.2.13 write path helps no other ticket, because 0.2.13's routes already answered any other id with 400; recover such a ticket by hand, in three steps:
- Rename the file, in the directory it sits in, to an id with a letters-only slug: keep the
<yyyy-mm-dd>-prefix, write the slug as lowercase English words joined by hyphens, and add a letter suffix (-b,-c, …) when that id is taken. - Replace the title line and headers with a frontmatter block, following the mapping below.
- Wherever another ticket's
parentorblocked_bynames the old id —ParentorBlocked-byin a file still in the header format — write the new id instead.
The mapping from the headers to the frontmatter:
# Ticket: <title>→title;Status→status(it must match the column directory).Owner→owner, or theInitiatorvalue whenOwneris empty.Initiator→ the firsthistoryentry:{at: <time of the first progress line>, by: <initiator>, action: created}.Notify: a, bandSessions: a, b→ the listsnotify: [a, b]andsessions: [a, b].Parent,Priority,Due,Blocked→parent,priority,due,blocked;Blocked-by→blocked_by. A ticket id there needs a letters-only slug: a renamed ticket's new id.- Any other
Key: valueheader → a field of the same name. - Each
## Progressline- <time> <principal> <text> session:<id>→- <text>, plus ahistoryentry{at: <time>, by: <principal>, action: progress, note: <text>}.