Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Origin Trial research note: observations on tool exposure, validation, and context cost

未关闭
#256 9 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
冷清
技术栈
javascript, web-dev

调研方向

Read the issue’s listed experiments and linked article and journal, then compare the observations with the README questions named in the issue. The issue asks whether to contribute evidence to an existing discussion but does not identify a specific issue or define a deliverable; done would require maintainers to select a focused, reproducible evidence package.

由索引模型根据 Issue 内容生成。

描述

Hello WebMCP maintainers,

I have followed this project since its early development and wanted to contribute only after understanding its architecture more carefully.

My initial idea was to propose a Context Continuity Package (CCP) that could help agents resume work across local and browser surfaces. After auditing the repository, activating the Origin Trial, building an external laboratory, and testing the hypothesis across several agent surfaces, I concluded that my original proposal was aimed at the wrong layer.

The experiment suggests that WebMCP should expose page capabilities, while continuity, retention, compaction, and forgetting remain responsibilities of the agent harness or product.

I am therefore not reporting a bug, requesting a new memory primitive, or proposing code in this issue. I am sharing the resulting observations because they appear relevant to several questions currently listed in the README.

What the experiment covered
  • Origin Trial activation with the experimental flag returned to its default state.
  • A read-only WebMCP tool returning a bounded, structured continuity packet.
  • Input rejection, output validation, document lifecycle, navigation, cancellation, deregistration, BFCache, origin boundaries, and hostile-but-valid content.
  • A matrix of 100 trial slots across Codex, ChatGPT/Chrome, Antigravity, and Edge.
  • Fifty ablation trials examining which fields improved decisions.
  • An Antigravity experiment separating the visible cost of continuity, tool definitions, capability discovery, and tool results.
Results that corrected my hypothesis
  • Manual CCP recovered the expected next action in 19/20 completed trials, compared with 14/20 for a byte-matched free summary and 19/20 for full history.
  • In completed Antigravity trials, CCP reduced average visible context by approximately 27% in bytes and 25.1% in proxy tokens.
  • Bounded tool results reduced a different component by approximately 21.2% in bytes and 19.6% in proxy tokens.
  • The theoretical combined reduction exceeded 50%, but progressive discovery did not pass the native pilot. The 50% operational target is therefore not demonstrated.
  • Native discovery was irregular. Antigravity produced two server-confirmed invocations in five attempts, only one of which produced a usable resumption report. The observed ChatGPT/Chrome and Edge configurations produced no confirmed native invocation.
  • Structural validation and same-origin exposure reduced some risks but did not establish truth, trustworthy provenance, or safe intent.
Connections with the current open questions

The experiment may provide implementation evidence relevant to:

  • Cross-document tool responses: navigation, cancellation, document destruction, deregistration, and BFCache behavior.
  • Built-in agent exposure: separating API presence, registration, exposure, discovery, invocation, and actual use.
  • Input/output validation and outputSchema: strict empty-input enforcement, bounded structured output, stable rejection codes, and the limitations of schema validity.
  • Skills integration: evidence that higher-level continuity and coordination belong primarily to the harness rather than to a WebMCP memory layer.
  • Streaming and bounded responses: evidence that response size materially affects visible context, without yet establishing a streaming contract.
  • Progress and observability: timeouts and discovery failures showed the importance of identifying exactly where an invocation chain stops.
Short and long versions
Question for the maintainers

Would any of these observations be useful in an existing open issue—particularly around built-in-agent exposure, schema validation, cross-document lifecycle, or tool-discovery cost?

If so, I would be happy to extract a small, focused, reproducible evidence package for the most relevant discussion. I do not want to introduce a broader proposal where a narrower contribution would be more useful.

Thank you for the work on WebMCP and for making these design questions visible.

主要语言
Bikeshed
星标
4.7k
派生
328
平均合并
1 天 21 小时
30 天内合并 PR
15

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

webmachinelearning/webmcp 的其他 Issue

查看 webmachinelearning/webmcp 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。