diff --git a/ALIGNMENT.md b/ALIGNMENT.md index acf4b75..7ad460f 100644 --- a/ALIGNMENT.md +++ b/ALIGNMENT.md @@ -40,7 +40,7 @@ Goal: align bDS2 with old bDS behavior. Use the Allium specs as the contract onl - Spec: incorrectly lists install/uninstall in the MCP automation surface. - Action: tend `specs/mcp.allium` to move agent config out of MCP automation and describe it as settings UI behavior. -## P1: MCP CLI Proposal TTL +## P1: MCP CLI Proposal TTL (done) - Old bDS: one proposal TTL, 30 minutes. - bDS2 now: one proposal TTL, 30 minutes. diff --git a/specs/mcp.allium b/specs/mcp.allium index fb4169d..d8e6fb9 100644 --- a/specs/mcp.allium +++ b/specs/mcp.allium @@ -71,8 +71,7 @@ surface ProposalSurface { config { http_port: Integer = 4124 - proposal_ttl_app: Duration = 30.minutes - proposal_ttl_cli: Duration = 8.hours + proposal_ttl: Duration = 30.minutes } surface McpAutomationSurface { @@ -286,7 +285,7 @@ rule DraftPost { entity_id: new_post.id, data: "", created_at: now, - expires_at: now + config.proposal_ttl_app, + expires_at: now + config.proposal_ttl, draft_post: new_post, proposed_script: null, proposed_template: null, @@ -312,7 +311,7 @@ rule ProposeScript { entity_id: new_script.id, data: "", created_at: now, - expires_at: now + config.proposal_ttl_app, + expires_at: now + config.proposal_ttl, draft_post: null, proposed_script: new_script, proposed_template: null, @@ -338,7 +337,7 @@ rule ProposeTemplate { entity_id: new_template.id, data: "", created_at: now, - expires_at: now + config.proposal_ttl_app, + expires_at: now + config.proposal_ttl, draft_post: null, proposed_script: null, proposed_template: new_template, @@ -357,7 +356,7 @@ rule ProposeMediaMetadata { entity_id: params.media_id, data: serialize(params), created_at: now, - expires_at: now + config.proposal_ttl_app, + expires_at: now + config.proposal_ttl, draft_post: null, proposed_script: null, proposed_template: null, @@ -376,7 +375,7 @@ rule ProposePostMetadata { entity_id: params.post_id, data: serialize(params), created_at: now, - expires_at: now + config.proposal_ttl_app, + expires_at: now + config.proposal_ttl, draft_post: null, proposed_script: null, proposed_template: null,