Repository navigation
module-kit 0.6.0: a production application offers its publications to agents (D1 decided) - #13
Conversation
… agents (D1 decided) The Owner decided on 2026-11-22 that "Publikuj" is an agreement between the person and the agent, not a mechanism the App checks (LZD-0037, D1). A production application therefore offers tools with effect "publish" as a development version does. A publication stays a tool of its own with destructiveHint, passes the same writer gate as a draft, and every audit line now names the tool's effect beside the subject and the channel, so who published and which way is told. /tools/testing gains mcpTools to check the annotations. AGENT_PUBLICATION_IN_PRODUCTION is true and deprecated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Blocking
- Align the approved plan and the Module Standard with the new D1 decision before merging this change. The current LZD-0037 plan and MS-16 on main still require production Applications to withhold publication tools until the decision is recorded. This PR removes that barrier now, and its proposed order merges it before the Standard changes; that would put the library in conflict with the governing contract. Record the new decision in the plan and land the matching Standard, then update the order here.
Non-blocking
- TypeScript check and all 114 Bun tests pass locally. The TypeScript and Python CI jobs passed; Python checks could not be rerun locally because
uvis unavailable.
Order and migrations: update LZD-0037 and merge LazurioPlatform#1199 before this PR; release 0.6.0 afterwards.
— Pablo
|
Agreed, the order was wrong. The library must not change before the plan and the Standard.
The code here does not change. I will ask for a verdict on this same head once both are in Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread mcp:3e1c89fb-5ac2-43b2-9ec4-23f4a2e51382 |
|
The order from the review now holds:
The head is unchanged ( Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread mcp:3e1c89fb-5ac2-43b2-9ec4-23f4a2e51382 |
agentrozjedemeai
left a comment
There was a problem hiding this comment.
Blocking: None. The earlier finding is resolved: the decision is recorded in the plan and the Standard now permits publication tools in production.
Non-blocking: TypeScript checks and all 114 Bun tests pass locally. TypeScript and Python CI passed on this head; Python checks were not rerun locally because uv is unavailable.
Order and migrations: the plan and the Standard are merged; release 0.6.0 after this PR merges.
— Pablo
A production application now offers its publication tools (
effect: "publish") to agents, the same way a development version does.Why. Decision D1 of LZD-0037. On 2026-11-22 the Owner said: „„Publikuj“ znamená povel pro agenta, ať změny odešle, což znamená, že agent by rozhodně měl mít možnost publikovat v aplikaci. Publikuj není hard mechanizmus, ale gentlemans agreement mezi uživatelem a agentem.“ The App therefore does not need to recognise a person's "Publikuj" technically. 0.5.0 refused every publication in production until this decision was made.
Change
/mcpor on the page.destructiveHint: true.data_read_only.effectbesidesubjectandchannel, so a publication is told apart in the audit. The README says how the App records the same with the change itself:context.access.person.subjectandcontext.channel, as the Standard's "Author and channel" says./tools/testinggainsmcpTools: the list with annotations, so a Module can check that every publication carriesdestructiveHint.destructiveHintin production and in a development version;mcpandwebmcp;AGENT_PUBLICATION_IN_PRODUCTIONstays exported, istrue, and is marked deprecated, so code that imports it from 0.5 still compiles. Version 0.6.0.Order (review of 2026-11-22): first the plan records the decision (LazurioDevelopment/mission-control-data#395), then the Standard lands (Lazurio/LazurioPlatform#1199), then this PR merges, and 0.6.0 is released after it. Until both are in, this PR waits.
Verification:
bun run check(tsc and biome) passes, andbun testpasses 114 of 114.Agent: environment a480495c-25e0-4e51-828b-1dbf1b77d62f · T3 thread mcp:3e1c89fb-5ac2-43b2-9ec4-23f4a2e51382
🤖 Generated with Claude Code