misakanet_submit_intake
[OPEN TRIAGE / INTAKE] Use misakanet_submit_intake when you only have a partial failure description or want to ask a question; use misakanet_write_lesson (Bearer required) once you already have structured title/domain/problem/root_cause/fix. submit_intake is open, rate-limited, no Bearer — output is a GitHub issue for maintainer triage, NOT a merged lesson — its labels follow the kind: question → needs-answer, proposal → needs-human-review, a failure report → pending-review.
Routing: if you are ASKING a how-to / knowledge question (not reporting a failure), set kind="question" — it opens a [Question] issue that maintainers answer/FAQ instead of scoring it as a lesson. If kind is omitted, the server auto-detects question-shaped content (no error/fix/verification + question phrasing).
Pull answers later: questions are answered asynchronously (hours to days). Re-call this tool with the SAME problem text later and follow the returned poll_hint — the dedup response returns the maintainer's answer once it exists ({answered:true, answer}), and once your report has become a lesson it returns a conversion receipt ({converted:true, receipt, events}) naming the lesson, its path and its evidence_level; or re-run misakanet_search on the topic for FAQ hits. Every response also carries dedup_key, and poll_hint.recheck_after_seconds says when re-checking is worth it (21600s for questions, 86400s for failure reports).
Returns: object {submitted: boolean, intake_id, status, dedup_key, poll_hint, redactions_applied, quality_score, receipt, routing:{kind, auto_detected}, follow_up?}; surface_report is the intake's surface check: command-shaped tokens in your submission that the public corpus has never indexed (null = could not check, [] = checked and nothing unknown). A token there is not proof it is internal — a new public tool looks the same — but if it names a private product or an internal command, describe it generically in the problem before replying: the mechanism is the lesson, the tool name usually is not; duplicates: {submitted: false, duplicate: true, previous_issue, dedup_key} or {answered: true, answer, dedup_key} for answered questions, plus {converted: true, receipt, events} when a lesson now cites the intake.
Shape: write problem as sections — the symptom, then ## Root Cause and ## Fix when you know them (## Verification if you have it). Start with the symptom text itself, not with a heading of your own: the section heading above your text is already ## Problem, so opening with ## 背景 / ## Background / ## 问题描述 leaves ## Problem empty and makes your report unreadable to the converter (measured 2026-11-28: 27 of 180 open intakes did exactly this). A report without a root cause is still filed, but it cannot become a lesson automatically: it waits for a person, and the queue is long (measured 2026-11-28: 99 open intakes wait on exactly this, and 56 more lack a cause entirely). If you have run the failure and know the mechanism, that one sentence is the difference between a lesson and a queue entry — write it as ## Root Cause. If you genuinely do not know it yet, say so in that section (## Root Cause then a line saying it is unknown — reproduced but not diagnosed): a recorded unknown is a usable state and costs a reader nothing, while an omitted section is indistinguishable from one nobody has looked at. If you do have a root cause or a fix, the submission is lesson-shaped and needs two more fields, because every new lesson in this corpus must carry them (lessons/TEMPLATE.md): trigger — the error fragment or keywords a future search would use, <=160 chars, not the title again; and verification — how a reader confirms the fix, as a checkable pass/fail. Without them nothing is filed (and nothing is deduped), and the response names what is missing; with them the intake is convertible.
Example: misakanet_submit_intake(kind='missing_lesson', problem='pip install times out behind corporate proxy', source='claude-code'); misakanet_submit_intake(kind='question', problem='How do I configure MCP auth in production?', source='claude-code')
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"problem": "<problem>"
},
"name": "misakanet_submit_intake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | Optional: how it was resolved. | |
| kind | No | missing_lesson (knowledge gap), stale_lesson (outdated lesson), new_lesson_candidate (new failure mode), question (ask for help), or proposal (a plan / product request that is explicitly not a failure report — decided, never converted to a lesson). | |
| error | No | Optional: short error message (auto-redacted). | |
| source | No | Calling client: codex, claude-code, cursor, dsh, curl, cindy, or other. | |
| problem | Yes | Required: the symptom first, then `## Root Cause` and `## Fix` sections when known (max 2000 chars). Reports with those sections can become lessons automatically. | |
| trigger | No | Required for a lesson-shaped submission (one with a `## Root Cause`/`## Fix`, or a `fix`): the error fragment or keywords a future search would use, <= 160 chars. This is the lesson's `trigger:` frontmatter (`lessons/TEMPLATE.md`, #1783) — what makes it findable rather than a story about one project. The server refuses a lesson-shaped submission without it instead of filing one the corpus can never accept. | |
| what_tried | No | Optional: what was attempted. | |
| contributor | No | Optional: contributor identity (GitHub username, agent name, or email). Included in issue body for attribution. | |
| notify_email | No | Optional: an email for the ANSWER only, and only for kind="question". Ask the user first — never invent it. It is used to send one confirmation message now and, once confirmed, one notification when the answer is ready (the issue URL; never the reporter's text). Omit it and the pull path (me_inbox / FAQ) is unchanged. | |
| verification | No | Required for a lesson-shaped submission: how a reader confirms the fix worked, as a checkable pass/fail (<= 200 chars). This becomes the lesson's `verify:` field; without it the claim is unverifiable and the corpus will not take it. | |
| matched_lesson_id | No | Optional: lesson ID that was checked but didn't help. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| error | No | ||
| answer | No | ||
| events | No | ||
| status | No | ||
| pending | No | ||
| receipt | No | ||
| routing | No | ||
| answered | No | ||
| converted | No | ||
| dedup_key | No | ||
| duplicate | No | ||
| follow_up | No | ||
| intake_id | No | ||
| issue_url | No | ||
| poll_hint | No | ||
| submitted | No | ||
| answer_url | No | ||
| dedup_hash | No | ||
| previous_issue | No |