JobbJakt backlog operations
JobbJakt Development and repository issues own active development. The reconciliation maps earlier requirements to issue numbers. The inventory and issue IDs and batch checkpoints describe the migration baseline. Read live issues for subsequent edits, scope decisions and progress.
Running the tools
Run these commands at the repository root. Read operations work anonymously on this public repository. For API writes use a scoped Gitea token with issue write and repository read permissions. On Windows the wrapper accepts the current user's DPAPI-encrypted credential. Create it once with Read-Host 'Gitea token' -AsSecureString | Export-Clixml "$env:LOCALAPPDATA\JobbJakt-Gitea-token.xml". Alternatively supply GITEA_TOKEN from a secret manager to the Python process. Avoid storing credentials in the worktree.
python -X utf8 scripts/gitea_backlog.py queue
python -X utf8 scripts/gitea_backlog.py blocked
python -X utf8 scripts/gitea_backlog.py criteria L-DATES
python -X utf8 scripts/gitea_backlog.py report
python -X utf8 scripts/gitea_backlog.py plan
scripts/gitea-backlog.ps1 sync --apply --batch-size 10
python -X utf8 scripts/gitea_backlog.py verify
python -X utf8 scripts/gitea_backlog.py verify-board
scripts/gitea-backlog.ps1 note L-DATES --note-file evidence.md --apply
The queue uses current open issues, priority, actual board column and open native dependencies. Check owner and release gates in the issue before starting. The two verification commands compare against the original migration snapshot. Subsequent legitimate title, state and stage changes can differ from that snapshot.
To add a migration item, assign a unique stable key in the inventory and reference pinned evidence. Check similar live work by subject and scope. The planner detects existing markers, colliding titles and changed identities. An unmarked title collision requires review. Then run the plan and apply one pilot batch with --batch-size 1 --max-batches 1. Review the result before resuming the ordinary sync. Only one migration writer should operate across hosts. The OS lock serialises local apply commands. GET requests retry bounded transient errors. A failed or uncertain write stops the run; rerunning reads the server before creating anything. Each created issue, label and milestone is journalled. Epic links are appended without replacing human text, using Gitea's content version for conflict detection.
Board
The live Swagger specification exposes issues, labels, milestones and native dependencies. Project columns and membership use the signed-in web UI. The Playwright helper reads the journal, verifies the ordered columns, assigns missing issues to the existing project, moves cards and reloads to check placement. It refuses to replace another project. A non-default card requires an explicit move to change its column.
playwright-cli.cmd -s=jobjakt-board open https://git.cesnimda.uk/cesnimda/jobtrackingapp/projects/1 --headed --browser=chrome
# Sign in in that window, then preview the migration or move a single card.
scripts/gitea-board.ps1
scripts/gitea-board.ps1 -Apply -BatchSize 8
scripts/gitea-board.ps1 -Number 121 -Column 'In Progress'
# Add -Apply only when implementation of that issue has actually started.
| Column | Evidence required |
|---|---|
| Backlog | Proposal, deferral or work awaiting refinement |
| Ready | Defined work with satisfied prerequisites inside the authorised scope |
| In Progress | Implementation underway |
| Blocked | Named dependency, decision or manual action |
| Code Review | Implemented change awaiting review |
| Testing | Change awaiting acceptance or verification |
| Ready to Deploy | Verified change awaiting the release decision |
| Done | Definition of done and applicable verification satisfied |
The Gitea column editor provides name and colour fields. Column definitions live here. If browser access is interrupted during migration, fallback previews temporary labels for unassigned issues. fallback --apply writes them. After board verification, retire-fallback --apply removes the migration-only assignments for Ready, Testing and Backlog. Status/Blocked remains an explicit blocker classification. Retain native dependencies even when a prerequisite is also mentioned in the issue body.
Verification and release boundary
python -X utf8 scripts/test_gitea_backlog.py exercises interrupted imports, duplicate detection, pagination, board precedence and templates. python -X utf8 scripts/gitea_audit_inventory.py rebuilds the source census and scope counts from pinned Git objects. Checkpoints bind evidence to the integration branch, published roadmap, recovery branch, global discovery plan and default branch. Unchecked items in old plans require successor evidence before promotion.
The eight native Markdown templates live under .gitea/ISSUE_TEMPLATE/. Gitea reads templates from the default branch. After an approved integration, open Issues → New Issue, confirm all eight choices, then open each form and check its prompts, kind label and project. GET /api/v1/repos/cesnimda/jobtrackingapp/issue_templates supplies independent readback. A push to main runs the production deployment workflow after tests pass. Integrate templates and agent instructions at an authorised release checkpoint. Gitea template documentation