heinzel-github 0.9.4__tar.gz → 0.9.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/CHANGELOG.md +5 -0
  2. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/PKG-INFO +1 -1
  3. heinzel_github-0.9.5/docs/SCREENSHOT_STORY.md +34 -0
  4. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/capture.json +17 -17
  5. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/index.html +1 -1
  6. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/issue-changes.txt +1 -1
  7. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/merged-work.txt +1 -1
  8. heinzel_github-0.9.5/docs/assets/screenshots/source-story.md +34 -0
  9. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/workflow-collection.png +0 -0
  10. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/workflow-collection.txt +1 -1
  11. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/workflow-context.png +0 -0
  12. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/workflow-context.txt +1 -1
  13. heinzel_github-0.9.5/docs/screenshot-definition.json +7 -0
  14. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/pyproject.toml +1 -1
  15. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_gh.py +39 -6
  16. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_service.py +4 -2
  17. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/conftest.py +9 -1
  18. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/integration/capability_test.py +8 -1
  19. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/integration/gh_test.py +32 -4
  20. heinzel_github-0.9.4/docs/SCREENSHOT_STORY.md +0 -43
  21. heinzel_github-0.9.4/docs/assets/screenshots/source-story.md +0 -43
  22. heinzel_github-0.9.4/docs/screenshot-definition.json +0 -7
  23. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/.gitignore +0 -0
  24. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/LICENSE +0 -0
  25. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/README.md +0 -0
  26. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/SCREENSHOTS.md +0 -0
  27. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/cli.png +0 -0
  28. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/issue-changes.png +0 -0
  29. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/issues-json.png +0 -0
  30. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/issues-json.txt +0 -0
  31. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/merged-cli.png +0 -0
  32. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/merged-cli.txt +0 -0
  33. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/screenshots/merged-work.png +0 -0
  34. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/assets/ui.png +0 -0
  35. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/screenshot_fixture.py +0 -0
  36. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/docs/screenshots.toml +0 -0
  37. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/plugin-lock.json +0 -0
  38. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/requirements.lock +0 -0
  39. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/__init__.py +0 -0
  40. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_adapter.py +0 -0
  41. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_client.py +0 -0
  42. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_models.py +0 -0
  43. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_module.py +0 -0
  44. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/_release_feed.py +0 -0
  45. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/py.typed +0 -0
  46. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/skills/review-pull-request/SKILL.md +0 -0
  47. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/src/heinzel_github/skills/review-pull-request/references/checklist.md +0 -0
  48. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/acceptance/release_feed_installed_test.py +0 -0
  49. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/fake_gh.py +0 -0
  50. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/fixtures/issues.json +0 -0
  51. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/fixtures/pulls.json +0 -0
  52. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/integration/cli_test.py +0 -0
  53. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/integration/connector_test.py +0 -0
  54. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/adapter_test.py +0 -0
  55. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/client_test.py +0 -0
  56. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/contract_test.py +0 -0
  57. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/gh_test.py +0 -0
  58. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/models_test.py +0 -0
  59. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/release_feed_test.py +0 -0
  60. {heinzel_github-0.9.4 → heinzel_github-0.9.5}/tests/unit/service_test.py +0 -0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.5
4
+
5
+ Find gh when Heinzel runs as a background service: a service that launchd starts has a short PATH without Homebrew's folders, so Heinzel did not find gh and every GitHub read failed. Heinzel now looks in Homebrew's folders (`/opt/homebrew/bin`, `/usr/local/bin`) after PATH, and gh runs with its own folder and Homebrew's on PATH.
6
+ Say where Heinzel looked when gh can't be found.
7
+
3
8
  ## 0.9.4
4
9
 
5
10
  Relock opentelemetry-api to 1.45.2 (CVE-2026-126360).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: heinzel-github
3
- Version: 0.9.4
3
+ Version: 0.9.5
4
4
  Summary: Read pull requests and issues from GitHub: the code-host and tracker capabilities.
5
5
  Project-URL: Source, https://github.com/helmut-hoffer-von-ankershoffen/heinzel-plugins/tree/main/plugins/heinzel-github
6
6
  Project-URL: Changelog, https://github.com/helmut-hoffer-von-ankershoffen/heinzel-plugins/blob/main/plugins/heinzel-github/CHANGELOG.md
@@ -0,0 +1,34 @@
1
+ ## Audience and outcome
2
+
3
+ A developer or team lead considering the GitHub connector can see how a fictional weekly review brings merged pull requests and changed issues into a Core workflow, then inspect the underlying results. The gallery demonstrates read capability through an offline fixture; it does not claim to show a generated review or a live GitHub connection.
4
+
5
+ ## Scenes
6
+
7
+ 1. **Workflow collection — light:** The Core contracts list and graph introduce the fictional Weekly code review and its place in a workflow.
8
+ 2. **Workflow context — dark:** The same fictional workflow’s detail shows its merged-work and issue inputs. It declares a workflow; no report was generated. These two scenes show different useful states of a Core feature, not two captions on the same capture.
9
+ 3. **Merged work:** The native app terminal shows fictional merged pull requests, dates and authors through the real adapter and the fixture-only requester.
10
+ 4. **Issue changes:** The native app terminal shows fictional issue titles, states and owners through the same adapter. These terminal captures are labeled as terminal results, not feature UI.
11
+ 5. **Merged CLI:** A shell result shows the fictional merged-work table.
12
+ 6. **Issues JSON:** A shell result shows fictional issue data in JSON for a script or agent.
13
+
14
+ The existing plan already covers these useful behaviors and is preserved. The two terminal cases are different fixture operations, rather than two parameters of one operation. `docs/screenshot_fixture.py` supplies the existing bootstrap, the fictional `acme/widgets` records, the October window, the local contract, and the `showcase.merged` and `showcase.issues` operations. Its `DemoGh` returns fictional responses while the real adapter converts them. These showcase commands are documentation fixtures, not commands supplied by the installed plugin.
15
+
16
+ ## Source-bound UI surface inventory
17
+
18
+ - **Core feature UI:** `docs/screenshot_fixture.py` writes the Weekly code review contract with `code-host:read` and `tracker:read` inputs. The existing `docs/screenshots.toml` declares `/contracts` and `/contracts/weekly-code-review` captures. The collection route is a known Core route; the detail route and its heading are evidenced by the existing plan, but their actual rendering remains unverified from the provided source. Capture must confirm both scenes are genuinely useful and distinct.
19
+ - **Core connector/setup UI:** `README.md`, “Is it connected?”, explicitly identifies Settings → Connectors as a surface for login status. `src/heinzel_github/__init__.py` declares settings, offline `@module.health`, and on-demand `@module.health(live=True)`; `src/heinzel_github/_service.py` defines their checks. This is real Core-rendered setup UI, but the supplied fixture and plan do not establish a safe, useful capture of it. The live test asks GitHub and is outside this offline story.
20
+ - **Core operation and information surfaces:** `src/heinzel_github/__init__.py` declares `@module.operation` `info`, `@module.info` `system_info`, and read-only `module.provides` registrations for `code-host` and `tracker`. `src/heinzel_github/_models.py` defines the information and settings fields. The supplied files do not establish a dedicated feature view or route for those contributions; they must not be assumed terminal-only merely because a Page or View is absent. The fixture’s rendered operations do support the explicitly labeled app-terminal results.
21
+ - **External provider UI:** GitHub and `gh auth login` belong to the external provider, not a plugin screen (`README.md`, “Set up”). No external-provider screen is proposed.
22
+ - **Other entry point and conditional service:** `pyproject.toml` declares both `heinzel.modules` and `heinzel.connected_sources` as `github = "heinzel_github"`. The actual module declarations are in `src/heinzel_github/__init__.py`; conditional `GithubReleaseFeeds` registration depends on Core support and captured-source activation. `src/heinzel_github/_release_feed.py` declares `supported_operations = {"release-feed"}` and its lease behavior. The README describes a draft-workflow release feed, but the supplied sources do not establish its rendered route or an offline fixture for it. Do not invent a screen or claim the gallery demonstrates that feed.
23
+ - **Remaining contributions:** The inspected module declarations include a skill (`src/heinzel_github/skills/review-pull-request/SKILL.md`) and services, but no declared navigation, channel, approval, footer, Page or View contribution. This does not rule out generic Core rendering; the Core implementation is not among the provided files.
24
+
25
+ ## Fictional fixtures and privacy
26
+
27
+ The repository, people, pull requests, issues and contract are demonstration data from `docs/screenshot_fixture.py`. Fixture login and version values simulate `gh`; they do not establish a real connection. Normal presentation fictionalization maps verified owning-interpreter paths to `/demo-profile/.venv`, and only the verified whole hostname detail in the genuine Doctor row to `demo-host`. These mappings change no SDK health status or remaining detail and establish no privacy acceptance. Unknown identities still fail, and an independent reviewer must inspect every image and transcript. Check paths, hostnames, accounts, tokens, URLs and incidental UI content; do not assume the fixture makes the entire capture private.
28
+
29
+ ## Acceptance criteria
30
+
31
+ - Capture the existing isolated bootstrap only during explicit capture; make no network requests. Confirm the two contracts scenes render the stated, distinct feature states in applied light and dark appearances. If the detail route or heading fails, report the unresolved evidence instead of fabricating a replacement.
32
+ - Confirm both app-terminal results and both CLI results contain the expected fictional records, with pull requests excluded from the issue result. Clearly identify the requester and data as fictional; do not imply a generated report, live GitHub response, or production `showcase` command.
33
+ - Reject duplicate captures, caption-only differences, terminal output presented as feature UI, and forged HTML. Review the contact sheet and each image and transcript independently for truthfulness and privacy before publication.
34
+ - The TOML below has been checked against the requested structure by inspection; capture behavior and actual UI rendering have not been executed or verified.
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "format": 1,
3
3
  "plugin": "heinzel-github",
