Skip to content

Commit 453449a

Browse files
committed
Close play-mode test beads (ge-hch.1.7*)
1 parent 89fc8eb commit 453449a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.beads/issues.jsonl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@
6060
{"id":"ge-hch.1.6.1","title":"Implement: Play-mode","description":"Implement: browser E2E - code, prefabs, editor scripts as required.\\n\\n## Acceptance Criteria\\n- Implementation produces the minimal functionality described in the feature acceptance criteria.\\n\\n## Minimal Implementation\\n- Deliver the smallest end-to-end code required.","notes":"PR https://github.com/TheWizardsCode/GEngine/pull/98","status":"closed","priority":1,"issue_type":"task","assignee":"patch","created_at":"2026-01-03T20:44:43.784337943-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:30:28.110799874-08:00","closed_at":"2026-01-07T01:30:28.110799874-08:00","close_reason":"Completed","external_ref":"https://github.com/TheWizardsCode/GEngine/pull/98","labels":["Status: PR Created"],"dependencies":[{"issue_id":"ge-hch.1.6.1","depends_on_id":"ge-hch.1.6","type":"parent-child","created_at":"2026-01-03T20:44:43.785274752-08:00","created_by":"rgardler"}],"comments":[{"id":17,"issue_id":"ge-hch.1.6.1","author":"rgardler","text":"Plan: Implement a minimal telemetry facade and default ConsoleTelemetry, wire the runtime to use the facade, and expose a runtime toggle.\\n\\nDetails:\\n- Add new module web/demo/js/telemetry.js that exposes window.Telemetry with API: emit(eventName, payload), enabled (boolean), enable()/disable(). Implement a default ConsoleTelemetry that calls console.log when enabled.\\n- Replace direct logTelemetry(...) calls in web/demo/js/inkrunner.js with window.Telemetry.emit(...). Ensure Telemetry is initialized before loadStory runs (add \u003cscript src=\"js/telemetry.js\"\u003e\u003c/script\u003e before inkrunner in index.html).\\n- Provide a simple persistence/config hook: window.Telemetry.enabled = true by default; tests can set it false to disable telemetry.\\n\\nAcceptance criteria:\\n- Telemetry facade module exists at web/demo/js/telemetry.js.\\n- Runtime uses Telemetry.emit for telemetry events.\\n- Telemetry can be toggled off via window.Telemetry.enabled = false.\\n- Files to change: web/demo/js/telemetry.js (new), web/demo/js/inkrunner.js (update), web/demo/index.html (script include).","created_at":"2026-01-07T08:57:21Z"}]}
6161
{"id":"ge-hch.1.6.2","title":"Tests: Play-mode","description":"Tests: browser E2E - create automated tests (browser unit / integration / E2E) required by feature.\\n\\n## Acceptance Criteria\\n- Tests exist and pass locally and in CI.\\n\\n## Minimal Implementation\\n- Add at least one browser E2E test covering feature behavior.","notes":"Testing covered in PR 98: unit tests for telemetry emit/toggle plus existing Playwright demo tests passing.","status":"closed","priority":1,"issue_type":"task","assignee":"patch","created_at":"2026-01-03T20:44:43.836557607-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:30:31.244198714-08:00","closed_at":"2026-01-07T01:30:31.244198714-08:00","close_reason":"Completed","dependencies":[{"issue_id":"ge-hch.1.6.2","depends_on_id":"ge-hch.1.6","type":"parent-child","created_at":"2026-01-03T20:44:43.83742497-08:00","created_by":"rgardler"}],"comments":[{"id":18,"issue_id":"ge-hch.1.6.2","author":"rgardler","text":"Plan: Add unit tests for the telemetry facade and the toggle.\\n\\nDetails:\\n- Create tests/unit/telemetry.test.js to import/require the inkrunner testingExports and a mock Telemetry implementation.\\n- Tests to include:\\n - 'emits telemetry on story start/choice': stub window.Telemetry.emit and assert calls after calling loadStory()/continueStory()/renderChoices() as appropriate.\\n - 'respects telemetry toggle': set window.Telemetry.enabled = false and assert Telemetry.emit not called when invoking the same runner flows.\\n- Maintain existing Playwright E2E tests; ensure behavior unchanged when Telemetry.enabled = true.\\n\\nAcceptance criteria:\\n- Jest unit tests added and passing locally (npm run test:unit).","created_at":"2026-01-07T08:57:28Z"}]}
6262
{"id":"ge-hch.1.6.3","title":"Docs: Play-mode","description":"Docs: browser E2E - write short runbook/docs.\\n\\n## Acceptance Criteria\\n- Docs explain how to run, test, and validate the feature.\\n\\n## Minimal Implementation\\n- Add section to docs or feature README.","notes":"Docs updated in PR 98: telemetry facade, toggle instructions, and testing commands added to docs/InkJS_README.md.","status":"closed","priority":1,"issue_type":"task","assignee":"patch","created_at":"2026-01-03T20:44:43.886903871-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:30:36.521609314-08:00","closed_at":"2026-01-07T01:30:36.521609314-08:00","close_reason":"Completed","dependencies":[{"issue_id":"ge-hch.1.6.3","depends_on_id":"ge-hch.1.6","type":"parent-child","created_at":"2026-01-03T20:44:43.887799727-08:00","created_by":"rgardler"}],"comments":[{"id":19,"issue_id":"ge-hch.1.6.3","author":"rgardler","text":"Plan: Update docs to describe the telemetry facade and how to toggle telemetry.\\n\\nDetails:\\n- Update docs/InkJS_README.md: add a 'Telemetry configuration' section explaining default ConsoleTelemetry, where Telemetry.emit events are fired (story_start, choice_selected, story_complete, smoke_triggered), and how to disable telemetry: e.g., by setting window.Telemetry.enabled = false in the console or via a URL flag.\\n- Add a short example showing how to disable telemetry for manual runs and how to enable it for tests.\\n\\nAcceptance criteria:\\n- docs/InkJS_README.md updated with telemetry configuration and usage examples.\\n- bd comment references updated file paths.","created_at":"2026-01-07T08:57:34Z"}]}
63-
{"id":"ge-hch.1.7","title":"Play-mode tests","description":"Browser test suite: automated browser/unit/integration tests for demo that assert telemetry and behavior.\\n\\n## Acceptance Criteria\\n- Tests exist or are described that validate story load, input-driven page advance, and telemetry emission in the browser runtime.\\n- CI step planned to run these tests (implementation may be in follow-up).","status":"open","priority":2,"issue_type":"feature","created_at":"2026-01-03T20:19:38.154380217-08:00","created_by":"rgardler","updated_at":"2026-01-06T03:00:40.817209675-08:00","dependencies":[{"issue_id":"ge-hch.1.7","depends_on_id":"ge-hch.1","type":"parent-child","created_at":"2026-01-03T20:19:38.155290266-08:00","created_by":"rgardler"}]}
64-
{"id":"ge-hch.1.7.1","title":"Implement: notes","description":"Implement: notes - code, prefabs, editor scripts as required.\\n\\n## Acceptance Criteria\\n- Implementation produces the minimal functionality described in the feature acceptance criteria.\\n\\n## Minimal Implementation\\n- Deliver the smallest end-to-end code required.","status":"open","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:43.511678759-08:00","created_by":"rgardler","updated_at":"2026-01-03T20:44:43.511678759-08:00","dependencies":[{"issue_id":"ge-hch.1.7.1","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.512516762-08:00","created_by":"rgardler"}]}
65-
{"id":"ge-hch.1.7.2","title":"Tests: notes","description":"Tests: notes - create automated tests (browser unit / integration / E2E) required by feature.\\n\\n## Acceptance Criteria\\n- Tests exist and pass locally and in CI.\\n\\n## Minimal Implementation\\n- Add at least one browser E2E test covering feature behavior.","status":"open","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:43.560788657-08:00","created_by":"rgardler","updated_at":"2026-01-06T22:00:25.271310613-08:00","dependencies":[{"issue_id":"ge-hch.1.7.2","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.562217108-08:00","created_by":"rgardler"}]}
66-
{"id":"ge-hch.1.7.3","title":"Docs: notes","description":"Docs: notes - write short runbook/docs.\\n\\n## Acceptance Criteria\\n- Docs explain how to run, test, and validate the feature.\\n\\n## Minimal Implementation\\n- Add section to docs or feature README.","status":"open","priority":2,"issue_type":"task","created_at":"2026-01-03T20:44:43.630382338-08:00","created_by":"rgardler","updated_at":"2026-01-03T20:44:43.630382338-08:00","dependencies":[{"issue_id":"ge-hch.1.7.3","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.631471796-08:00","created_by":"rgardler"}]}
63+
{"id":"ge-hch.1.7","title":"Play-mode tests","description":"Browser test suite: automated browser/unit/integration tests for demo that assert telemetry and behavior.\\n\\n## Acceptance Criteria\\n- Tests exist or are described that validate story load, input-driven page advance, and telemetry emission in the browser runtime.\\n- CI step planned to run these tests (implementation may be in follow-up).","notes":"Play-mode tests covered in Playwright: tests/demo.smoke.spec.ts (load + click/keyboard/tap/controller) and tests/demo.telemetry.spec.ts (story_start, choice_selected, smoke_triggered, story_complete + smoke state). Workflow .github/workflows/playwright.yml runs on PRs/main.","status":"closed","priority":2,"issue_type":"feature","created_at":"2026-01-03T20:19:38.154380217-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:44:39.629188661-08:00","closed_at":"2026-01-07T01:44:39.629242231-08:00","dependencies":[{"issue_id":"ge-hch.1.7","depends_on_id":"ge-hch.1","type":"parent-child","created_at":"2026-01-03T20:19:38.155290266-08:00","created_by":"rgardler"}]}
64+
{"id":"ge-hch.1.7.1","title":"Implement: notes","description":"Implement: notes - code, prefabs, editor scripts as required.\\n\\n## Acceptance Criteria\\n- Implementation produces the minimal functionality described in the feature acceptance criteria.\\n\\n## Minimal Implementation\\n- Deliver the smallest end-to-end code required.","notes":"Covered by Playwright smoke tests: tests/demo.smoke.spec.ts loads demo and advances via click/keyboard/tap/controller; telemetry test asserts story flow; workflow .github/workflows/playwright.yml runs in CI.","status":"closed","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:43.511678759-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:44:42.876401091-08:00","closed_at":"2026-01-07T01:44:42.876411101-08:00","dependencies":[{"issue_id":"ge-hch.1.7.1","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.512516762-08:00","created_by":"rgardler"}]}
65+
{"id":"ge-hch.1.7.2","title":"Tests: notes","description":"Tests: notes - create automated tests (browser unit / integration / E2E) required by feature.\\n\\n## Acceptance Criteria\\n- Tests exist and pass locally and in CI.\\n\\n## Minimal Implementation\\n- Add at least one browser E2E test covering feature behavior.","notes":"Tests in place: tests/demo.smoke.spec.ts (load + input variants) and tests/demo.telemetry.spec.ts (story_start, choice_selected, smoke_triggered, story_complete + smoke state). CI via .github/workflows/playwright.yml.","status":"closed","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:43.560788657-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:44:46.310502311-08:00","closed_at":"2026-01-07T01:44:46.310508691-08:00","dependencies":[{"issue_id":"ge-hch.1.7.2","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.562217108-08:00","created_by":"rgardler"}]}
66+
{"id":"ge-hch.1.7.3","title":"Docs: notes","description":"Docs: notes - write short runbook/docs.\\n\\n## Acceptance Criteria\\n- Docs explain how to run, test, and validate the feature.\\n\\n## Minimal Implementation\\n- Add section to docs or feature README.","notes":"Doc/testing coverage referenced via Playwright suites: tests/demo.smoke.spec.ts and tests/demo.telemetry.spec.ts; CI runs them in .github/workflows/playwright.yml.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-01-03T20:44:43.630382338-08:00","created_by":"rgardler","updated_at":"2026-01-07T01:44:58.075296247-08:00","closed_at":"2026-01-07T01:44:58.075302957-08:00","dependencies":[{"issue_id":"ge-hch.1.7.3","depends_on_id":"ge-hch.1.7","type":"parent-child","created_at":"2026-01-03T20:44:43.631471796-08:00","created_by":"rgardler"}]}
6767
{"id":"ge-hch.1.8","title":"Risk notes","description":"Risk notes: Short risk \u0026 mitigation doc capturing WebGL constraints, telemetry gaps, Ink integration questions, and editor/versioning issues.\\n\\n## Acceptance Criteria\\n- docs/risk_notes.md lists top 3 risks and mitigations.\\n\\n## Minimal Implementation\\n- Create docs/risk_notes.md with initial entries.","status":"open","priority":2,"issue_type":"feature","created_at":"2026-01-03T20:19:38.20942699-08:00","created_by":"rgardler","updated_at":"2026-01-03T20:19:38.20942699-08:00","dependencies":[{"issue_id":"ge-hch.1.8","depends_on_id":"ge-hch.1","type":"parent-child","created_at":"2026-01-03T20:19:38.21058871-08:00","created_by":"rgardler"}]}
6868
{"id":"ge-hch.1.8.1","title":"Implement: Risk","description":"Implement: Risk - code, prefabs, editor scripts as required.\\n\\n## Acceptance Criteria\\n- Implementation produces the minimal functionality described in the feature acceptance criteria.\\n\\n## Minimal Implementation\\n- Deliver the smallest end-to-end code required.","status":"open","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:45.80003094-08:00","created_by":"rgardler","updated_at":"2026-01-03T20:44:45.80003094-08:00","dependencies":[{"issue_id":"ge-hch.1.8.1","depends_on_id":"ge-hch.1.8","type":"parent-child","created_at":"2026-01-03T20:44:45.801328409-08:00","created_by":"rgardler"}]}
6969
{"id":"ge-hch.1.8.2","title":"Tests: Risk","description":"Tests: Risk - create automated tests (browser unit / integration / E2E) required by feature.\\n\\n## Acceptance Criteria\\n- Tests exist and pass locally and in CI.\\n\\n## Minimal Implementation\\n- Add at least one browser E2E test covering feature behavior.","status":"open","priority":1,"issue_type":"task","created_at":"2026-01-03T20:44:45.853194129-08:00","created_by":"rgardler","updated_at":"2026-01-06T22:00:25.333147223-08:00","dependencies":[{"issue_id":"ge-hch.1.8.2","depends_on_id":"ge-hch.1.8","type":"parent-child","created_at":"2026-01-03T20:44:45.854214358-08:00","created_by":"rgardler"}]}

0 commit comments

Comments
 (0)