Skip to content

epic: [Epic] M2: Home AI Agent Refinement#72

Merged
mabry1985 merged 2 commits intodevfrom
epic/m2-home-ai-agent-refinement
Mar 16, 2026
Merged

epic: [Epic] M2: Home AI Agent Refinement#72
mabry1985 merged 2 commits intodevfrom
epic/m2-home-ai-agent-refinement

Conversation

@mabry1985
Copy link

Summary

  • Home research agent prompt and factory (createHomeResearchAgent)
  • Research featureType added to types
  • Add-feature dialog defaults to research mode with home-friendly placeholders
  • E2E tests for critical homeMaker cross-service flows

Generated by auto-mode agents.

* test: add E2E tests for critical homeMaker cross-service flows (#64)

Adds Playwright E2E tests covering four critical integration flows:
1. Sensor lifecycle: register → report reading → query history
2. Maintenance completion: create task → complete → verify XP awarded
3. Inventory + sensor: add asset → link sensor → verify readings
4. Gamification milestone: complete task → achievement unlocked

Tests use API-level requests (no UI interaction required) and support
both AUTOMAKER_AUTO_LOGIN dev mode and API key auth for CI environments.
All four tests pass against the live dev server.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: add home research mode agent and research-first board task UX

- Add `createHomeResearchAgent()` to agent-definitions.ts with WebSearch/WebFetch tools;
  produces structured reports (overview, top options, pros/cons, price ranges, recommendation)
  and is explicitly bounded from writing code or modifying files
- Add `getHomeResearcherPrompt()` in libs/prompts/src/agents/home-researcher.ts and
  export it from the agents barrel
- Extend `featureType` union in libs/types/src/feature.ts to include 'research' alongside
  'code' and 'content'
- Update add-feature-dialog to default new tasks to 'research' type with a task type
  selector (Research vs Code) and research-specific description placeholder examples

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 16, 2026

Caution

Review failed

The head commit changed during the review from 0ca5170 to efe8106.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch epic/m2-home-ai-agent-refinement
📝 Coding Plan
  • Generate coding plan for human review comments

Comment @coderabbitai help to get the list of available commands and usage tips.

Keep research-conditional placeholder from M2 P1 with home-friendly
fallback text from M2 P2.
@mabry1985 mabry1985 merged commit a32c123 into dev Mar 16, 2026
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