Skip to content

chore(fixtures): throwaway — recording a rules-file-DELETE response (closing immediately) - #142

Closed
serina-mcfall wants to merge 1 commit into
launchpadfrom
fixture/rules-file-delete-throwaway
Closed

chore(fixtures): throwaway — recording a rules-file-DELETE response (closing immediately)#142
serina-mcfall wants to merge 1 commit into
launchpadfrom
fixture/rules-file-delete-throwaway

Conversation

@serina-mcfall

Copy link
Copy Markdown

Do not review. Do not merge. Closing as soon as two API responses are recorded.

This PR exists only so that #116 can record what the compare
and tree endpoints return for a pull request that deletes the nearest rules
file for a path it also touches. No PR in this fork's history does that, and
none was found upstream, so the add direction (PR #14, real) would otherwise
have had to stand in for both by assertion.

Refs #116

…sponse

Not for review and not for merge. Opened to record the DELETE direction of the
nearest-rules fixture for the pre-flight in #116, because no
real pull request in this fork or upstream deletes a rules file. Closed
unmerged as soon as the response is recorded.

Signed-off-by: Serina Mcfall <serina.mcfall@gmail.com>
@serina-mcfall

Copy link
Copy Markdown
Author

Recorded. Closing unmerged — this PR was only ever a fixture source for #116.

@serina-mcfall
serina-mcfall deleted the fixture/rules-file-delete-throwaway branch August 12, 2026 19:42
serina-mcfall added a commit that referenced this pull request Aug 12, 2026
…inst

Seventeen fixtures for #116, recorded from the live API by
record.sh rather than written by hand. A hand-written fixture proves only that
the code agrees with its author about the response shape.

Three recorded facts differ from what the plan expected, and the controls follow
the recording rather than the plan:

- PR 86 now carries 47 checks with three named "check", not the 24 with two that
  the plan recorded a day earlier. Names collide harder than claimed, so the
  record must carry checks as a list.
- Org-level rulesets answer 404, not 403, for a token without admin:org.
  launchpad-26 is an Organization, so that 404 hides access rather than
  reporting absence, and it cannot be read as "no rulesets exist".
- PR 14 modifies root AGENTS.md and adds launchpad/AGENTS.md; the plan described
  both as additions. The ADD direction still has a real source.

The DELETE direction has no real source in this fork or upstream, so it was
recorded from throwaway PR #142, opened for the purpose and closed unmerged with
its branch deleted. record-delete-fixture.sh is the audit trail.

STEP 1's done-when is committed as eight controls rather than run once by hand,
so a re-recording that drifts fails where the cause is legible.

Refs #116

Signed-off-by: Serina Mcfall <serina.mcfall@gmail.com>
serina-mcfall added a commit that referenced this pull request Aug 12, 2026
…inst

Seventeen fixtures for #116, recorded from the live API by
record.sh rather than written by hand. A hand-written fixture proves only that
the code agrees with its author about the response shape.

Three recorded facts differ from what the plan expected, and the controls follow
the recording rather than the plan:

- PR 86 now carries 47 checks with three named "check", not the 24 with two that
  the plan recorded a day earlier. Names collide harder than claimed, so the
  record must carry checks as a list.
- Org-level rulesets answer 404, not 403, for a token without admin:org.
  launchpad-26 is an Organization, so that 404 hides access rather than
  reporting absence, and it cannot be read as "no rulesets exist".
- PR 14 modifies root AGENTS.md and adds launchpad/AGENTS.md; the plan described
  both as additions. The ADD direction still has a real source.

The DELETE direction has no real source in this fork or upstream, so it was
recorded from throwaway PR #142, opened for the purpose and closed unmerged with
its branch deleted. record-delete-fixture.sh is the audit trail.

STEP 1's done-when is committed as eight controls rather than run once by hand,
so a re-recording that drifts fails where the cause is legible.

Refs #116

Signed-off-by: Serina Mcfall <serina.mcfall@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant