Create Team Entry
team_create_entryCreate a structured markdown entry in the team database to share project insights and session summaries with collaborators, ensuring proper categorization and context linking.
Instructions
Create an entry in the team database for sharing with collaborators. ONLY use when explicitly requested by the user. Default to personal create_entry instead. Content must be well-structured markdown using ## section headers. Select the most accurate entry_type (e.g., retrospective, technical_note). For session summaries, use entry_type "retrospective" with tag "session-summary" and structure content as: ## Accomplished, ## Unfinished / Blocked, ## Context for Next Session. REQUIRED: You MUST include project_number. REQUIRED: You MUST include impact_score, trust_score, and validation_status. REQUIRED: You MUST use related_to to anchor the entry to a session summary or nearby context. Requires TEAM_DB_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization (kebab-case). Session summaries MUST include "session-summary". DO NOT hallucinate fake tags. Only use tags that genuinely match the content or existing repository vocabulary, domain tags (e.g., "security", "performance") and activity tags (e.g., "refactor", "audit"). [ANTI-HALLUCINATION] MUST be an array of strings, e.g. ["tag1", "tag2"]. NEVER pass a single string. | |
| author | No | Override author name (default: auto-detected) | |
| pr_url | No | ||
| content | No | Markdown-formatted entry content. Use ## section headers to organize content. Note: The primary text is stored in the `content` property (not `entry`, `title`, `message`, `name`, `description`, or `text`). For session summaries (entry_type: "retrospective", tagged "session-summary"), MUST use EXACTLY: ## Accomplished, ## Unfinished / Blocked, ## Context for Next Session, ## Commits. Do NOT invent extra top-level sections for session summaries. | |
| issue_url | No | ||
| pr_number | No | ||
| pr_status | No | ||
| entry_type | No | Entry type. Use "retrospective" for session summaries, "bug_fix" for bugs, "feature_implementation" for features, "planning" for roadmaps, "technical_note" for implementation notes. Do NOT default to "personal_reflection" unless the entry is genuinely a personal note. | personal_reflection |
| session_id | No | Agent session ID for thread isolation (usually conversation ID). | |
| trust_score | No | Heuristic score (0.0-1.0) indicating confidence (0.3-0.5 for unverified, 0.9+ for verified). | |
| auto_context | No | ||
| impact_score | No | Heuristic score (0.0-1.0) indicating blast radius (0.9+ for core architecture, 0.1 for simple docs). | |
| issue_number | No | ||
| workspace_id | No | REQUIRED. The repository name (e.g. adamic). Do not use numeric project IDs or "workspace" as the key. | |
| project_owner | No | Owner of the project/task. | |
| relationships | No | Optional array of links to previous entries/flags to establish relationships immediately upon creation. Types: "resolves", "depends_on", "implements", "relates_to", "references", "evolves_from" | |
| workflow_name | No | ||
| project_number | No | Numeric project ID (e.g., 1, 14). This is now optional; workspace_id is preferred. | |
| workflow_run_id | No | ||
| workflow_status | No | ||
| significance_type | No | ||
| validation_status | No | Current validation status of the entry (passed, none, failed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| entry | No | ||
| error | No | Human-readable error message | |
| author | No | ||
| details | No | Additional error context | |
| success | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable | |
| aggregated_errors | No | Details of individual errors in a multi-step operation |