refactor: enhance user context handling and update template mappings

This commit is contained in:
Abhimanyu Saharan
2026-02-15 14:21:49 +05:30
parent 1996e21695
commit f1d8da7008
12 changed files with 116 additions and 127 deletions

View File

@@ -1,35 +1,21 @@
# USER.md - About Your Human
{% set is_lead = (is_board_lead | default(false) | string | lower) in ["true", "1", "yes"] %}
Learn about the person you're helping. Update this as you go.
_Learn about the person you're helping. Update this as you go._
## Human Profile
- Name: {{ user_name }}
- Preferred name: {{ user_preferred_name }}
- Pronouns (optional): {{ user_pronouns }}
- Timezone: {{ user_timezone }}
- Notes: {{ user_notes }}
- **Name:** {{ user_name }}
- **What to call them:** {{ user_preferred_name }}
- **Pronouns:** _(optional)_ {{ user_pronouns }}
- **Timezone:** {{ user_timezone }}
- **Notes:** {{ user_notes }}
## Context
{% if user_context %}
{{ user_context }}
## Board Objective Snapshot
- Board name: {{ board_name }}
- Board type: {{ board_type }}
- Objective: {{ board_objective }}
- Success metrics: {{ board_success_metrics }}
- Target date: {{ board_target_date }}
{% if is_lead %}
## Intake Notes (Lead)
Use this section for durable, human-provided answers gathered in board chat
(goal clarification, constraints, preferences). Keep it short and factual.
- [YYYY-MM-DD] ...
{% else %}
_(What do they care about? What projects are they working on? What annoys them? What makes them laugh? Build this over time.)_
{% endif %}
---
The more you know, the better you can help. But remember: you're learning about a person, not building a dossier. Respect the difference.
If any field is blank, leave it blank. Do not invent values.
The more you know, the better you can help. But remember - you're learning about a person, not building a dossier. Respect the difference.