Commit Graph
143 Commits
Author SHA1 Message Date
Tirsvad 1472513421 Add the wiki publishing workflow
Validate workflows / validate (pull_request) Successful in 15s
Add tools/publish_wiki.py and the Publish wiki workflow, which make the
Gitea wiki equal wiki/ through the wiki REST API when a change to wiki/ is
merged to main. It needs its own secret TOKEN_FOR_GITEA_WIKI, refuses an
empty source and checks that the English pages are current first.

Document the secret in the credentials and troubleshooting guides and
regenerate the affected wiki pages.

Task: MIL-005#8
2026-10-10 09:06:13 +08:00
Tirsvad 334b214a12 Merge pull request 'Add the wiki update rule to the pull request process' (#44) from mil-005-wiki-update-rule into main
Validate workflows / validate (push) Successful in 13s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 4s
Reviewed-on: #44
2026-10-10 03:03:33 +02:00
Tirsvad 80853e76f2 Add the wiki update rule to the pull request process
Validate workflows / validate (pull_request) Successful in 13s
AGENTS.md rule 8: a PR that changes a workflow, a guide or the README also
updates the matching wiki pages and lists them in its description. The
wiki is never pushed to by hand.
2026-10-10 09:03:10 +08:00
Tirsvad 5ef76ec263 Merge pull request 'Generate the English wiki pages from README.md and guides/' (#43) from mil-005-english-wiki-pages into main
Validate workflows / validate (push) Successful in 16s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Reviewed-on: #43
2026-10-10 02:54:59 +02:00
Tirsvad 8d62ea0d56 Generate the English wiki pages from README.md and guides/
Validate workflows / validate (pull_request) Successful in 13s
Add tools/build_wiki.py, which builds the five English wiki pages into
wiki/, rewrites links so they work inside the wiki and reports pages that
differ from their sources. Offline tests cover the conversion and assert
that the committed pages are current.

Task: MIL-005#3
2026-10-10 08:53:30 +08:00
Tirsvad bef58e75c7 Merge pull request 'Review and accept the MIL-005 publishing amendment (RC-011)' (#41) from mil-005-accept-publishing into main
Validate workflows / validate (push) Successful in 15s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 4s
Reviewed-on: #41
2026-10-10 02:50:05 +02:00
Tirsvad 3ab0a9789c Resolve pending commit links in MIL-005, TM-001 and RC-011
Validate workflows / validate (pull_request) Successful in 16s
2026-10-10 08:49:16 +08:00
Tirsvad 20361e881e Review and accept the MIL-005 publishing amendment (RC-011)
Add review record RC-011, accept MIL-005 and update TM-001.
2026-10-10 08:49:15 +08:00
Tirsvad 5a38842e4d Merge pull request 'Amend MIL-005: publish the wiki from wiki/ through a workflow' (#40) from mil-005-wiki-publishing into main
Validate workflows / validate (push) Successful in 15s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Reviewed-on: #40
2026-10-10 02:48:23 +02:00
Tirsvad 1114b742dc Resolve pending commit link in MIL-005
Validate workflows / validate (pull_request) Successful in 15s
2026-10-10 08:46:28 +08:00
Tirsvad 77c52779c4 Amend MIL-005: publish the wiki from wiki/ through a workflow on merge
Records the decision for task 2: the page source lives in this repository,
reaches the wiki repository only through a workflow, and the agent never
pushes to it. Adds task 8 for the publishing workflow and a Go/No-Go
criterion that no manual push exists.
2026-10-10 08:46:27 +08:00
Tirsvad bfd5be2b88 Merge pull request 'Link the MIL-005 Milestone in PP-001' (#39) from mil-005-milestone-link into main
Validate workflows / validate (push) Successful in 14s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 4s
Reviewed-on: #39
2026-10-10 02:31:26 +02:00
Tirsvad d6fe7c60ab Link the MIL-005 Milestone in the Gateway Schedule of PP-001
Validate workflows / validate (pull_request) Successful in 14s
2026-10-10 08:30:39 +08:00
Tirsvad fb502ce871 Merge pull request 'Review and accept BC-001, PP-001 and MIL-005 (RC-008 to RC-010)' (#31) from mil-005-wiki-and-translations into main
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Validate workflows / validate (push) Successful in 14s
Reviewed-on: #31
2026-10-10 02:28:54 +02:00
Tirsvad dd9f407131 Resolve pending commit links in RC-008 to RC-010 and TM-001
Validate workflows / validate (pull_request) Successful in 13s
2026-10-10 08:27:39 +08:00
Tirsvad ae4e257236 Review and accept BC-001, PP-001 and MIL-005 (RC-008 to RC-010)
Add review records, fix the last decision date in PP-001 and update TM-001.
2026-10-10 08:27:37 +08:00
Tirsvad 5137ce23ae Merge pull request 'Plan MIL-005: wiki pages in English, Danish and Bahasa Malaysia' (#30) from mil-005-wiki-and-translations into main
Validate workflows / validate (push) Successful in 14s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Reviewed-on: #30
2026-10-10 02:26:00 +02:00
Tirsvad 49a5b0ef8e Resolve pending commit links in BC-001, PP-001 and MIL-005
Validate workflows / validate (pull_request) Successful in 13s
2026-10-10 08:22:23 +08:00
Tirsvad 08ef26a6d3 Plan MIL-005: wiki pages in English, Danish and Bahasa Malaysia
Add milestone MIL-005 with seven tasks, schedule it in PP-001, add the wiki
to the Business Case scope and record the wiki languages in the registry.
The milestone is Proposed; no wiki work starts before it is accepted.
2026-10-10 08:22:22 +08:00
Tirsvad 975291092d Merge pull request 'Add review records RC-001 to RC-007 and traceability matrix TM-001' (#29) from skip-sync-without-github-mirror into main
Validate workflows / validate (push) Successful in 22s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Reviewed-on: #29
2026-10-10 02:16:50 +02:00
Tirsvad 5f5e9cfced Resolve pending commit links in TM-001 and RC-001 to RC-007
Validate workflows / validate (pull_request) Successful in 12s
2026-10-10 08:06:50 +08:00
Tirsvad 0799b43888 Record that S01 stood in for S05 and that review independence is still open 2026-10-10 08:06:48 +08:00
Tirsvad bc914904d0 Resolve pending commit links in TM-001 and RC-001 2026-10-10 08:04:26 +08:00
Tirsvad ba1c6bea74 Accept RC-001 to RC-007 and TM-001 after S05 review 2026-10-10 08:04:25 +08:00
Tirsvad a7b2035441 Resolve pending commit links in TM-001 and RC-004 to RC-007 2026-10-10 08:03:31 +08:00
Tirsvad aa3f08876d Add traceability matrix TM-001 and review records RC-004 to RC-007 2026-10-10 08:03:30 +08:00
Tirsvad f01d0f7caa Resolve pending commit links in RC-001 to RC-003 2026-10-10 08:00:51 +08:00
Tirsvad c017c06789 Add review records RC-001 to RC-003 for BC-001, PP-001 and MIL-001 2026-10-10 08:00:50 +08:00
Tirsvad fde03660da Merge pull request 'Skip the metadata sync successfully when no GitHub mirror exists' (#28) from skip-sync-without-github-mirror into main
Validate workflows / validate (push) Successful in 13s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 3s
Reviewed-on: #28
2026-10-10 01:58:53 +02:00
Tirsvad ec0f6e2cf8 Resolve pending commit links in BC-001, PP-001 and MIL-001 version history
Validate workflows / validate (pull_request) Successful in 14s
Task: MIL-001#1
2026-10-10 07:58:02 +08:00
Tirsvad 0c06789a27 Skip metadata sync successfully when no GitHub mirror exists
Not every Gitea repository has a GitHub push mirror. Zero GitHub mirrors
now ends the run successfully without reading the GitHub secret; several
mirrors still fail. Tests, guides, README, BC-001, PP-001 and MIL-001
are updated to match.

Task: MIL-001#1
Task: MIL-001#5
2026-10-10 07:57:58 +08:00
Tirsvad ab122d2073 Merge pull request 'MIL-002: Credential preflight, categorized errors and operations guides' (#27) from mil-002-onboarding-and-operations into main
Validate workflows / validate (push) Successful in 18s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Successful in 5s
Reviewed-on: #27
2026-10-03 15:29:17 +02:00
TirsvadandClaude Sonnet 5.5 a1561e2c6c Resolve pending commit link in MIL-002 version history
Validate workflows / validate (pull_request) Successful in 20s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 21:26:53 +08:00
TirsvadandClaude Sonnet 5.5 7dcb9c4dfc Add credential preflight, categorized errors and operations guides
Sync workflow: every failure is now reported as `ERROR: [category] message`
with the categories configuration, credentials (HTTP 401), permissions
(HTTP 403) and api (other HTTP errors, unreachable service); HTTP 404 is a
configuration error. Before changing anything the workflow checks that the
GitHub token can administer the mirror repository and stops with a
permissions error otherwise. No secret value is printed.

Guides: onboarding (with runner labels, prerequisites and offline runner
symptoms), credentials (minimum permissions, preflight, rotation) and
troubleshooting (every message mapped to a category and a fix). README
capability table updated. MIL-002 records the verification of scoped
workflow support: Gitea 1.27.3 runs the workflow in this repository;
delivery to other repositories is not yet verified.

Task: MIL-002#2
Task: MIL-002#3
Task: MIL-002#4
Task: MIL-002#5
Task: MIL-002#6
Task: MIL-002#7
Refs #9
Refs #10
Refs #11
Refs #12
Refs #13
Refs #14

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 21:26:49 +08:00
TirsvadandClaude Sonnet 5.5 16b9060d4c Mark MIL-002, MIL-003 and MIL-004 as Accepted
Set the owner/reviewer revision of each milestone to Accepted and deprecate
its initial row, as the Product Owner accepted the milestones. No task
content changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 21:19:58 +08:00
Tirsvad 10074323f0 Merge pull request 'MIL-001: Stabilise the metadata sync' (#26) from mil-001-stabilise-metadata-sync into main
Validate workflows / validate (push) Successful in 14s
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Failing after 2s
Reviewed-on: #26
2026-10-03 14:52:25 +02:00
TirsvadandClaude Sonnet 5.5 2228c49f29 Resolve pending commit link in MIL-001 version history
Validate workflows / validate (pull_request) Successful in 16s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 20:46:02 +08:00
TirsvadandClaude Sonnet 5.5 cbb9688ed4 Stabilise the metadata sync workflow and add offline validation
Restructure the script embedded in the scoped sync workflow into testable
functions, fix the invalid `exit 0` (now a successful run with a visible
warning when Gitea returns an invalid push mirror list) and report errors as
`ERROR: <message>` with exit code 1. Zero, several or malformed GitHub mirrors
still fail.

Add pytest-based offline tests (workflow YAML, embedded Python, credential and
mirror parsing, sync flow against a fake API) that run in a virtual
environment, and a validation workflow that runs them on pull requests and
pushes to main. Remove the manual tests/test_.ps1 probe and the duplicate
src/ copy of the workflow. Update the README and record the decisions for
tasks 1 and 3 in MIL-001.

Task: MIL-001#1
Task: MIL-001#2
Task: MIL-001#3
Task: MIL-001#4
Task: MIL-001#5
Task: MIL-001#6
Refs #1
Refs #2
Refs #3
Refs #4
Refs #5
Refs #6

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 20:45:57 +08:00
Tirsvad 0d25344fdb Merge pull request 'Add project plan, milestones and SQA framework' (#25) from docs/project-plan-and-milestones into main
TirSystem/github-action: Sync GitHub mirror metadata / sync-metadata (push) Failing after 3s
Reviewed-on: #25
2026-10-03 14:31:18 +02:00
TirsvadandClaude Sonnet 5.5 72d2671978 Resolve pending commit links in document version histories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 20:28:49 +08:00
TirsvadandClaude Sonnet 5.5 4de5438a88 Add project plan, milestones and SQA framework; document actual capabilities
Adopt the SQA/QC framework as a submodule and plan the project before any
further code: Business Case, Stakeholder Analysis (S01-S05), Project Plan with
use case candidates and prioritisation, and milestones MIL-001..MIL-004
(24 tasks, synced to Gitea as milestones 18-21 and issues #1-#24).

README now separates implemented from planned capabilities, has an English
sequence diagram and points at the scoped workflow. The workflow file moves
out of the repository root and out of .gitea/workflows/; the scoped copy is
unchanged in behaviour here and still contains the known `exit 0` syntax
error, which MIL-001 fixes.

Refs #1
Refs #2
Refs #3
Refs #6

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 20:28:44 +08:00
Tirsvad 62eac8b7cf 🚀 TirSystem GitHub Actions sync github metadata
Sync GitHub mirror metadata / sync-metadata (push) Failing after 3s
TirSystem/github-action-sync-github-metadata: Sync GitHub mirror metadata / sync-metadata (push) Failing after 2s
Add sync-github-metadata workflow to mirror description and topics
2026-10-03 18:42:07 +08:00
Tirsvad 9e5dd4f1dd Add GitHub Actions workflow to sync Gitea metadata to GitHub mirror
Sync GitHub mirror metadata / sync-metadata (push) Failing after 2s
This commit adds a reusable Gitea workflow that syncs repository
description and topics to a configured GitHub push mirror via the GitHub
API. Also includes README, LICENSE (AGPL-3.0), and the workflow file
itself.
2026-10-03 17:49:39 +08:00