Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/sync-frontend-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
sync:
runs-on: ubuntu-latest
env:
TARGET_REPO: ${{ vars.GUARDEX_FRONTEND_MIRROR_REPO || 'Webu-PRO/guardex-frontend' }}
TARGET_REPO: ${{ vars.GUARDEX_FRONTEND_MIRROR_REPO || 'recodeee/gitguardex-frontend' }}
TARGET_BRANCH: ${{ vars.GUARDEX_FRONTEND_MIRROR_BRANCH || 'main' }}
SOURCE_PREFIX: frontend
SYNC_TOKEN: ${{ secrets.GUARDEX_FRONTEND_MIRROR_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,17 +462,17 @@ If `package.json` exists, setup also adds `agent:*` helper scripts.

## Frontend mirror

- Standalone frontend repo: <https://github.com/Webu-PRO/guardex-frontend>
- Standalone frontend repo: <https://github.com/recodeee/gitguardex-frontend>
- This repo tracks the frontend under `frontend/` and auto-mirrors it via `.github/workflows/sync-frontend-mirror.yml` on changes to `main`.

Setup (in this repo):

1. `Settings → Secrets and variables → Actions`
2. Add secret `GUARDEX_FRONTEND_MIRROR_PAT` with `contents:write` on `Webu-PRO/guardex-frontend`
2. Add secret `GUARDEX_FRONTEND_MIRROR_PAT` with `contents:write` on `recodeee/gitguardex-frontend`

Optional overrides (Actions Variables):

- `GUARDEX_FRONTEND_MIRROR_REPO` (default `Webu-PRO/guardex-frontend`)
- `GUARDEX_FRONTEND_MIRROR_REPO` (default `recodeee/gitguardex-frontend`)
- `GUARDEX_FRONTEND_MIRROR_BRANCH` (default `main`)

Manual run:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-04-21
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# T1 Notes

- Handoff: own `README.md`, `package.json`, `.github/workflows/sync-frontend-mirror.yml`, and `test/metadata.test.js` to point GitGuardex at `recodeee/gitguardex-frontend` instead of the old frontend target.
- Change the public homepage metadata to the new frontend repo link so the repo surface and package metadata stay aligned.
- Keep README mirror instructions and workflow defaults consistent with the new mirror destination.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## ADDED Requirements

### Requirement: Canonical frontend mirror links stay aligned
GitGuardex MUST expose `https://github.com/recodeee/gitguardex-frontend` as the canonical standalone frontend repo across public metadata and default mirror configuration.

#### Scenario: Public metadata points at the canonical frontend repo
- **WHEN** maintainers inspect `package.json` homepage metadata or the README frontend mirror section
- **THEN** they see `https://github.com/recodeee/gitguardex-frontend`
- **AND** the older `Webu-PRO/guardex-frontend` target is not presented as the default frontend repo

#### Scenario: Mirror workflow defaults to the canonical frontend repo
- **WHEN** `.github/workflows/sync-frontend-mirror.yml` runs without `GUARDEX_FRONTEND_MIRROR_REPO`
- **THEN** the workflow defaults `TARGET_REPO` to `recodeee/gitguardex-frontend`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"bugs": {
"url": "https://github.com/recodeee/gitguardex/issues"
},
"homepage": "https://guardextutorial.com",
"homepage": "https://github.com/recodeee/gitguardex-frontend",
"funding": "https://github.com/sponsors/recodeecom",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion test/metadata.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test('package manifest includes repository and support metadata', () => {

assert.equal(pkg.repository?.url, 'git+https://github.com/recodeee/gitguardex.git');
assert.equal(pkg.bugs?.url, 'https://github.com/recodeee/gitguardex/issues');
assert.equal(pkg.homepage, 'https://guardextutorial.com');
assert.equal(pkg.homepage, 'https://github.com/recodeee/gitguardex-frontend');
assert.equal(pkg.publishConfig?.access, 'public');
});

Expand Down