Tutorials Logic, IN info@tutorialslogic.com

Claude Support Copilot Capstone: Ship One Feature You Can Defend

Put the course together as a product, not a demo

This capstone connects the course into one feature a real team could review. The support copilot reads a customer request, retrieves approved policy, may look up an order through a read-only tool, and produces a structured resolution for an agent. It does not send money, change a record, or decide access. Those remain in the host application.

The work is deliberately broader than a prompt. You will define a contract, assemble only authorized evidence, validate a structured proposal, evaluate normal and hostile cases, trace the outcome without sensitive content, and release behind a flag. If one boundary fails, the workflow should hand off rather than improvise.

Capstone outcome: Build an evidence-grounded support copilot that proposes a structured resolution, shows its approved sources, performs one authorized read-only lookup, and escalates uncertain or risky cases. The capstone is complete only when its feature contract, evidence path, tool boundary, evaluation set, and rollback behavior can all be demonstrated.

The capstone is complete only when each layer has evidence

Layer Deliverable Proof
Model boundary Server-side adapter and structured proposal. Response validation and redacted trace.
Knowledge boundary Access-filtered policy retrieval with citations. Cases with correct evidence and no-evidence escalation.
Action boundary One narrow read-only order lookup. Authorization tests and minimal tool results.
Release boundary Feature flag, evaluation set, dashboard, and rollback plan. A launch scorecard signed off by named owners.

Build a thin vertical slice before connecting every capability

Begin with a contract that a support lead, engineer, and security reviewer can all read. Define the allowed statuses, the fields an agent needs, the policy sources that may be used, the one read-only tool, and the explicit non-goals. This prevents scope from quietly expanding as the prompt grows.

A strong capstone has a useful failure state: needs_review with a concise reason and the evidence available.

  • State what the copilot may and may not do.
  • Use a visible review status.
  • Keep action ownership outside the model.

Make evidence, proposal, and final action separate records

The copilot receives only the current ticket, authorized source excerpts, and a validated order lookup when one is necessary. It returns a draft resolution, not an action. The draft includes source IDs and an evidence status so the agent can see whether the answer is supported or should be escalated.

Keep policy and customer-specific records separate in the request assembly step.

  • Send only authorized evidence.
  • Include source IDs in the result.
  • Separate policy from customer records.

Use evaluation cases as the product specification

Use a schema validator at the boundary. An unexpected field, unknown status, unsupported citation, or attempted write becomes a review event. Do not patch malformed model output into a valid-looking record; preserve the failure reason for evaluation.

Tool results are data, not instructions. Treat text returned by a search or order service as untrusted content.

  • Validate output and tool data in code.
  • Preserve invalid-output reasons.
  • Treat external text as untrusted.

Prepare a release that can pause, learn, and recover

Evaluate the complete path: correct routing, source relevance, citation support, tool authorization, schema validity, safe abstention, latency, and cost. Include duplicate requests, a missing order, a stale policy, and prompt-injection content inside an uploaded or retrieved document.

Release to internal agents first with a feature flag. Define what metric or incident causes an immediate disable.

  • Evaluate the whole workflow.
  • Launch behind a reversible flag.
  • Use failures to improve the contract and dataset.

Build the Evidence-Grounded Support Copilot: A Complete Capstone

This capstone joins the course into one product: a support copilot that receives a ticket, retrieves only permitted policy passages, proposes a structured resolution, performs a narrow read-only lookup when needed, and escalates anything uncertain. The objective is not a chat demo. It is a feature a support team can inspect, evaluate, and turn off safely.

Build in thin vertical slices. First return a structured proposal from a fixed policy excerpt. Then add access-filtered retrieval. Then add the read-only order lookup. Finally, run the release scorecard against normal, adversarial, and missing-evidence cases. Every slice should leave behind a test and an observable record.

  • Make every model result a proposal with provenance.
  • Keep customer authorization outside the model loop.
  • Ship only after the evaluation and rollback evidence exists.

Assemble the support copilot step by step

Build a Reviewable Resolution Record

The final application object records the draft, evidence, and whether an agent must review it.

Build a Reviewable Resolution Record
def resolution_record(status: str, source_ids: list[str], next_step: str) -> dict:
    allowed = {"ready_for_agent", "needs_review"}
    if status not in allowed:
        status = "needs_review"
    return {
        "status": status,
        "source_ids": source_ids,
        "next_step": next_step,
    }

print(resolution_record("ready_for_agent", ["refund-policy-v3"], "confirm with customer"))
Output
{'status': 'ready_for_agent', 'source_ids': ['refund-policy-v3'], 'next_step': 'confirm with customer'}
  • The agent remains responsible for checking evidence and taking any consequential action.

Gate the First Release

A simple release rule illustrates that a strong demo is not enough to enable a feature broadly.

Gate the First Release
def may_expand_release(eval_pass_rate: float, citation_failure_rate: float, flag_enabled: bool) -> bool:
    return flag_enabled and eval_pass_rate >= 0.95 and citation_failure_rate <= 0.01

print(may_expand_release(0.97, 0.005, True))
Output
True
  • Choose thresholds from your risk level and record who approved them.

Represent a Copilot Decision as a Reviewable Record

This record keeps the customer request, evidence, proposal, and workflow status separate so a reviewer can understand what happened.

Represent a Copilot Decision as a Reviewable Record
def copilot_record(ticket_id: str, source_ids: list[str], proposal: str) -> dict:
    return {
        "ticket_id": ticket_id,
        "source_ids": source_ids,
        "proposal": proposal,
        "status": "needs_review" if not source_ids else "proposed",
    }

print(copilot_record("T-71", [], "refund")["status"])
Output
needs_review
  • No evidence means no automated policy conclusion.

Gate a Capstone Release on More Than Accuracy

The release gate combines task quality with safety and operability signals.

Gate a Capstone Release on More Than Accuracy
def ready_to_release(quality_ok: bool, safety_ok: bool, rollback_ready: bool) -> bool:
    return quality_ok and safety_ok and rollback_ready

print(ready_to_release(True, True, False))
print(ready_to_release(True, True, True))
Output
False
True
  • Replace booleans with measured thresholds, owners, and an approval record in a real release process.
The evidence that turns a demo into a feature

Capstone acceptance review

4 checks
  • I have a written feature contract and clear non-goals.
  • I can trace the source and authorization path for every response.
  • I validate the structured proposal before an agent sees it.
  • I have end-to-end evaluation evidence and a feature-flag rollback plan.

Capstone shortcuts that leave an unsafe integration behind

  • Using the model response as the system of record.
  • Evaluating only the final wording instead of the source and tool path.
  • Expanding a feature before the safe fallback and disable path are tested.

A complete product build exercise

Plan the first production-ready vertical slice

0 of 2 completed

Questions teams ask while assembling the capstone

Yes. Keep the same boundaries and replace the policy, read-only tool, schema, evaluation cases, and human reviewer for the domain.

After representative evaluation, security review, observability, a documented fallback, and a controlled rollout all show evidence appropriate to the risk.

Next Step
Next Practice

Finish the concept here, then reinforce it with hands-on coding, interview prep, or a tool that matches the topic.

Browse Free Tutorials

Explore 500+ free tutorials across 20+ languages and frameworks.