feat: alignment on mcp cli proposal ttl
This commit is contained in:
@@ -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.
|
- 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.
|
- 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.
|
- Old bDS: one proposal TTL, 30 minutes.
|
||||||
- bDS2 now: one proposal TTL, 30 minutes.
|
- bDS2 now: one proposal TTL, 30 minutes.
|
||||||
|
|||||||
@@ -71,8 +71,7 @@ surface ProposalSurface {
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
http_port: Integer = 4124
|
http_port: Integer = 4124
|
||||||
proposal_ttl_app: Duration = 30.minutes
|
proposal_ttl: Duration = 30.minutes
|
||||||
proposal_ttl_cli: Duration = 8.hours
|
|
||||||
}
|
}
|
||||||
|
|
||||||
surface McpAutomationSurface {
|
surface McpAutomationSurface {
|
||||||
@@ -286,7 +285,7 @@ rule DraftPost {
|
|||||||
entity_id: new_post.id,
|
entity_id: new_post.id,
|
||||||
data: "",
|
data: "",
|
||||||
created_at: now,
|
created_at: now,
|
||||||
expires_at: now + config.proposal_ttl_app,
|
expires_at: now + config.proposal_ttl,
|
||||||
draft_post: new_post,
|
draft_post: new_post,
|
||||||
proposed_script: null,
|
proposed_script: null,
|
||||||
proposed_template: null,
|
proposed_template: null,
|
||||||
@@ -312,7 +311,7 @@ rule ProposeScript {
|
|||||||
entity_id: new_script.id,
|
entity_id: new_script.id,
|
||||||
data: "",
|
data: "",
|
||||||
created_at: now,
|
created_at: now,
|
||||||
expires_at: now + config.proposal_ttl_app,
|
expires_at: now + config.proposal_ttl,
|
||||||
draft_post: null,
|
draft_post: null,
|
||||||
proposed_script: new_script,
|
proposed_script: new_script,
|
||||||
proposed_template: null,
|
proposed_template: null,
|
||||||
@@ -338,7 +337,7 @@ rule ProposeTemplate {
|
|||||||
entity_id: new_template.id,
|
entity_id: new_template.id,
|
||||||
data: "",
|
data: "",
|
||||||
created_at: now,
|
created_at: now,
|
||||||
expires_at: now + config.proposal_ttl_app,
|
expires_at: now + config.proposal_ttl,
|
||||||
draft_post: null,
|
draft_post: null,
|
||||||
proposed_script: null,
|
proposed_script: null,
|
||||||
proposed_template: new_template,
|
proposed_template: new_template,
|
||||||
@@ -357,7 +356,7 @@ rule ProposeMediaMetadata {
|
|||||||
entity_id: params.media_id,
|
entity_id: params.media_id,
|
||||||
data: serialize(params),
|
data: serialize(params),
|
||||||
created_at: now,
|
created_at: now,
|
||||||
expires_at: now + config.proposal_ttl_app,
|
expires_at: now + config.proposal_ttl,
|
||||||
draft_post: null,
|
draft_post: null,
|
||||||
proposed_script: null,
|
proposed_script: null,
|
||||||
proposed_template: null,
|
proposed_template: null,
|
||||||
@@ -376,7 +375,7 @@ rule ProposePostMetadata {
|
|||||||
entity_id: params.post_id,
|
entity_id: params.post_id,
|
||||||
data: serialize(params),
|
data: serialize(params),
|
||||||
created_at: now,
|
created_at: now,
|
||||||
expires_at: now + config.proposal_ttl_app,
|
expires_at: now + config.proposal_ttl,
|
||||||
draft_post: null,
|
draft_post: null,
|
||||||
proposed_script: null,
|
proposed_script: null,
|
||||||
proposed_template: null,
|
proposed_template: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user