Dayward AIWeChat Mini Program
← All course question banks

Context Engineering in 5 Days

Course questions · 15 / 15

D1 Context Is the Scarcest Resource: the Window, Attention Decay, and Cost — From Prompt Engineering to Context Engineering

  • What actually goes into the context of a single agent request, and which part is most likely to blow up?一次 Agent 请求的上下文里都有什么?哪一块最容易失控,为什么?
    Common in ChinaCommon overseasBasic#context-window#token-budget

    🔒 Unlock D1 to see the answer keys.

  • Context windows keep growing. Why not just put everything potentially relevant into the prompt?窗口越来越大了,为什么不能把所有可能有用的资料都塞进去?
    Common in ChinaCommon overseasIntermediate#context-rot#attention-budget#cost

    🔒 Unlock D1 to see the answer keys.

  • Where is the line between prompt engineering and context engineering, and when do you switch?提示词工程和上下文工程的分界在哪?什么时候该从前者切换到后者?
    Common in ChinaCommon overseasIntermediate#prompt-engineering#context-engineering#scoping

    🔒 Unlock D1 to see the answer keys.

D2 System Prompts and the Instruction Hierarchy: the Right Altitude, Persistent Instruction Files, Progressive Disclosure, Less Is More

  • How do you calibrate the altitude of a system prompt, and what goes wrong at each extreme?系统提示的高度怎么把握?写太具体和写太笼统各会出什么问题?
    Common in ChinaCommon overseasIntermediate#system-prompt#altitude

    🔒 Unlock D2 to see the answer keys.

  • What belongs in the system prompt, what belongs in a persistent instruction file, and what should be loaded on demand?哪些内容该进系统提示,哪些该进持久指令文件,哪些该按需加载?
    Common in ChinaCommon overseasIntermediate#instruction-hierarchy#progressive-disclosure

    🔒 Unlock D2 to see the answer keys.

  • How do system prompts keep growing, and how would you stop it?系统提示越写越长是怎么发生的?你会怎么止住这个过程?
    Common in ChinaCommon overseasBasic#prompt-bloat#maintenance

    🔒 Unlock D2 to see the answer keys.

D3 Managing Context for Tool Results and Retrieval: Loading on Demand, Summarizing and Pruning, Structured Returns

  • An agent has thirty tools mounted and it is clearly struggling. How do you cut the list, and on what basis?Agent 挂了三十个工具,明显吃不消了。你会怎么裁?依据是什么?
    Common in ChinaCommon overseasIntermediate#tool-design#tool-budget

    🔒 Unlock D3 to see the answer keys.

  • How do you choose between just-in-time loading and pre-inference retrieval, and how would you combine them?按需加载和预先检索怎么选?混合策略应该怎么搭?
    Common in ChinaCommon overseasIntermediate#retrieval#just-in-time#hybrid

    🔒 Unlock D3 to see the answer keys.

  • Why are tool results untrusted input, and does field whitelisting make the concern go away?为什么说工具返回的内容是不可信输入?做了字段白名单裁剪之后还需要担心吗?
    Common in ChinaCommon overseasDeep dive#prompt-injection#trust-boundary

    🔒 Unlock D3 to see the answer keys.

D4 Long-Running Sessions: Compression, Notes and Memory Files, Subagent Isolation and Handoff Summaries

  • When should you compact the context, and when should you just move to a larger context window?什么时候该压缩上下文,什么时候该直接换一个更大的窗口?
    Common in ChinaCommon overseasIntermediate#compaction#context-rot

    🔒 Unlock D4 to see the answer keys.

  • What does compaction lose most easily, and how do you verify that a given compaction kept what mattered?压缩最容易丢什么?你怎么验证一次压缩没有丢掉关键信息?
    Common in ChinaCommon overseasDeep dive#compaction#verification

    🔒 Unlock D4 to see the answer keys.

  • Why does a subagent return only a summary instead of its full transcript, and how should the lead agent specify the handoff?子代理为什么只回传摘要而不回传全过程?主代理该怎么写交接要求?
    Common in ChinaCommon overseasDeep dive#subagents#handoff#cost

    🔒 Unlock D4 to see the answer keys.

D5 Measuring and Tuning: the Token Bill, Context Utilization, Failure-Mode Triage, and a Comprehensive Interview Deep Dive

  • How do you compute the token bill for one agent task, and which parts can be cached away?怎么给一个 Agent 算一次任务的 token 账单?哪些部分是可以被缓存掉的?
    Common in ChinaCommon overseasDeep dive#token-accounting#prompt-caching

    🔒 Unlock D5 to see the answer keys.

  • When context is the problem, how do you localize which of the four buckets is at fault?上下文出问题的时候,你怎么定位是四块里的哪一块?
    Common in ChinaCommon overseasIntermediate#diagnostics#metrics

    🔒 Unlock D5 to see the answer keys.

  • How much context engineering is enough, and how do you know when to stop?上下文工程做到什么程度算够?你怎么知道该停手了?
    Common in ChinaCommon overseasIntermediate#tuning#stopping-criteria

    🔒 Unlock D5 to see the answer keys.