Skip to content

Conversation

@sfc-gh-mochen
Copy link
Contributor

Summary

  • Remove automatic session.json file write when calling bdg stop
  • Remove offline session fallback from network commands (was reading from session.json when daemon unavailable)
  • Delete unused src/session/output.ts module
  • Update skill documentation to discourage premature stop calls

Motivation

Claude agents were calling bdg stop too frequently, ending sessions prematurely. Since bdg peek already provides access to telemetry data without stopping the session, the JSON export on stop was redundant and encouraged unnecessary session termination.

Changes

  • bdg stop now simply ends the session without writing any file
  • Users should use bdg peek to inspect telemetry data before stopping if needed
  • Skill updated with guidance: "Don't stop sessions prematurely"

Test plan

  • Build passes
  • Manual test: bdg <url>bdg peekbdg stop works without errors
  • Verify no session.json is created on stop

@sfc-gh-mochen sfc-gh-mochen force-pushed the mochen-remove-stop-json-export branch from 1079a06 to 05eebff Compare December 23, 2025 18:19
- Remove session.json file write on stop
- Remove offline session fallback from network commands
- Delete unused output.ts module
- Update skill to discourage premature stop calls
- Remove 'save output' references from UI messages
- Demote 'bdg stop' in command listings (show peek/tail first)
- Update golden workflow test to use peek instead of session.json
- Users should use bdg peek to inspect telemetry data
@sfc-gh-mochen sfc-gh-mochen force-pushed the mochen-remove-stop-json-export branch from 05eebff to b807b13 Compare December 23, 2025 18:20
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