Skip to lesson
Exit
Support Comms, Docs & Automation1 / 2

1 min lesson

Sketch-level pseudocode is what the tooling round wants

Explain what the example in "Sketch-level pseudocode is what the tooling round wants" is doing and why it matters.

Step 1 of 2

The toolkit you'd actually reach for

PythonJS / TSshellticketing APISlack API / botscheduled jobs (cron)an LLM call for triage

A bot that reads new tickets, pulls the version and error from the log paste, classifies the surface and posts a routed summary into the right Slack channel is a weekend project and an outsized win. Sketch it at the level of inputs, transform and output.

Sketch-level pseudocode is what the tooling round wants - not production code
# Triage bot: new ticket -> classify -> route to Slack
on new_ticket(t):
    log   = extract_log_block(t.body)         # pull pasted Cursor logs
    info  = parse(log)                         # version, OS, first error line
    area  = classify(t.subject, info.error)   # tab | agent | billing | sso | other
    sev   = severity(info.error, t.keywords)  # p0..p3 heuristic

    summary = llm_draft_summary(t, info, area) # human-editable, not auto-sent
    post_to_slack(channel=route(area), text=summary, sev=sev)
    tag_ticket(t, area=area, severity=sev)

# Win: every ticket lands pre-classified with version + error surfaced,
# so the on-call engineer reads signal instead of digging for it.