| support_line | support_line | who mends it: hospitality (first line), experiencenet (second), partner (third) |
| waiting_on | waiting_on | what a blocked issue is waiting for, in the words of whoever blocked it. Also written as a comment, which stays the record; this copy exists so a list can show it. Cleared when the block is lifted |
| POST /api/v1/issues/{id}/attachments | Bearer (api) | For a service filing on somebody's behalf: create the issue, then post the file. hydravenues uses this to carry a host's photo of a stand |
| POST /api/v1/issues/{id}/attachments | Bearer (api) | Attach files to an existing issue (multipart, field attachments) |
HydraIssue is an issue reporting microservice for the Hydra ecosystem. It provides a public web form for reporting issues, an API for programmatic access, and an admin dashboard for triage and management.
hydraissue on pi-node-004-nvme (mesh 10.10.100.18, host port 30004)hydraskin update hydraissue --tag vX.Y.Z (dry run) and --apply on pi-node-004-nvme over the hydracluster exec transport. See the "Updating a scale" section of the hydraskin runbook.curl https://issues.experiencenet.com/api/v1/health
| Method | Path | Auth | Description |
|--------|------|------|-------------|
| GET /api/v1/health | none | Health check |
| GET /uploads/{id}/{filename} | none | Serve uploaded attachment |
| POST /api/v1/issues | Bearer (api) | Create issue |
| GET /api/v1/issues | Bearer (api) | List issues (query: status, category, project, active_only) |
| GET /api/v1/issues/{id} | Bearer (api) | Get single issue |
| PATCH /api/v1/issues/{id} | Bearer (api) | Update issue (status, priority, category, plan, parent, custom_fields), or claim it with workflow |
| DELETE /api/v1/issues/{id} | Bearer (api) | Delete issue |
| PUT /api/v1/issues/{id}/plan | Bearer (api) | Update plan text and status |
| POST /api/v1/issues/{id}/comments | Bearer (api) | Add comment |
| POST /api/v1/issues/{id}/nim-actions | Bearer (api) | Record agent action (name, action) |
| GET /api/v1/stats | Bearer (api) | Aggregate statistics |
| GET /api/v1/reports/quality | Bearer (api) | Quality review report (query: since, until, format) |
| POST /api/v1/webhooks | Bearer (api) | Register a webhook |
| GET /api/v1/webhooks | Bearer (api) | List registered webhooks |
| DELETE /api/v1/webhooks/{id} | Bearer (api) | Unregister a webhook |
| GET /api/v1/runbook | none | This runbook (markdown) |
Session cookie auth (/login with the admin token), not Bearer.
| Method | Path | Description |
|--------|------|-------------|
| GET /admin | Dashboard |
| GET /admin/issues | Issue list |
| GET /admin/issues/{id} | Issue detail |
| POST /admin/issues/{id}/status | Update status |
| POST /admin/issues/{id}/priority | Update priority |
| POST /admin/issues/{id}/parent | Set or clear the parent issue (form field parent, blank clears) |
| POST /admin/issues/{id}/comment | Add comment |
| POST /admin/issues/{id}/attachments | Upload attachments (multipart, field attachments) |
A single field tracking the full issue lifecycle from creation through implementation.
| Status | Meaning | Set by |
|--------|---------|--------|
| open | New issue, not yet groomed | Issue creation |
| groomed | Triaged and ready for planning | groom-issues skill |
| planning | Agent is writing an implementation plan | plan-issues skill |
| proposed | Plan submitted for human review | plan-issues skill |
| accepted | Plan approved, ready for implementation | Human via UI |
| rejected | Plan rejected, parked until a human moves it back to groomed | Human via UI |
| implementing | Agent is actively implementing the plan | next-plan skill |
| done | Implementation is complete | next-plan skill |
| closed | Issue closed manually (won't fix, duplicate, etc.) | Human via UI |
| blocked | Cannot be worked yet: something it needs has not arrived | Human via UI, or hydravenues from the floor |
Transition rules: Terminal states (done, closed) cannot regress to earlier lifecycle states. For example, a done issue cannot be set back to groomed or open. Terminal states can only transition to each other (done ↔ closed). The API returns 409 Conflict when an invalid transition is attempted.
blocked is not part of the planning sequence and is deliberately not
terminal. It records that something a fault needs has not turned up: a
computer, a cable, a person. Whoever marks it must be able to unmark it the
moment the missing thing arrives, so blocked goes back to open freely, and
it counts as open everywhere a count of open work is made. That is the whole
difference from closed, which is one way and final.
At FTI the floor sets it from the stand page in hydravenues, which writes the reason as a comment before it changes the status, because "blocked" with no reason tells nobody what to bring.
The status filter supports comma-separated values: ?status=open,groomed,planning
The stage query parameter provides semantic shortcuts for common agent queries. It resolves server-side to the appropriate status values, so skills don't need to hardcode statuses.
| Stage | Resolves to | Used by |
|-------|------------|---------|
| groomable | open | groom-issues |
| plannable | groomed | plan-issues |
| implementable | accepted | next-plan |
| active | all except done, closed (blocked is included) | dashboards |
Example: GET /api/v1/issues?stage=plannable
An external engineering flow can CLAIM an issue, so that automated work leaves it alone while a person or an agent is on it.
PATCH /api/v1/issues/{id} {"workflow": "manual"}
The reply carries manual: true along with the issue. The nimsforest
engineering tool refuses to start unless it reads that back, so the field name
is a contract, not an implementation detail.
A claim is a LOCK, not a label:
workflow: "manual". That is how the owner identifies itself.planning or implementing, so it
cannot steal work that is already underway.?stage= listing, which is what sweepers
and skills read. It is still visible through GET /api/v1/issues.To release an issue, send {"workflow": "automatic"}. The engineering tool never
sends this, but without it a failed job would strand an issue forever.
| Priority | Meaning |
|----------|---------|
| (unset) | Not yet triaged |
| low | Nice to have, no urgency |
| medium | Should be addressed in normal course |
| high | Needs attention soon |
| critical | Blocking or production-impacting |
The lists at / and /admin/issues sort most urgent first (v1.18.0;
newest first until then). The sort is stable, so rows of one level stay
newest first. Issues with no priority sort last: most reports arrive
untriaged, and putting that pile on top would hide the judged rows.
?sort=new gives the log as a log, newest first, and the Sort control
offers both. ?sort=priority still means what it did, which is now also
the default, so an old bookmark lands where it used to.
The API is unaffected and always returns newest first. A caller that asked for a project's issues and got them newest first still does; the order is a question about the page, so it is applied in the web handlers and nowhere else.
| Category | Meaning |
|----------|---------|
| bug | Something is broken |
| feature | New functionality request |
| improvement | Enhancement to existing functionality |
| question | Clarification or support request |
| unclassified | Default when no category specified |
A project is free text on the issue; nothing validates it. The dropdowns on
/, /admin/issues and /report offer every project the index holds, plus
the ones projects: in config.yaml names, alphabetically. A project that
first appears through the API needs no config edit and no redeploy to show
up in the filter; the configured list only exists so a project with no issue
yet can still be picked on the report form.
Descriptions, plans and comments are rendered as GitHub-flavoured markdown (since v1.12.0). Headings, lists, tables, task lists, code spans, fenced blocks, blockquotes and strikethrough all work. Bare URLs are linkified.
#123 becomes a link to issue 123. Write references bare, no markdown link
syntax needed:
Blocked on #554, superseded by #116.
The link target follows the page you are on: a reference on /issues/{id}
links to the public view, the same reference on /admin/issues/{id} links to
the admin view, so an operator clicking through a master tracker keeps the
status and priority controls.
Not treated as references:
| Input | Why |
|-------|-----|
| `#554` or a fenced block | Inline parsers do not run inside code |
| ## Purpose | Consumed by the heading parser first |
| #12ab34 | A trailing letter disqualifies the run |
| #000 | Id 0 is rejected |
| More than six digits | Keeps hex colours in prose from linking |
Issue titles are not rendered as markdown, so a #123 in a title stays
plain text.
Hard wraps are on: a single newline renders as a line break. This keeps the several hundred plain-text issues written before v1.12.0 readable instead of collapsing them into run-on paragraphs.
POST /report is public and unauthenticated, so issue text is untrusted. Raw
HTML in a description is not passed through to the page. Use markdown, not HTML.
An issue can reference one parent issue. This turns the parent into a master issue with a sub-issue list.
POST /api/v1/issues with "parent": N, or the optional "Parent issue" field on /report (prefill with ?parent=N).PATCH /api/v1/issues/{id} with "parent": N to set, "parent": 0 to clear, field absent to leave unchanged. The admin issue page has the same control in the sidebar.GET /api/v1/issues summaries include parent, so clients can group sub-issues under their master.Issues support an optional custom_fields JSON object for project-specific metadata. Custom fields are stored as a free-form key-value map — no schema is enforced.
curl -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"Example","description":"...","project":"nimsforest","custom_fields":{"environment":"staging","severity_score":8}}' \
https://issues.experiencenet.com/api/v1/issues
A PATCH /api/v1/issues/{id} carrying custom_fields MERGES: the keys it names are written and
every other key is left as it was. It used to replace the whole map, which meant that setting one
field erased where a floor report happened. Send an empty string to remove a key:
curl -X PATCH -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"custom_fields":{"effort":"low","support_line":"hospitality"}}' \
https://issues.experiencenet.com/api/v1/issues/941
Custom fields are free-form, but four keys are copied into the index at issues.yaml so a list can
be grouped and sorted without reading every issue file:
| Key | Index field | Meaning |
| --- | --- | --- |
| world | world | the floor a report came from |
| subtheme | subtheme | the grouping inside that floor |
| effort | effort | how much work the fixer says it is: low, medium, high |
| support_line | support_line | who mends it: hospitality (first line), experiencenet (second), partner (third) |
No value is validated here: the service that writes them owns the vocabulary. hydravenues refuses anything outside those words before it sends them.
The public report form (/report) includes an optional "Custom fields" section where users can enter a JSON object.
Custom fields render as key-value pairs on both the public issue view and the admin detail page.
Files live on disk under ~/.hydraissue/data/uploads/{issue_id}/, and the issue YAML holds the
stored filenames. Stored names are prefixed with an index (0_notes.txt, 1_spec.md), so the same
filename uploaded twice is kept twice rather than overwritten.
| Where | Who | Notes |
|-------|-----|-------|
| /report | anyone | Optional attachments on the public report form |
| POST /admin/issues/{id}/attachments | admin session | Upload form on the admin issue detail page; appends to the existing list |
| POST /api/v1/issues/{id}/attachments | Bearer (api) | For a service filing on somebody's behalf: it creates the issue, then posts the file as a second call |
Limits apply to all three paths: 50 MB per file, and executable extensions (.exe, .dll, .bat,
.cmd, .ps1, .vbs, .msi, .dmg, .app, .scr, .com) are rejected. Rejected or oversized
files are skipped silently, and the rest of the upload still succeeds.
An admin or API upload updates the issue's updated_at, rewrites the issue's index entry and
fires the issue.updated webhook.
curl -X POST -H "Authorization: Bearer $API_TOKEN" \
-F "attachments=@V112B-7f3a9c1e.jpg" \
https://issues.experiencenet.com/api/v1/issues/931/attachments
Create the issue first, then post each file. A file that fails to upload must not cost the report, which is the part nobody can type again, and one file per request means a retry can never land the same photo twice.
Unlike the browser paths, this one answers 400 when no file was accepted rather than 200 with an empty list. A caller that is told nothing went wrong will report a photo as attached, and the person who took it will believe somebody can see it.
hydravenues is the first caller: a host reporting a fault from a stand page photographs the stand, and the photo arrives here. See the "A photo with a floor report" section of the hydravenues runbook.
issues.yaml carries the stored filenames as well, so a list can say "this one has a photo" from
one request. This is what lets a hydravenues stand page show a thumbnail for eighty stands without
opening eighty issues.
The index is written when an issue is created, which is before any file can have arrived, so
SetAttachments and AddAttachments rewrite the index entry too. Issues written before the field
existed are filled in by a backfill at start, which reads the issue files once and rewrites the
index only if something was missing.
There is no delete. To remove an attachment, delete the file under uploads/{issue_id}/ and edit
the attachments list in the issue YAML.
/report) or the API (POST /api/v1/issues)~/.hydraissue/data/issues/~/.hydraissue/data/issues.yaml enables fast listing/admin) using session cookie authPUT /api/v1/issues/{id}/plan — the status lifecycle (proposed → accepted → implementing → done) provides human-in-the-loop approval before agents executeExternal services can register webhooks to receive issue events in real time. Registrations are dynamic — no config changes or restarts needed.
curl -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/webhooks/issues","events":["issue.created","issue.updated"],"projects":["nimsforest2"]}' \
https://issues.experiencenet.com/api/v1/webhooks
issue.created, issue.updated, issue.commentedcurl -H "Authorization: Bearer $TOKEN" https://issues.experiencenet.com/api/v1/webhooks
curl -X DELETE -H "Authorization: Bearer $TOKEN" \
https://issues.experiencenet.com/api/v1/webhooks/wh_1
{
"event": "issue.created",
"timestamp": "2026-03-04T12:00:00Z",
"data": { ... full issue object ... }
}
Delivery is fire-and-forget with 3 retries (1s, 2s backoff) and a 5s timeout per attempt.
Agent actions are tracked via append-only nim_actions on each issue. This prevents duplicate processing and provides an audit trail.
curl -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"nebula","action":"groomed"}' \
https://issues.experiencenet.com/api/v1/issues/42/nim-actions
Common actions: groomed, planning, planned, implementing, implemented.
Users can attach files (images, PDFs, logs, archives, etc.) when submitting issues via the web form.
/root/.hydraissue/data/uploads/{issue_id}/{i}_{filename}GET /uploads/{id}/{filename} (public, no auth required).exe, .dll, .bat, .cmd, .ps1, .vbs, .msi, .dmg, .app, .scr, .com[a-zA-Z0-9\-_.] only; path traversal is rejectedTo clean up orphaned upload directories:
ls /root/.hydraissue/data/uploads/
# Remove dirs for deleted issues manually if needed
There are two doors, and they are not the same door.
People sign in at iamnim. The admin side has no password. A person who opens
/admin is sent to the identity service, signs in there, and comes back with a
session. They are let in if, and only if, they hold a membership of the
experiencenet organization, which is the Hydra organization in Pantheon.
Membership is the whole of it: the Pantheon administrator flag is deliberately
not consulted, because it names exactly one email address per organization and
would lock out the other accounts the same person signs in with.
Machines use the API bearer. api_token in config.yaml is unchanged and
is what nim agents, skills and CI post with. The identity service is the person
edge; a machine is not a person and never holds a session.
Config:
iamnim:
base_url: "https://iamnim.com"
organization_slug: "experiencenet"
Both values are the defaults, so a config file that says nothing about iamnim still gates the admin side exactly this way. There is no setting that opens the admin side without the identity service.
GET /admin with no session redirects to /login?next=<where they were going>.GET /login redirects to <iamnim>/login?redirect_uri=https://issues.experiencenet.com/authed?next=..../authed with the session in a
?token= query parameter, which is what it offers today. The one-time code
exchange that would remove the parameter is #591, upstream./authed moves that value into an HttpOnly, Secure, SameSite=Lax cookie and
redirects in one hop, so no session value stays in the address bar, in
history or in a Referer header. That response carries
Referrer-Policy: no-referrer and Cache-Control: no-store, and its query
string is never logged.POST /logout drops the cookie and lands on the public issue list. It does
not sign the person out of the identity service.| Page | Status | Cause |
|------|--------|-------|
| "this tracker is for the Hydra organization" | 403 | The person signed in, but holds no experiencenet membership. Grant one in Pantheon, see the iamnim runbook. |
| "That sign-in did not stick" | 401 | The identity service rejected a session it had just issued. It keeps sessions in memory, so a restart invalidates every one of them. Sign in again. |
| "this browser did not keep the session cookie" | 401 | Private browsing, or a cookie block. The page says so instead of bouncing back to sign-in, which would loop for ever. |
| "The identity service did not answer" | 502 | iamnim is unreachable from the scale. Nobody can be let in until it answers. |
Each of these ends on a page. None of them redirects back to the identity service, because that is how a sign-in loop starts, and that loop is what made the hydraorganization dashboard look like a page which never loads (#644).
There is no break-glass password, by decision (#995). If the identity service
is down, or a membership is missing, the admin pages stay shut. The work does
not stop: the API still takes its bearer token, so an issue can be read,
commented on, re-prioritized and closed with curl while the admin side is
unreachable. See the API section above.
To put the admin side back:
hydraskin update hydraissue --tag v1.15.0 --apply on pi-node-004-nvme.The real identity service only returns a person to an https host on a known
domain, so it cannot hand a session to a loopback port. scripts/localidentityservice
stands in for it. It authenticates nobody, it refuses to listen on anything but
loopback, and it must be stopped when the test is over:
go run ./scripts/localidentityservice --addr 127.0.0.1:8098
Point the test config at it, and sign in as a member or as somebody else:
iamnim:
base_url: "http://127.0.0.1:8098"
organization_slug: "experiencenet"
go run ./scripts/localidentityservice --addr 127.0.0.1:8098 --organization visit-flanders # the 403 case
HydraIssue auto-updates from releases.experiencenet.com every 6 hours via hydrarelease. Disabled in dev mode (--dev).
To check the current version:
hydraissue version
cat /root/.hydraissue/config.yamlss -tlnp | grep 8085journalctl -u hydraissue -f?active_only=true to filter, default shows all for backward compatibility.ls /root/.hydraissue/data/issues/cat /root/.hydraissue/data/issues.yamlapi_token in configHetzner automated daily server snapshots are enabled on hydrastreamingmonitor (78.47.174.83), context hydraexperiencenet. Backup window: 02:00–06:00 UTC, 7-day retention.
The snapshot covers the entire server disk, including:
/root/.hydraissue/data/issues/ — all issue YAML files/root/.hydraissue/data/uploads/ — file attachments/root/.hydraissue/data/issues.yaml — index/root/.hydraissue/config.yaml — service confighydraexperiencenet project), open Servers → hydrastreamingmonitor → Backups.curl https://issues.experiencenet.com/api/v1/health
curl -H "Authorization: Bearer $TOKEN" https://issues.experiencenet.com/api/v1/issues?active_only=true
If only the data directory needs to be recovered (e.g. accidental deletion), mount the snapshot as a temporary volume or copy files off it via the Hetzner rescue system, then rsync back to /root/.hydraissue/data/.