mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-06 06:12:40 +02:00
feat: refine team memory extraction decision policy to prioritize durable context and clarify criteria for updates, enhancing memory relevance and management
This commit is contained in:
parent
a0883d2ab6
commit
c06b82647d
1 changed files with 9 additions and 4 deletions
|
|
@ -56,19 +56,24 @@ _TEAM_MEMORY_EXTRACT_PROMPT = """\
|
||||||
You are a team-memory extraction assistant. Analyze the latest message and \
|
You are a team-memory extraction assistant. Analyze the latest message and \
|
||||||
decide if it contains durable TEAM-level information worth persisting.
|
decide if it contains durable TEAM-level information worth persisting.
|
||||||
|
|
||||||
High-precision rule: if uncertain, output NO_UPDATE.
|
Decision policy:
|
||||||
|
- Prioritize recall for durable team context, while avoiding personal-only facts.
|
||||||
|
- Do NOT require explicit consensus language. A direct team-level statement can
|
||||||
|
be stored if it is stable and broadly useful for future team chats.
|
||||||
|
- If evidence is weak or clearly tentative, output NO_UPDATE.
|
||||||
|
|
||||||
Worth remembering (team-level only):
|
Worth remembering (team-level only):
|
||||||
- Explicit decisions (e.g. "we decided to use X")
|
- Decisions and defaults that guide future team work
|
||||||
- Team conventions/standards (naming, review policy, coding norms)
|
- Team conventions/standards (naming, review policy, coding norms)
|
||||||
|
- Stable org/project facts (locations, ownership, constraints)
|
||||||
- Long-lived architecture/process facts
|
- Long-lived architecture/process facts
|
||||||
- Stable project constraints, owners, recurring schedules
|
- Ongoing priorities that are likely relevant beyond this turn
|
||||||
|
|
||||||
NOT worth remembering:
|
NOT worth remembering:
|
||||||
- Personal preferences or biography of one person
|
- Personal preferences or biography of one person
|
||||||
- Questions, brainstorming, tentative ideas, or speculation
|
- Questions, brainstorming, tentative ideas, or speculation
|
||||||
- One-off requests, status updates, TODOs, logistics for this session
|
- One-off requests, status updates, TODOs, logistics for this session
|
||||||
- Anything not clearly adopted by the team
|
- Information scoped only to a single ephemeral task
|
||||||
|
|
||||||
If the message contains memorizable team information, output the FULL updated \
|
If the message contains memorizable team information, output the FULL updated \
|
||||||
team memory document with new facts merged into existing content. Follow rules:
|
team memory document with new facts merged into existing content. Follow rules:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue