Skip to content

Commit b3aaedc

Browse files
committed
Fix: align archived goalpost identity paths
1 parent fa2bded commit b3aaedc

7 files changed

Lines changed: 24 additions & 6 deletions

File tree

docs/archive/goalposts-pre-issues/v6.0.1/release-truth-closeout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v6.0.1-gp-release-truth-closeout` |
88
| Release home | `v6.0.1` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v6.0.1/release-truth-closeout.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v6.0.1/release-truth-closeout.md` |
1111
| Design cycle | `not active yet` |
1212
| Slice budget | `3` |
1313
| Status | `scaffolded` |

docs/archive/goalposts-pre-issues/v6.1.0/bounded-residency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v6.1.0-gp-bounded-residency` |
88
| Release home | `v6.1.0` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v6.1.0/bounded-residency.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v6.1.0/bounded-residency.md` |
1111
| Design cycle | `docs/design/0045-v6-1-bounded-residency/bounded-residency.md` |
1212
| Slice budget | `5` |
1313
| Status | `scaffolded` |

docs/archive/goalposts-pre-issues/v6.2.0/operator-tui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v6.2.0-gp-operator-tui` |
88
| Release home | `v6.2.0` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v6.2.0/operator-tui.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v6.2.0/operator-tui.md` |
1111
| Design cycle | `not active yet` |
1212
| Slice budget | `6` |
1313
| Status | `planned` |

docs/archive/goalposts-pre-issues/v6.3.0/agent-automation-parity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v6.3.0-gp-agent-automation-parity` |
88
| Release home | `v6.3.0` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v6.3.0/agent-automation-parity.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v6.3.0/agent-automation-parity.md` |
1111
| Design cycle | `not active yet` |
1212
| Slice budget | `5` |
1313
| Status | `planned` |

docs/archive/goalposts-pre-issues/v6.4.0/browser-edge-read-path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v6.4.0-gp-browser-edge-read-path` |
88
| Release home | `v6.4.0` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v6.4.0/browser-edge-read-path.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v6.4.0/browser-edge-read-path.md` |
1111
| Design cycle | `not active yet` |
1212
| Slice budget | `6` |
1313
| Status | `planned` |

docs/archive/goalposts-pre-issues/v7.0.0/protocol-audit-response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| Goalpost id | `v7.0.0-gp-protocol-audit-response` |
88
| Release home | `v7.0.0` |
99
| Umbrella issue | `not opened yet` |
10-
| Goalpost doc | `docs/goalposts/v7.0.0/protocol-audit-response.md` |
10+
| Goalpost doc | `docs/archive/goalposts-pre-issues/v7.0.0/protocol-audit-response.md` |
1111
| Design cycle | `not active yet` |
1212
| Slice budget | `unknown` |
1313
| Status | `planned` |

test/unit/docs/planning-surfaces.test.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ function cycleDirs() {
5050
.sort();
5151
}
5252

53+
function archivedGoalpostFiles() {
54+
const root = path.join(repoRoot, 'docs/archive/goalposts-pre-issues');
55+
return readdirSync(root, { withFileTypes: true })
56+
.filter((entry) => entry.isDirectory())
57+
.flatMap((entry) => readdirSync(path.join(root, entry.name))
58+
.filter((name) => name.endsWith('.md'))
59+
.map((name) => path.posix.join('docs/archive/goalposts-pre-issues', entry.name, name)))
60+
.sort();
61+
}
62+
5363
describe('planning surfaces', () => { // eslint-disable-line max-lines-per-function
5464
it('keeps GitHub Issues named as the canonical work tracker', () => {
5565
const checks = [
@@ -132,4 +142,12 @@ describe('planning surfaces', () => { // eslint-disable-line max-lines-per-funct
132142
assertLocalMarkdownLinksExist(file);
133143
}
134144
});
145+
146+
it('keeps archived goalpost identity paths pointed at their archived files', () => {
147+
for (const file of archivedGoalpostFiles()) {
148+
const goalpostDoc = read(file).match(/^\| Goalpost doc \| `([^`]+)` \|$/mu)?.[1];
149+
150+
expect(goalpostDoc).toBe(file);
151+
}
152+
});
135153
});

0 commit comments

Comments
 (0)