feat(agents): schedule mainstream agent version governance
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / tests (push) Has been cancelled

This commit is contained in:
ogt
2026-07-10 10:51:18 +08:00
parent fa68f35e5b
commit 210d7db338
16 changed files with 1519 additions and 239 deletions

View File

@@ -8112,7 +8112,7 @@ export function AutomationInventoryTab() {
<div style={{ padding: 12, border: '0.5px solid #e0ddd4', borderRadius: 7, background: '#fff', minWidth: 0 }}>
<SmallLabel>{t('versionLifecycleProposal.sections.cadence')}</SmallLabel>
<div style={{ marginTop: 8, display: 'flex', flexDirection: 'column', gap: 8 }}>
{versionLifecycleProposal.cadence_matrix.slice(0, 4).map(cadence => (
{versionLifecycleProposal.cadence_matrix.slice(0, 5).map(cadence => (
<div key={cadence.cadence_id} style={{ display: 'flex', flexDirection: 'column', gap: 5, minWidth: 0 }}>
<div style={{ display: 'flex', justifyContent: 'space-between', gap: 8, alignItems: 'center', minWidth: 0 }}>
<span style={{ fontFamily: "'DM Mono', monospace", fontSize: 10, fontWeight: 700, color: '#141413', overflowWrap: 'anywhere' }}>
@@ -8127,6 +8127,29 @@ export function AutomationInventoryTab() {
))}
</div>
</div>
{!!versionLifecycleProposal.periodic_schedule_bindings?.length && (
<div style={{ padding: 12, border: '0.5px solid #e0ddd4', borderRadius: 7, background: '#fff', minWidth: 0 }}>
<SmallLabel>{t('versionLifecycleProposal.sections.schedules')}</SmallLabel>
<div style={{ marginTop: 8, display: 'flex', flexDirection: 'column', gap: 8 }}>
{versionLifecycleProposal.periodic_schedule_bindings.map(binding => (
<div key={binding.binding_id} style={{ display: 'flex', flexDirection: 'column', gap: 5, minWidth: 0 }}>
<div style={{ display: 'flex', justifyContent: 'space-between', gap: 8, alignItems: 'center', minWidth: 0 }}>
<span style={{ fontFamily: "'DM Mono', monospace", fontSize: 10, fontWeight: 700, color: '#141413', overflowWrap: 'anywhere' }}>
{binding.binding_id}
</span>
<Chip value={binding.runtime_write_allowed ? t('versionLifecycleProposal.labels.boundaryOpen') : t('versionLifecycleProposal.labels.boundaryClosed')} muted={!binding.runtime_write_allowed} />
</div>
<span style={{ fontFamily: "'DM Mono', monospace", fontSize: 10, color: '#87867f', lineHeight: 1.45, overflowWrap: 'anywhere' }}>
{binding.local_time} · {binding.cron}
</span>
<span style={{ fontFamily: "'DM Mono', monospace", fontSize: 10, color: '#5c5a55', lineHeight: 1.45, overflowWrap: 'anywhere' }}>
{binding.workflow}
</span>
</div>
))}
</div>
</div>
)}
<div style={{ padding: 12, border: '0.5px solid #e0ddd4', borderRadius: 7, background: '#fff', minWidth: 0 }}>
<SmallLabel>{t('versionLifecycleProposal.sections.telegram')}</SmallLabel>
<div style={{ marginTop: 8, display: 'flex', flexWrap: 'wrap', gap: 6 }}>

View File

@@ -3996,6 +3996,14 @@ export interface AiAgentVersionLifecycleUpdateProposalSnapshot {
summary: string
gate: string
}>
periodic_schedule_bindings?: Array<{
binding_id: string
workflow: string
cron: string
local_time: string
purpose: string
runtime_write_allowed: false
}>
}
export interface HostRunawayAiopsLoopReadinessSnapshot {