[ask-a-sailor] ABA-informed dialogue layer: Coach + Reflect modes, Social Stories schema#26
Draft
fullharbor with Copilot wants to merge 3 commits into
Draft
[ask-a-sailor] ABA-informed dialogue layer: Coach + Reflect modes, Social Stories schema#26fullharbor with Copilot wants to merge 3 commits into
fullharbor with Copilot wants to merge 3 commits into
Conversation
… Stories schema, boundary hygiene - Add COACH_SYSTEM_PROMPT (in-the-moment ABA-informed coaching) - Add REFLECT_SYSTEM_PROMPT (post-session metacognitive reflection) - Add shared _BOUNDARY_BLOCK declining diagnosis, redirecting to professionals - Add SocialStory Pydantic schema with required fields: setting, roles, objective, sensory_profile, tone_preset, disclosure_intent - Add TonePreset and DisclosureIntent enums - Update prompts __init__.py exports - Add 35 tests: prompt mode distinctness, boundary hygiene, persona differentiation, schema validation Co-authored-by: fullharbor <237832340+fullharbor@users.noreply.github.com>
Co-authored-by: fullharbor <237832340+fullharbor@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add ABA-informed dialogue layer with Coach and Reflect modes
[ask-a-sailor] ABA-informed dialogue layer: Coach + Reflect modes, Social Stories schema
Mar 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ABA-informed prompt architecture for youth sailing coaching, informed by ASD-iLLM (Lai et al., EMNLP 2025) and the ABA-with-GPT HuggingFace blueprint.
Prompt modes (
src/prompts/system.py)_BOUNDARY_BLOCKinjected into both: declines diagnosis, redirects to BCBA/pediatrician/counselorSYSTEM_PROMPTunchangedSocial Stories schema (
src/prompts/social_stories.py)Pydantic model with the six specified fields:
Tests (
tests/test_prompts.py)35 tests across four classes: prompt distinctness, boundary-hygiene phrase checks on both ABA prompts, persona keyword differentiation (Coach vs Reflect), and schema validation including enum serialisation roundtrip.
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.