4
- "core_version": "0.9.40",
5
- "inputs_sha256": "fa6fe68cb794cf040f6bb7b3a86b354f6ba2587f5c2c704765cea06ad256c186",
4
+ "core_version": "0.9.41",
5
+ "inputs_sha256": "ad1f33b581c37600de41ee3ff63d6075069803a4ec26d8b6abcf983125b82755",
6
6
  "images": {
7
- "docs/assets/screenshots/workflow-collection.png": "542ca321d3b16fa4f3d5452c7e666d943be44eb1a73f5c9ae9e8cf4e8b48f780",
8
- "docs/assets/screenshots/workflow-context.png": "dd5222aabc6d059744fd458291655779f9d9d4cbba631069a142ec5a81c8317d",
7
+ "docs/assets/screenshots/workflow-collection.png": "20d8bc0a129f6c3eb4d205b9172065d3e3c4f86b1d311e45c70e0879fd070de8",
8
+ "docs/assets/screenshots/workflow-context.png": "e0fd2cfc84147c4dfd13b095f8a86d4ee451273d9e373596b2085224c9bf732b",
9
9
  "docs/assets/screenshots/merged-work.png": "0baf90373abc10ed8a8a1f31909a78f6d4e9875d81b3157c4a0a79733c2218d8",
10
10
  "docs/assets/screenshots/issue-changes.png": "bc3311ff71e68815e7488de603f36a4246ef92b55ec598ad0d2f13b988fecdc5",
11
11
  "docs/assets/screenshots/merged-cli.png": "787d4a4a73a860dbf4b33fd849f9737e0a58e5495e3e94ea1104a0e60bdf7233",
@@ -15,18 +15,18 @@
15
15
  "format": 2,
16
16
  "source_story": {
17
17
  "path": "source-story.md",
18
- "sha256": "f9576ce029866daf1d493640fef49d694566ecb40207be665cee96208b1d1d5c"
18
+ "sha256": "64652889140ce55c6653af1e7f459a842670a3f149f6ff2e1e38eb863476dc96"
19
19
  },
20
20
  "definition": {
21
21
  "format": 1,
22
22
  "reviewer": "Codex feature-story agent",
23
- "source_sha256": "4965336e7284ca3f776242e2244e65d4ead21d20c813f31041c249a07e4a7293",
23
+ "source_sha256": "251108376ff584fc52a7c4877e27f63ab8399a5f1a74a6d48d6d78aa42e4b01e",
24
24
  "plan_sha256": "4b2f2733e91a815803ccfec3f3159a7b58900ad41be8c262d4b514b685420e07",
25
- "story_sha256": "f9576ce029866daf1d493640fef49d694566ecb40207be665cee96208b1d1d5c"
25
+ "story_sha256": "64652889140ce55c6653af1e7f459a842670a3f149f6ff2e1e38eb863476dc96"
26
26
  },
27
27
  "plugin": "heinzel-github",
28
- "core_version": "0.9.40",
29
- "inputs_sha256": "fa6fe68cb794cf040f6bb7b3a86b354f6ba2587f5c2c704765cea06ad256c186",
28
+ "core_version": "0.9.41",
29
+ "inputs_sha256": "ad1f33b581c37600de41ee3ff63d6075069803a4ec26d8b6abcf983125b82755",
30
30
  "screenshots": [
31
31
  {
32
32
  "path": "docs/assets/screenshots/workflow-collection.png",
@@ -60,26 +60,26 @@
60
60
  }
61
61
  ],
62
62
  "images": {
63
- "workflow-collection.png": "542ca321d3b16fa4f3d5452c7e666d943be44eb1a73f5c9ae9e8cf4e8b48f780",
64
- "workflow-context.png": "dd5222aabc6d059744fd458291655779f9d9d4cbba631069a142ec5a81c8317d",
63
+ "workflow-collection.png": "20d8bc0a129f6c3eb4d205b9172065d3e3c4f86b1d311e45c70e0879fd070de8",
64
+ "workflow-context.png": "e0fd2cfc84147c4dfd13b095f8a86d4ee451273d9e373596b2085224c9bf732b",
65
65
  "merged-work.png": "0baf90373abc10ed8a8a1f31909a78f6d4e9875d81b3157c4a0a79733c2218d8",
66
66
  "issue-changes.png": "bc3311ff71e68815e7488de603f36a4246ef92b55ec598ad0d2f13b988fecdc5",
67
67
  "merged-cli.png": "787d4a4a73a860dbf4b33fd849f9737e0a58e5495e3e94ea1104a0e60bdf7233",
68
68
  "issues-json.png": "e3754138bf5a295204a0f986463e9a54dda6168697fa870ab9c3d41b3d7ff6bd"
69
69
  },
70
70
  "transcripts": {
71
- "workflow-collection.txt": "6faa77606df9d45a8ae83ee5798d51e3f766c1b0136b4896d5e25a90f6bb7a83",
72
- "workflow-context.txt": "941b49f0bfccd8be1cc22a6f3075bbb8145b5872c66829c8925195df8d02f985",
73
- "merged-work.txt": "ba7f628f51968d826d702e3e435947c0b52b9e3f13e38f1f982a248fe00bc35c",
74
- "issue-changes.txt": "c009947a7e48e82bad16a5eed886576348ca2512534d3f3f08732187c0babfa9",
71
+ "workflow-collection.txt": "7bf07efa8b0f774d9007a406516f67bf1bcaa9fcef38dd36f9547cf27f9dba7f",
72
+ "workflow-context.txt": "0b9e9a86afc4e88f06b53a70f0b68795450012744df2a9372a4df1d9f2a320fb",
73
+ "merged-work.txt": "0d862279437ae6aa785304a26a62ae804cd0d575519e8882c5d3436f01d198d1",
74
+ "issue-changes.txt": "4c876e06433160cff86fa6a9e8ed9ffd25c9b728afd1940edb51ef7952949846",
75
75
  "merged-cli.txt": "e4df52085e704c49ba37bd75f62656de48cd879405856220a53bcebb7efdebb4",
76
76
  "issues-json.txt": "a866c9bd0fe09d6dc1355428d53f5ce30511912b71452e84e925b65b89f104b0"
77
77
  },
78
- "bundle_sha256": "4efb1fad51bc119f78107f01dade13ea2f145a89ddba92916a8bcbd92103997d"
78
+ "bundle_sha256": "8c95ccfe1d659ee412f5b9e38adc24dd2ec77216ad8bf4bdc05a918a420cb731"
79
79
  },
80
80
  "privacy_review": {
81
81
  "format": 1,
82
- "bundle_sha256": "4efb1fad51bc119f78107f01dade13ea2f145a89ddba92916a8bcbd92103997d",
82
+ "bundle_sha256": "8c95ccfe1d659ee412f5b9e38adc24dd2ec77216ad8bf4bdc05a918a420cb731",
83
83
  "reviewer": "Codex privacy agent",
84
84
  "decision": "approve",
85
85
  "checked_images": [
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>heinzel-github screenshots</title><style>body{font:16px/1.6 system-ui;margin:2rem;background:#faf8f3;color:#263b32}main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:1rem}figure{margin:0;padding:1rem;background:white;border:1px solid #d8ddd3;border-radius:12px}img{width:100%;height:auto}figcaption{margin-top:.75rem}a:focus-visible{outline:3px solid #a64028}</style><h1>heinzel-github</h1><p>Isolated demonstration profile · Core 0.9.40 · Review these captures before committing. Click an image to inspect it at full size.</p><main><figure><a href="workflow-collection.png"><img src="workflow-collection.png" alt="The fictional weekly code review in the Core workflow graph and contracts list"></a><figcaption>UI · The fictional weekly code review in the Core workflow graph and contracts list</figcaption></figure><figure><a href="workflow-context.png"><img src="workflow-context.png" alt="Fictional weekly review declares merged-work and issue inputs; no report was generated"></a><figcaption>UI · Fictional weekly review declares merged-work and issue inputs; no report was generated</figcaption></figure><figure><a href="merged-work.png"><img src="merged-work.png" alt="Fictional merged pull requests in the app terminal, using a fixture-only requester and the real adapter"></a><figcaption>UI · Fictional merged pull requests in the app terminal, using a fixture-only requester and the real adapter</figcaption></figure><figure><a href="issue-changes.png"><img src="issue-changes.png" alt="Fictional issue changes, owners and states in the app terminal, using a fixture-only requester"></a><figcaption>UI · Fictional issue changes, owners and states in the app terminal, using a fixture-only requester</figcaption></figure><figure><a href="merged-cli.png"><img src="merged-cli.png" alt="Read fictional merged work in the shell with a fixture-only requester and the real adapter"></a><figcaption>CLI · Read fictional merged work in the shell with a fixture-only requester and the real adapter</figcaption></figure><figure><a href="issues-json.png"><img src="issues-json.png" alt="Fictional issue results as JSON for scripts and agents, using a fixture-only requester"></a><figcaption>CLI · Fictional issue results as JSON for scripts and agents, using a fixture-only requester</figcaption></figure></main></html>
1
+ <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>heinzel-github screenshots</title><style>body{font:16px/1.6 system-ui;margin:2rem;background:#faf8f3;color:#263b32}main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:1rem}figure{margin:0;padding:1rem;background:white;border:1px solid #d8ddd3;border-radius:12px}img{width:100%;height:auto}figcaption{margin-top:.75rem}a:focus-visible{outline:3px solid #a64028}</style><h1>heinzel-github</h1><p>Isolated demonstration profile · Core 0.9.41 · Review these captures before committing. Click an image to inspect it at full size.</p><main><figure><a href="workflow-collection.png"><img src="workflow-collection.png" alt="The fictional weekly code review in the Core workflow graph and contracts list"></a><figcaption>UI · The fictional weekly code review in the Core workflow graph and contracts list</figcaption></figure><figure><a href="workflow-context.png"><img src="workflow-context.png" alt="Fictional weekly review declares merged-work and issue inputs; no report was generated"></a><figcaption>UI · Fictional weekly review declares merged-work and issue inputs; no report was generated</figcaption></figure><figure><a href="merged-work.png"><img src="merged-work.png" alt="Fictional merged pull requests in the app terminal, using a fixture-only requester and the real adapter"></a><figcaption>UI · Fictional merged pull requests in the app terminal, using a fixture-only requester and the real adapter</figcaption></figure><figure><a href="issue-changes.png"><img src="issue-changes.png" alt="Fictional issue changes, owners and states in the app terminal, using a fixture-only requester"></a><figcaption>UI · Fictional issue changes, owners and states in the app terminal, using a fixture-only requester</figcaption></figure><figure><a href="merged-cli.png"><img src="merged-cli.png" alt="Read fictional merged work in the shell with a fixture-only requester and the real adapter"></a><figcaption>CLI · Read fictional merged work in the shell with a fixture-only requester and the real adapter</figcaption></figure><figure><a href="issues-json.png"><img src="issues-json.png" alt="Fictional issue results as JSON for scripts and agents, using a fixture-only requester"></a><figcaption>CLI · Fictional issue results as JSON for scripts and agents, using a fixture-only requester</figcaption></figure></main></html>
@@ -16,7 +16,7 @@ Doctor: 4 checks need attention
16
16
  ai.access ai access, system.doctor installation, system.prerequisite system.runner: claude…
17
17
 
18
18
  Open
19
- v0.9.40
19
+ v0.9.41
20
20
  Plugins changed, warning
21
21
  Updates, off
22
22
  0
@@ -16,7 +16,7 @@ Doctor: 4 checks need attention
16
16
  ai.access ai access, system.doctor installation, system.prerequisite system.runner: claude…
17
17
 
18
18
  Open
19
- v0.9.40
19
+ v0.9.41
20
20
  Plugins changed, warning
21
21
  Updates, off
22
22
  0
@@ -0,0 +1,34 @@
1
+ ## Audience and outcome
2
+
3
+ A developer or team lead considering the GitHub connector can see how a fictional weekly review brings merged pull requests and changed issues into a Core workflow, then inspect the underlying results. The gallery demonstrates read capability through an offline fixture; it does not claim to show a generated review or a live GitHub connection.
4
+
5
+ ## Scenes
6
+
7
+ 1. **Workflow collection — light:** The Core contracts list and graph introduce the fictional Weekly code review and its place in a workflow.
8
+ 2. **Workflow context — dark:** The same fictional workflow’s detail shows its merged-work and issue inputs. It declares a workflow; no report was generated. These two scenes show different useful states of a Core feature, not two captions on the same capture.
9
+ 3. **Merged work:** The native app terminal shows fictional merged pull requests, dates and authors through the real adapter and the fixture-only requester.
10
+ 4. **Issue changes:** The native app terminal shows fictional issue titles, states and owners through the same adapter. These terminal captures are labeled as terminal results, not feature UI.
11
+ 5. **Merged CLI:** A shell result shows the fictional merged-work table.
12
+ 6. **Issues JSON:** A shell result shows fictional issue data in JSON for a script or agent.
13
+
14
+ The existing plan already covers these useful behaviors and is preserved. The two terminal cases are different fixture operations, rather than two parameters of one operation. `docs/screenshot_fixture.py` supplies the existing bootstrap, the fictional `acme/widgets` records, the October window, the local contract, and the `showcase.merged` and `showcase.issues` operations. Its `DemoGh` returns fictional responses while the real adapter converts them. These showcase commands are documentation fixtures, not commands supplied by the installed plugin.
15
+
16
+ ## Source-bound UI surface inventory
17
+
18
+ - **Core feature UI:** `docs/screenshot_fixture.py` writes the Weekly code review contract with `code-host:read` and `tracker:read` inputs. The existing `docs/screenshots.toml` declares `/contracts` and `/contracts/weekly-code-review` captures. The collection route is a known Core route; the detail route and its heading are evidenced by the existing plan, but their actual rendering remains unverified from the provided source. Capture must confirm both scenes are genuinely useful and distinct.
19
+ - **Core connector/setup UI:** `README.md`, “Is it connected?”, explicitly identifies Settings → Connectors as a surface for login status. `src/heinzel_github/__init__.py` declares settings, offline `@module.health`, and on-demand `@module.health(live=True)`; `src/heinzel_github/_service.py` defines their checks. This is real Core-rendered setup UI, but the supplied fixture and plan do not establish a safe, useful capture of it. The live test asks GitHub and is outside this offline story.
20
+ - **Core operation and information surfaces:** `src/heinzel_github/__init__.py` declares `@module.operation` `info`, `@module.info` `system_info`, and read-only `module.provides` registrations for `code-host` and `tracker`. `src/heinzel_github/_models.py` defines the information and settings fields. The supplied files do not establish a dedicated feature view or route for those contributions; they must not be assumed terminal-only merely because a Page or View is absent. The fixture’s rendered operations do support the explicitly labeled app-terminal results.
21
+ - **External provider UI:** GitHub and `gh auth login` belong to the external provider, not a plugin screen (`README.md`, “Set up”). No external-provider screen is proposed.
22
+ - **Other entry point and conditional service:** `pyproject.toml` declares both `heinzel.modules` and `heinzel.connected_sources` as `github = "heinzel_github"`. The actual module declarations are in `src/heinzel_github/__init__.py`; conditional `GithubReleaseFeeds` registration depends on Core support and captured-source activation. `src/heinzel_github/_release_feed.py` declares `supported_operations = {"release-feed"}` and its lease behavior. The README describes a draft-workflow release feed, but the supplied sources do not establish its rendered route or an offline fixture for it. Do not invent a screen or claim the gallery demonstrates that feed.
23
+ - **Remaining contributions:** The inspected module declarations include a skill (`src/heinzel_github/skills/review-pull-request/SKILL.md`) and services, but no declared navigation, channel, approval, footer, Page or View contribution. This does not rule out generic Core rendering; the Core implementation is not among the provided files.
24
+
25
+ ## Fictional fixtures and privacy
26
+
27
+ The repository, people, pull requests, issues and contract are demonstration data from `docs/screenshot_fixture.py`. Fixture login and version values simulate `gh`; they do not establish a real connection. Normal presentation fictionalization maps verified owning-interpreter paths to `/demo-profile/.venv`, and only the verified whole hostname detail in the genuine Doctor row to `demo-host`. These mappings change no SDK health status or remaining detail and establish no privacy acceptance. Unknown identities still fail, and an independent reviewer must inspect every image and transcript. Check paths, hostnames, accounts, tokens, URLs and incidental UI content; do not assume the fixture makes the entire capture private.
28
+
29
+ ## Acceptance criteria
30
+
31
+ - Capture the existing isolated bootstrap only during explicit capture; make no network requests. Confirm the two contracts scenes render the stated, distinct feature states in applied light and dark appearances. If the detail route or heading fails, report the unresolved evidence instead of fabricating a replacement.
32
+ - Confirm both app-terminal results and both CLI results contain the expected fictional records, with pull requests excluded from the issue result. Clearly identify the requester and data as fictional; do not imply a generated report, live GitHub response, or production `showcase` command.
33
+ - Reject duplicate captures, caption-only differences, terminal output presented as feature UI, and forged HTML. Review the contact sheet and each image and transcript independently for truthfulness and privacy before publication.
34
+ - The TOML below has been checked against the requested structure by inspection; capture behavior and actual UI rendering have not been executed or verified.
@@ -55,7 +55,7 @@ All contracts
55
55
  Weekly code review
56
56
  me:weekly-code-review
57
57
  by hand only
58
- v0.9.40
58
+ v0.9.41
59
59
  Updates, off
60
60
  0
61
61
  System health, warning
@@ -37,7 +37,7 @@ the packet the agent gets; nothing is spent
37
37
  hz heinzel wake me:weekly-code-review
38
38
  Run in terminal
39
39
  draft it now, at most 0.5 USD; the draft is saved under /demo-profile/data_dir/workflow/drafts/me-weekly-code-review
40
- v0.9.40
40
+ v0.9.41
41
41
  Plugins changed, warning
42
42
  Updates, off
43
43
  0
@@ -0,0 +1,7 @@
1
+ {
2
+ "format": 1,
3
+ "reviewer": "Codex feature-story agent",
4
+ "source_sha256": "251108376ff584fc52a7c4877e27f63ab8399a5f1a74a6d48d6d78aa42e4b01e",
5
+ "plan_sha256": "4b2f2733e91a815803ccfec3f3159a7b58900ad41be8c262d4b514b685420e07",
6
+ "story_sha256": "64652889140ce55c6653af1e7f459a842670a3f149f6ff2e1e38eb863476dc96"
7
+ }
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "heinzel-github"
3
- version = "0.9.4"
3
+ version = "0.9.5"
4
4
  description = "Read pull requests and issues from GitHub: the code-host and tracker capabilities."
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -70,6 +70,9 @@ FIXED = {
70
70
  }
71
71
  """Set for every call: never interactive, no pager, no colours, no update notices."""
72
72
  _PROXIES = frozenset({"HTTPS_PROXY", "HTTP_PROXY", "NO_PROXY", "ALL_PROXY"})
73
+ HOMEBREW_BINS = ("/opt/homebrew/bin", "/usr/local/bin")
74
+ """Where Homebrew installs `gh` on Apple silicon and on Intel. Searched after `PATH`: a service that launchd or the
75
+ desktop app starts runs with a short `PATH` (`/usr/bin:/bin:/usr/sbin:/sbin`) that lacks them."""
73
76
  _VERSION = re.compile(r"\bgh version v?(\d{1,4})\.(\d{1,4})\.(\d{1,6})")
74
77
  _HOST_KEY = re.compile(r"^([A-Za-z0-9.-]+):\s*$")
75
78
  _USER = re.compile(r"^[ \t]+user:[ \t]*['\"]?([A-Za-z0-9](?:[A-Za-z0-9-]{0,38}))['\"]?[ \t]*$")
@@ -104,6 +107,26 @@ def absolute_path(search: str) -> str:
104
107
  return os.pathsep.join(entry for entry in search.split(os.pathsep) if entry and Path(entry).is_absolute())
105
108
 
106
109
 
110
+ def search_path(search: str, *extra: str) -> str:
111
+ """The absolute entries of `search`, then `extra` and `HOMEBREW_BINS`, each once."""
112
+ entries = [entry for entry in absolute_path(search).split(os.pathsep) if entry]
113
+ return os.pathsep.join(dict.fromkeys([*entries, *extra, *HOMEBREW_BINS]))
114
+
115
+
116
+ def where_looked() -> str:
117
+ """Where `Gh.executable` looks for a program name, for a person."""
118
+ return f"on PATH and in {' and '.join(HOMEBREW_BINS)}"
119
+
120
+
121
+ def own_directories(path: str) -> tuple[str, str]:
122
+ """The directory `path` is in and, for a link such as Homebrew's, the directory it links to."""
123
+ own = Path(path)
124
+ try:
125
+ return str(own.parent), str(own.resolve(strict=True).parent)
126
+ except (OSError, RuntimeError):
127
+ return str(own.parent), str(own.parent)
128
+
129
+
107
130
  def environment(host: str, source: Mapping[str, str] | None = None) -> dict[str, str]:
108
131
  """Gh's environment: the allowlisted variables of `source` (the process's), pinned to `host`, never interactive."""
109
132
  variables = os.environ if source is None else source
@@ -202,17 +225,19 @@ class Gh:
202
225
  self._versions: dict[str, tuple[int, int, int] | None] = {}
203
226
 
204
227
  def executable(self) -> str | None:
205
- """The absolute path of `github.gh`, looked up on `PATH` when it is a name; None if there is none.
228
+ """The absolute path of `github.gh`, looked up on `PATH` and in `HOMEBREW_BINS`; None if there is none.
206
229
 
207
- Relative `PATH` entries (`.`) are skipped, so a repository can't put its own `gh` first.
230
+ A name is looked up, an absolute path taken as it is. Relative `PATH` entries (`.`) are skipped, so a
231
+ repository can't put its own `gh` first.
208
232
  """
209
- found = shutil.which(self._settings.gh, path=absolute_path(os.environ.get("PATH", os.defpath)))
233
+ found = shutil.which(self._settings.gh, path=search_path(os.environ.get("PATH", os.defpath)))
210
234
  return found if found is not None and Path(found).is_absolute() else None
211
235
 
212
236
  def _require(self) -> str:
213
237
  if (path := self.executable()) is None:
214
238
  msg = (
215
- f"The GitHub CLI `{self._settings.gh}` is not on PATH; install it from {INSTALL}, then run "
239
+ f"Heinzel can't find the GitHub CLI `{self._settings.gh}`: it looked {where_looked()}; install it "
240
+ f"from {INSTALL}, then run "
216
241
  f"`{login_fix(self._settings.host)}`."
217
242
  )
218
243
  raise HeinzelError(msg)
@@ -304,8 +329,16 @@ class Gh:
304
329
  return self._execute(path, args, timeout, host)
305
330
 
306
331
  def execution_environment(self, host: str) -> dict[str, str]:
307
- """Return the allowlisted CLI environment; captured leases override it with their pinned credentials."""
308
- return environment(host)
332
+ """Return the allowlisted CLI environment; captured leases override it with their pinned credentials.
333
+
334
+ Its `PATH` also holds gh's own directories and `HOMEBREW_BINS`, after `PATH`, so what gh starts (git, a
335
+ credential helper) is found under a launchd `PATH` too.
336
+ """
337
+ env = environment(host)
338
+ path = self.executable()
339
+ extra = own_directories(path) if path is not None else ()
340
+ env["PATH"] = search_path(env.get("PATH", ""), *extra)
341
+ return env
309
342
 
310
343
  def _execute(self, path: str, args: Sequence[str], timeout: float, host: str | None = None) -> GhResult:
311
344
  deadline = time.monotonic() + timeout
@@ -6,7 +6,7 @@ from typing import Protocol
6
6
  from heinzel import Check, HeinzelError, Kernel, Login, Status, __version__
7
7
 
8
8
  from heinzel_github._client import GhClient, GhLoginError, said
9
- from heinzel_github._gh import INSTALL, MINIMUM_VERSION, Gh, login_fix, version_text
9
+ from heinzel_github._gh import INSTALL, MINIMUM_VERSION, Gh, login_fix, version_text, where_looked
10
10
  from heinzel_github._models import GithubAbout, GithubSettings
11
11
 
12
12
  DISTRIBUTION = "heinzel-github"
@@ -64,7 +64,9 @@ class GithubService:
64
64
  return Check(
65
65
  name="gh",
66
66
  status=Status.DEGRADED,
67
- detail=f"{name}, the GitHub CLI, is not on PATH; every read goes through it",
67
+ detail=(
68
+ f"Heinzel can't find {name}, the GitHub CLI: it looked {where_looked()}; every read goes through it"
69
+ ),
68
70
  fix=f"install gh ({INSTALL}), then {login_fix(host)}",
69
71
  login=unknown,
70
72
  )
@@ -22,7 +22,7 @@ import pytest
22
22
  from heinzel import Config, HeinzelError, Kernel, Module, ModuleRecord, Settings
23
23
  from heinzel.kernel import Origin, discover
24
24
 
25
- from heinzel_github import Gh, GhResult
25
+ from heinzel_github import Gh, GhResult, _gh
26
26
 
27
27
  TESTS = Path(__file__).parent
28
28
  FIXTURES = TESTS / "fixtures"
@@ -202,6 +202,14 @@ class FakeGhCli:
202
202
  return [call for call in self.calls() if call["argv"][:1] == ["api"]]
203
203
 
204
204
 
205
+ @pytest.fixture(autouse=True)
206
+ def no_homebrew(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> tuple[str, str]:
207
+ """Empty stand-ins for Homebrew's directories, so the host's own gh never answers a test."""
208
+ bins = (str(tmp_path / "homebrew-arm" / "bin"), str(tmp_path / "homebrew-intel" / "bin"))
209
+ monkeypatch.setattr(_gh, "HOMEBREW_BINS", bins)
210
+ return bins
211
+
212
+
205
213
  def install_gh(directory: Path, shebang: str = sys.executable) -> Path:
206
214
  """Write `tests/fake_gh.py` as an executable `gh` in `directory`/bin, started by `shebang`.
207
215
 
@@ -9,12 +9,18 @@ from heinzel import CodeHost, Config, Issue, Kernel, Module, PullRequest, Tracke
9
9
  from heinzel.heads.cli import build
10
10
  from typer.testing import CliRunner
11
11
 
12
+ from heinzel_github import _gh
13
+
12
14
  pytestmark = pytest.mark.integration
13
15
 
14
16
  BOUND = Config(files=(), data={"capabilities": {"code-host": "github", "tracker": "github"}})
15
17
  SINCE, UNTIL = "2026-10-01T00:00:00+00:00", "2026-11-01T00:00:00+00:00"
16
18
  PULLS, ISSUES = "repos/acme/widgets/pulls", "repos/acme/widgets/issues"
17
- INSTALL_GH = "The GitHub CLI `gh` is not on PATH; install it from https://cli.github.com,"
19
+ UNUSED_BINS = ("/nonexistent-homebrew/bin", "/nonexistent-local/bin")
20
+ INSTALL_GH = (
21
+ "Heinzel can't find the GitHub CLI `gh`: it looked on PATH and in /nonexistent-homebrew/bin and "
22
+ "/nonexistent-local/bin; install it from https://cli.github.com,"
23
+ )
18
24
  LEAKED = "ghp_" + "Q7w8E9r0" * 5 # made up, shaped like a classic token
19
25
 
20
26
 
@@ -105,6 +111,7 @@ def test_an_error_from_github_is_shown_redacted_and_clean(github_kernel, fake_gh
105
111
 
106
112
  def test_without_gh_the_command_and_doctor_say_how_to_install_it(github_kernel, tmp_path, monkeypatch):
107
113
  monkeypatch.setenv("PATH", str(tmp_path))
114
+ monkeypatch.setattr(_gh, "HOMEBREW_BINS", UNUSED_BINS) # short, so the message fits a line
108
115
  kernel = github_kernel(BOUND, digest=digest())
109
116
  code, output = hz(kernel, "digest", "merged", "acme/widgets", SINCE, UNTIL)
110
117
  assert code != 0
@@ -2,6 +2,7 @@
2
2
 
3
3
  import json
4
4
  import os
5
+ import re
5
6
  import signal
6
7
  import subprocess
7
8
  import time
@@ -36,7 +37,7 @@ def test_gh_gets_exactly_the_arguments_and_its_answer_comes_back(fake_gh_cli):
36
37
  assert not list(Path.home().glob("pwned"))
37
38
 
38
39
 
39
- def test_gh_sees_an_allowlisted_environment_pinned_to_the_host(fake_gh_cli, monkeypatch):
40
+ def test_gh_sees_an_allowlisted_environment_pinned_to_the_host(fake_gh_cli, no_homebrew, monkeypatch):
40
41
  monkeypatch.setenv("HZ_CREDENTIAL_GITHUB_GITHUB_TOKEN", "made-up-secret")
41
42
  monkeypatch.setenv("GH_DEBUG", "api")
42
43
  monkeypatch.setenv("GODEBUG", "http2debug=2")
@@ -51,7 +52,8 @@ def test_gh_sees_an_allowlisted_environment_pinned_to_the_host(fake_gh_cli, monk
51
52
  assert env["GH_PROMPT_DISABLED"] == "1"
52
53
  assert env["GH_TOKEN"] == "made-up-gh-token" # gh's own login, for gh
53
54
  assert env["LC_ALL"] == "C"
54
- assert env["PATH"] == str(fake_gh_cli.bin)
55
+ bins = [str(fake_gh_cli.bin), str(fake_gh_cli.bin.resolve()), *no_homebrew]
56
+ assert env["PATH"] == os.pathsep.join(dict.fromkeys(bins))
55
57
  for name in ("HZ_CREDENTIAL_GITHUB_GITHUB_TOKEN", "GH_DEBUG", "GODEBUG", "AWS_SECRET_ACCESS_KEY"):
56
58
  assert name not in env
57
59
 
@@ -230,10 +232,11 @@ def test_a_huge_hosts_file_is_not_read_to_the_end(fake_gh_cli, monkeypatch):
230
232
  assert not gh().logged_in()
231
233
 
232
234
 
233
- def test_without_gh_on_the_path_it_is_missing_and_says_where_to_get_it(tmp_path, monkeypatch):
235
+ def test_without_gh_on_the_path_it_is_missing_and_says_where_to_get_it(tmp_path, no_homebrew, monkeypatch):
234
236
  monkeypatch.setenv("PATH", str(tmp_path))
235
237
  assert gh().executable() is None
236
- with pytest.raises(HeinzelError, match=r"not on PATH; install it from https://cli\.github\.com"):
238
+ looked = f"it looked on PATH and in {no_homebrew[0]} and {no_homebrew[1]}; install it from https://cli.github.com"
239
+ with pytest.raises(HeinzelError, match=re.escape(looked)):
237
240
  gh().run(call(), host="github.com", timeout=10)
238
241
 
239
242
 
@@ -242,3 +245,28 @@ def test_a_gh_that_cannot_start_is_a_clear_error(tmp_path, monkeypatch, install_
242
245
  monkeypatch.setenv("PATH", str(tmp_path / "bin"))
243
246
  with pytest.raises(HeinzelError, match="Could not start the GitHub CLI"):
244
247
  gh().version()
248
+
249
+
250
+ LAUNCHD_DIRS = ("usr/bin", "bin", "usr/sbin", "sbin")
251
+ """The PATH a launchd service gets when its plist sets none (`/usr/bin:/bin:/usr/sbin:/sbin`), no Homebrew directory in
252
+ it. The test uses empty stand-ins under its own directory: a CI runner may have a gh of its own in `/usr/bin`."""
253
+
254
+
255
+ @pytest.mark.parametrize("which", [0, 1], ids=["Apple silicon", "Intel"])
256
+ def test_gh_where_homebrew_installs_it_is_found_and_run_under_a_launchd_path(
257
+ fake_gh_cli, no_homebrew, monkeypatch, tmp_path, which
258
+ ):
259
+ """Homebrew links `bin/gh` to its Cellar; a service started by launchd has none of Homebrew's bins on PATH."""
260
+ link = Path(no_homebrew[which]) / "gh"
261
+ link.parent.mkdir(parents=True)
262
+ link.symlink_to(fake_gh_cli.bin / "gh")
263
+ launchd = [str(tmp_path / "launchd" / directory) for directory in LAUNCHD_DIRS]
264
+ for directory in launchd:
265
+ Path(directory).mkdir(parents=True)
266
+ monkeypatch.setenv("PATH", os.pathsep.join(launchd))
267
+ fake_gh_cli.answer(PATH, stdout="[]")
268
+ assert gh().executable() == str(link)
269
+ assert gh().run(call(), host="github.com", timeout=10).returncode == 0
270
+ child = fake_gh_cli.api_calls()[-1]["env"]["PATH"].split(os.pathsep)
271
+ assert child[:4] == launchd
272
+ assert {str(link.parent), str(fake_gh_cli.bin.resolve())} <= set(child)
@@ -1,43 +0,0 @@
1
- ## Audience
2
-
3
- A developer or workflow author deciding whether GitHub pull requests and issues can supply a useful Heinzelmännchen review workflow without building a GitHub-specific integration into that workflow.
4
-
5
- ## Outcome
6
-
7
- Show a fictional weekly review taking shape: a Core workflow declares the two inputs, then the actual GitHub adapter converts fictional vendor responses into merged-work and issue results. The workflow is a declaration, not a generated report. The example requester is documentation-only, so its `showcase` commands must not be presented as commands installed by the GitHub plugin.
8
-
9
- ## Scenes
10
-
11
- 1. **Workflow collection, light.** The Core contracts collection places “Weekly code review” in context. Its fictional contract requires both read capabilities and names the two inputs.
12
- 2. **Workflow context, dark.** The same actual Core workflow shows the input declarations and goal in more detail. This is a distinct useful state, not a second caption on the collection. The existing plan supplies `/contracts/weekly-code-review`, but the provided source does not independently establish that detail route; capture must verify it resolves to the genuine Core view. If it does not, use a verified interaction from `/contracts` to reach the detail, rather than inventing a route or screen.
13
- 3. **Merged work, light.** The app terminal runs the fixture requester through the real adapter and displays fictional pull requests, dates and authors. This is a terminal result inside the app, not a feature UI scene.
14
- 4. **Issue changes, dark.** The app terminal shows a different fictional result: issue titles, states and owners. It is also a terminal result, and must not be counted as feature UI.
15
- 5. **Merged work in the CLI.** A native shell result demonstrates the same fixture requester for a person using the command line.
16
- 6. **Issues as JSON.** A native CLI result illustrates structured fictional issue data for scripts and agents.
17
-
18
- The two Core workflow views are the genuine feature UI scenes; the terminal scenes supply complementary adapter results. Light and dark appearances must actually be applied and visible.
19
-
20
- ## Fictional fixtures
21
-
22
- `docs/screenshot_fixture.py` creates the local `weekly-code-review` contract in the isolated state directory, binds `code-host` and `tracker` to GitHub, and supplies `DemoGh` responses for `acme/widgets`. Its documentation-only `showcase.merged` and `showcase.issues` operations use the real adapter with the fixed October 2026 window. The fictional people, repository, links, pull requests and issues are examples, not evidence of a real account or live GitHub access. The fixture deliberately includes a pull-request-shaped issue; the adapter excludes pull requests from issue results (`src/heinzel_github/_adapter.py`, `issues_updated`). Do not claim the workflow ran or produced its `notes` output.
23
-
24
- ## Source-bound UI surface inventory
25
-
26
- - `pyproject.toml` declares both `heinzel.modules` and `heinzel.connected_sources` entry points as `github = "heinzel_github"`. Their shared target is `src/heinzel_github/__init__.py`; the second entry point must not be assumed to declare a separate page.
27
- - `src/heinzel_github/_module.py` declares `Module("github", ...)`. `src/heinzel_github/__init__.py` registers settings, services, a skill, read providers for `code-host` and `tracker`, the `info` operation, a system-info contribution, offline health and live health. These are real Core integration surfaces even though this plugin declares no Page, View, navigation, channel, approval, setup or footer contribution in the provided source. Absence of a Page or View alone would not establish terminal-only behavior.
28
- - The `info` operation and `module.info` contribution expose plugin, version, Core version, host and executable details (`src/heinzel_github/_service.py`, `about`); `module.health` contributes Doctor/connector status, while `module.health(live=True)` performs the on-demand connector test. `README.md` identifies Settings → Connectors as a Core-rendered UI and describes the CLI counterparts. The provided files do not establish a direct route or the exact Core rendering of every contribution. Do not manufacture one.
29
- - The Core contracts collection and detail are workflow feature UI, populated by the fixture contract; they are not GitHub-owned screens. The fixture's `showcase` operations render tables in the app terminal and CLI. Their terminal output is not feature UI. The adapter's capability methods are programmatic reads, not separately declared plugin CLI operations (`src/heinzel_github/_adapter.py`; `docs/screenshot_fixture.py`).
30
- - GitHub and `gh` are external provider surfaces. No GitHub website or provider screen is needed here. The optional `GithubReleaseFeeds` service is registered only under the captured-source condition (`src/heinzel_github/__init__.py`, `src/heinzel_github/_release_feed.py`); the README describes its draft-workflow use, but the provided fixture does not demonstrate that flow. Do not invent a release-feed screen or claim it was exercised.
31
- - The existing plan and catalog describe the workflow collection and detail (`docs/screenshots.toml`, `pyproject.toml`). They are evidence of intended capture, not proof that the current Core route renders successfully. Resolve that uncertainty during capture and review.
32
-
33
- ## Privacy pitfalls
34
-
35
- Use the isolated fixture and inspect every image and transcript for real account names, repository names, hostnames, paths, tokens, incidental data and browser or terminal chrome. Normal presentation fictionalization is explicitly limited to verified owning-interpreter paths becoming `/demo-profile/.venv`, and only the verified whole hostname detail in the genuine Doctor row becoming `demo-host`. These mappings change no SDK health status or remaining detail and establish no privacy acceptance; unknown identities still fail, and independent review must inspect every image and transcript. Do not substitute fictional status, redact away an unexplained identity, or treat fixture isolation as proof of privacy.
36
-
37
- ## Acceptance criteria
38
-
39
- - Capture genuine Core UI with applied light and dark appearances: the collection and a distinct useful detail state of the fictional weekly review. Verify the existing detail route or reach it by a verified Core interaction.
40
- - Show the fixture's merged pull requests and issue changes as genuine terminal output, plus a useful CLI result and JSON case. Clearly label demo data and the fixture-only requester; do not imply its commands are shipped plugin operations.
41
- - Preserve real SDK statuses and details under the narrowly defined presentation mappings. Independently inspect every image and transcript; any unknown identity fails review.
42
- - Confirm screenshots are distinct, legible and consistent with the fictional source data. Reject duplicates, caption-only changes, terminal output represented as feature UI, forged HTML, invented product screens, and claims that a report or live GitHub read occurred.
43
- - The plan is structurally checked against the requested format and retains the existing six scenes and local bootstrap. Runtime rendering, route availability, applied themes and privacy acceptance remain to be verified during explicit capture; no code, imports or network calls were run for this proposal.
@@ -1,43 +0,0 @@
1
- ## Audience
2
-
3
- A developer or workflow author deciding whether GitHub pull requests and issues can supply a useful Heinzelmännchen review workflow without building a GitHub-specific integration into that workflow.
4
-
5
- ## Outcome
6
-
7
- Show a fictional weekly review taking shape: a Core workflow declares the two inputs, then the actual GitHub adapter converts fictional vendor responses into merged-work and issue results. The workflow is a declaration, not a generated report. The example requester is documentation-only, so its `showcase` commands must not be presented as commands installed by the GitHub plugin.
8
-
9
- ## Scenes
10
-
11
- 1. **Workflow collection, light.** The Core contracts collection places “Weekly code review” in context. Its fictional contract requires both read capabilities and names the two inputs.
12
- 2. **Workflow context, dark.** The same actual Core workflow shows the input declarations and goal in more detail. This is a distinct useful state, not a second caption on the collection. The existing plan supplies `/contracts/weekly-code-review`, but the provided source does not independently establish that detail route; capture must verify it resolves to the genuine Core view. If it does not, use a verified interaction from `/contracts` to reach the detail, rather than inventing a route or screen.
13
- 3. **Merged work, light.** The app terminal runs the fixture requester through the real adapter and displays fictional pull requests, dates and authors. This is a terminal result inside the app, not a feature UI scene.
14
- 4. **Issue changes, dark.** The app terminal shows a different fictional result: issue titles, states and owners. It is also a terminal result, and must not be counted as feature UI.
15
- 5. **Merged work in the CLI.** A native shell result demonstrates the same fixture requester for a person using the command line.
16
- 6. **Issues as JSON.** A native CLI result illustrates structured fictional issue data for scripts and agents.
17
-
18
- The two Core workflow views are the genuine feature UI scenes; the terminal scenes supply complementary adapter results. Light and dark appearances must actually be applied and visible.
19
-
20
- ## Fictional fixtures
21
-
22
- `docs/screenshot_fixture.py` creates the local `weekly-code-review` contract in the isolated state directory, binds `code-host` and `tracker` to GitHub, and supplies `DemoGh` responses for `acme/widgets`. Its documentation-only `showcase.merged` and `showcase.issues` operations use the real adapter with the fixed October 2026 window. The fictional people, repository, links, pull requests and issues are examples, not evidence of a real account or live GitHub access. The fixture deliberately includes a pull-request-shaped issue; the adapter excludes pull requests from issue results (`src/heinzel_github/_adapter.py`, `issues_updated`). Do not claim the workflow ran or produced its `notes` output.
23
-
24
- ## Source-bound UI surface inventory
25
-
26
- - `pyproject.toml` declares both `heinzel.modules` and `heinzel.connected_sources` entry points as `github = "heinzel_github"`. Their shared target is `src/heinzel_github/__init__.py`; the second entry point must not be assumed to declare a separate page.
27
- - `src/heinzel_github/_module.py` declares `Module("github", ...)`. `src/heinzel_github/__init__.py` registers settings, services, a skill, read providers for `code-host` and `tracker`, the `info` operation, a system-info contribution, offline health and live health. These are real Core integration surfaces even though this plugin declares no Page, View, navigation, channel, approval, setup or footer contribution in the provided source. Absence of a Page or View alone would not establish terminal-only behavior.
28
- - The `info` operation and `module.info` contribution expose plugin, version, Core version, host and executable details (`src/heinzel_github/_service.py`, `about`); `module.health` contributes Doctor/connector status, while `module.health(live=True)` performs the on-demand connector test. `README.md` identifies Settings → Connectors as a Core-rendered UI and describes the CLI counterparts. The provided files do not establish a direct route or the exact Core rendering of every contribution. Do not manufacture one.
29
- - The Core contracts collection and detail are workflow feature UI, populated by the fixture contract; they are not GitHub-owned screens. The fixture's `showcase` operations render tables in the app terminal and CLI. Their terminal output is not feature UI. The adapter's capability methods are programmatic reads, not separately declared plugin CLI operations (`src/heinzel_github/_adapter.py`; `docs/screenshot_fixture.py`).
30
- - GitHub and `gh` are external provider surfaces. No GitHub website or provider screen is needed here. The optional `GithubReleaseFeeds` service is registered only under the captured-source condition (`src/heinzel_github/__init__.py`, `src/heinzel_github/_release_feed.py`); the README describes its draft-workflow use, but the provided fixture does not demonstrate that flow. Do not invent a release-feed screen or claim it was exercised.
31
- - The existing plan and catalog describe the workflow collection and detail (`docs/screenshots.toml`, `pyproject.toml`). They are evidence of intended capture, not proof that the current Core route renders successfully. Resolve that uncertainty during capture and review.
32
-
33
- ## Privacy pitfalls
34
-
35
- Use the isolated fixture and inspect every image and transcript for real account names, repository names, hostnames, paths, tokens, incidental data and browser or terminal chrome. Normal presentation fictionalization is explicitly limited to verified owning-interpreter paths becoming `/demo-profile/.venv`, and only the verified whole hostname detail in the genuine Doctor row becoming `demo-host`. These mappings change no SDK health status or remaining detail and establish no privacy acceptance; unknown identities still fail, and independent review must inspect every image and transcript. Do not substitute fictional status, redact away an unexplained identity, or treat fixture isolation as proof of privacy.
36
-
37
- ## Acceptance criteria
38
-
39
- - Capture genuine Core UI with applied light and dark appearances: the collection and a distinct useful detail state of the fictional weekly review. Verify the existing detail route or reach it by a verified Core interaction.
40
- - Show the fixture's merged pull requests and issue changes as genuine terminal output, plus a useful CLI result and JSON case. Clearly label demo data and the fixture-only requester; do not imply its commands are shipped plugin operations.
41
- - Preserve real SDK statuses and details under the narrowly defined presentation mappings. Independently inspect every image and transcript; any unknown identity fails review.
42
- - Confirm screenshots are distinct, legible and consistent with the fictional source data. Reject duplicates, caption-only changes, terminal output represented as feature UI, forged HTML, invented product screens, and claims that a report or live GitHub read occurred.
43
- - The plan is structurally checked against the requested format and retains the existing six scenes and local bootstrap. Runtime rendering, route availability, applied themes and privacy acceptance remain to be verified during explicit capture; no code, imports or network calls were run for this proposal.
@@ -1,7 +0,0 @@
1
- {
2
- "format": 1,
3
- "reviewer": "Codex feature-story agent",
4
- "source_sha256": "4965336e7284ca3f776242e2244e65d4ead21d20c813f31041c249a07e4a7293",
5
- "plan_sha256": "4b2f2733e91a815803ccfec3f3159a7b58900ad41be8c262d4b514b685420e07",
6
- "story_sha256": "f9576ce029866daf1d493640fef49d694566ecb40207be665cee96208b1d1d5c"
7
- }
File without changes
File without changes