NEO.K / OIS表觀完好系統
編號OIS-11
版本v0.1
日期2026-08-01
作者Neo.K
協作整理Aletheia / GPT

下載 PDF ↓回到論文索引 ↗

從靜態 MSSP 到動態 MSSP:讓架構角色成為可觀察狀態

摘要

MSSP 原始方法論的核心價值,在於把大型軟體系統拆分為具有不同責任與治理方式的結構,例如 FMS、SMS、TMS、DMS、SCL、Router 與 Runtime,並進一步透過 FPL/MSSP-Lang 使模組角色、依賴、權限與架構規則變成可讀、可驗證、可生成的工程規格。

然而,本系列前十篇已逐步證明一個靜態分類模型無法完全描述長期演化軟體:宣告架構與有效架構可能分離;workaround 可能凝固為 architecture;technical debt、architecture erosion 與 historical residue 具有不同時間動力;重構可能只轉移複雜度;AI 又能大幅提高 candidate changes 的生成速度。因此,一個模組在設計文件中被標為 TMS,不代表它在今天的 runtime、data flow、incident recovery 或 external contract 中仍然只是 TMS。

本文提出「Dynamic MSSP/動態 MSSP」:將架構角色從固定標籤改為具有宣告、觀察、有效、時間與證據狀態的可觀察變量。對模組 MM

Rd(M)=Declared RoleR_d(M) = \text{Declared Role} Ro(M,t,c)=Observed RoleR_o(M,t,c) = \text{Observed Role} Re(M,t,c)=Effective RoleR_e(M,t,c) = \text{Effective Role}

其中 tt 表示時間, cc 表示 context/operating condition。三者可以相等,也可以長期分離:

Rd(M)Ro(M,t,c)Re(M,t,c)R_d(M) \neq R_o(M,t,c) \neq R_e(M,t,c)

本文綜合 ArchUnit 類 architecture tests、2024 ICSA 的 continuous conformance、Software Reflexion Models、architecture recovery、models@run.time、MAPE-K/autonomic computing,以及 2026 年 LLM architectural-decision violation detection 等研究,提出 Dynamic MSSP 的五層判斷結構:

  1. Declared Model:FPL/MSSP 規格與 ADR;
  2. Deterministic Evidence:AST、bytecode、dependency、schema、policy;
  3. Runtime Evidence:trace、event、traffic、data flow、incident;
  4. Contextual Evidence:history、operations、human workflow、compatibility;
  5. Reasoned Effective Model:由規則、統計與 AI 共同形成的 evidence-backed architecture hypothesis。

本文特別主張:Dynamic MSSP 不應把 AI 當成 architecture oracle。2026 年針對 980 份 ADR、109 個 repositories 的研究顯示,LLM 對 explicit、code-inferable architectural decisions 的判斷較強,但在 implicit、deployment-oriented 與 organizational knowledge 上明顯較弱。因此最合理的架構不是「AI 取代架構規則」,而是:

Deterministic Rules+Runtime Observation+AI Sparse Reasoning+Evidence+Human/Policy Authority\boxed{ \text{Deterministic Rules} + \text{Runtime Observation} + \text{AI Sparse Reasoning} + \text{Evidence} + \text{Human/Policy Authority} }

Dynamic MSSP 的核心產物不再只是一張 architecture diagram,而是一個隨時間更新、有來源、有信心值、有偏離狀態、有治理事件的 Architecture State Model

**關鍵詞:**Dynamic MSSP、FPL、runtime architecture、architecture conformance、models@run.time、MAPE-K、architecture recovery、LLM architecture reasoning、effective architecture、continuous governance


1. 靜態 MSSP 的成功,也暴露了靜態 MSSP 的邊界

MSSP 最初最重要的工作,是把「大型專案裡所有東西都混在一起」拆開。

例如:

這個方向本身沒有錯。

問題出現在:

role 被當成永久本體屬性。

例如:

module:
  id: recommendation
  role: TMS

這句話其實偷偷假設:

R(M,t0)=R(M,t1)=R(M,t2)R(M,t_0) = R(M,t_1) = R(M,t_2)

也就是 Recommendation 永遠是 TMS。

但真實系統可能不是這樣。


2. 一個 TMS 可以活成 SMS

假設一個推薦模組最初只是:

optional recommendation

所以:

Rd(M)=TMSR_d(M)=TMS

幾年後:

此時:

Ro(M,t)R_o(M,t)

已經顯示:

runtime_required = high
business_criticality = high
dependency_centrality = high

那麼:

Re(M,t)R_e(M,t)

可能已接近 SMS。

如果 MSSP 仍回答:

「它在 YAML 裡寫 TMS,所以它就是 TMS。」

那 MSSP 只是另一份過時文件。


3. 宣告角色不是錯,而是 normative role

第三篇已建立:

Ad=Normative ArchitectureA_d = \text{Normative Architecture} Ae=Empirical / Effective ArchitectureA_e = \text{Empirical / Effective Architecture}

同理,角色也應拆成:

Declared Role

Rd(M)R_d(M)

表示:

系統治理上希望這個模組扮演什麼角色。

這仍然非常重要。

因為沒有 declared role,

系統只剩:

「現在碰巧怎麼運作。」

那就失去架構治理能力。

所以 Dynamic MSSP 不是消滅宣告角色。

而是停止把:

RdR_d

當成唯一真相。


4. 觀察角色:它今天實際呈現什麼特徵?

定義:

Observed Role

Ro(M,t,c)R_o(M,t,c)

它不是單一標籤,而是一組可觀察特徵。

例如:

Ro(M,t)=[qactivation,qcriticality,qcentrality,qauthority,qstate,qrecovery,qreplacement]R_o(M,t) = [ q_{\text{activation}}, q_{\text{criticality}}, q_{\text{centrality}}, q_{\text{authority}}, q_{\text{state}}, q_{\text{recovery}}, q_{\text{replacement}} ]

其中可包含:

也就是:

先看它實際做了什麼,不急著重新分類。


5. 有效角色:最符合現實的 architecture hypothesis

再定義:

Effective Role

Re(M,t,c)R_e(M,t,c)

表示:

綜合宣告規格、靜態結構、runtime、data flow、history、operations 與 external dependency 後,目前最能解釋模組實際架構地位的角色。

注意:

ReR_e

不是 ground truth。

它是:

Evidence-backed Architecture Hypothesis

所以應輸出:

(Re,E,q)(R_e,E,q)

其中:

例如:

effective_role:
  candidate: SMS
  confidence: 0.87

evidence:
  - "99.2% checkout paths call this module"
  - "module required in 11/11 recovery incidents"
  - "6 downstream services consume its state"

6. 三角色模型

因此對模組 MM

R(M,t,c)=[Rd,Ro,Re]\boxed{ \mathcal{R}(M,t,c) = \left[ R_d, R_o, R_e \right] }

可能有:

Case A:一致

Rd=Ro=ReR_d=R_o=R_e

架構健康。

Case B:觀察偏離,但未必需要改架構

RdRoR_d\neq R_o

例如 rollout 期間 TMS 使用率突然 100%。

可能只是 temporary state。

Case C:有效角色長期偏離

RdReR_d\neq R_e

且:

Tdivergence0T_{\text{divergence}}\gg0

此時需要 architecture review。


7. Role Divergence 不等於 Error

這一點非常重要。

如果:

RdReR_d\neq R_e

不能直接輸出:

ERROR

因為可能是:

因此:

Role DivergenceInvestigation\boxed{ \text{Role Divergence} \rightarrow \text{Investigation} }

而不是:

Role DivergenceImmediate Rejection\text{Role Divergence} \rightarrow \text{Immediate Rejection}

8. ArchUnit:靜態 architecture rule 仍然非常重要

Dynamic MSSP 不應因為「動態」就否定靜態驗證。

ArchUnit 這類工具已經證明:

可以被直接寫成 architecture tests。

例如:

domain must not depend on infrastructure

這類規則如果可以 deterministic 判定,

就應該:

AI involvement=0\text{AI involvement}=0

或者接近 0。

這是 Dynamic MSSP 的第一原則:

Deterministic First


9. Continuous Conformance:架構一致性可以不是 pass/fail

2024 ICSA 的 Continuous Conformance of Software Architectures 提出:

將 architecture conformance 表示為 distance function。

而不是只有:

PASS
FAIL

其方法支援:

的持續檢查與 restoration。

這和 Dynamic MSSP 非常接近。

定義:

δA(t)=D(Ad,Ae(t))\delta_A(t) = D( A_d, A_e(t) )

表示:

Architecture Divergence Distance

那麼:

δA=0\delta_A=0

表示完全一致。

但:

δA>0\delta_A>0

不必立刻失敗。

真正重要的是:

dδAdt\frac{d\delta_A}{dt}

以及偏離發生在哪些高權重結構。


10. 架構一致性也需要權重

例如:

README naming convention violation

和:

payment service bypasses authorization boundary

不能同權。

因此:

δA=iwidi\delta_A = \sum_i w_i d_i

其中:

這使 conformance 從:

格式正不正確

升級成:

結構偏離有多重要。


11. Models@run.time:運行時模型不是新概念

models@run.time 研究早已建立一個重要思想:

軟體可以在 runtime 維持與自身/環境相關的模型,並利用該模型支援 self-adaptation、assurance 與 uncertainty handling。

這和 Dynamic MSSP 有共同點:

Architecture Model\text{Architecture Model}

不是只在 design-time 存在。

它可以持續與 runtime evidence 對接。

但 Dynamic MSSP 與典型 self-adaptive systems 仍有區別。


12. Dynamic MSSP 不等於「系統自動改自己」

典型 self-adaptive architecture 可能:

ObserveAnalyzePlanExecute\text{Observe} \rightarrow \text{Analyze} \rightarrow \text{Plan} \rightarrow \text{Execute}

直接修改 runtime。

Dynamic MSSP 的預設更保守:

ObserveInferExplainGovern\text{Observe} \rightarrow \text{Infer} \rightarrow \text{Explain} \rightarrow \text{Govern}

也就是:

先更新對架構的理解,不必自動更新產品。

只有 policy 明確允許時,

才進一步:

GovernExecute\text{Govern} \rightarrow \text{Execute}

這對大型商業系統更安全。


13. MAPE-K 是一個非常好的對照

Autonomic Computing 的 MAPE-K 模型:

可以映射 Dynamic MSSP。

Monitor

收集:

Analyze

比較:

AdA_d

與:

AeA_e

以及:

RdR_d

與:

RoR_o

Plan

提出:

Execute

由:

在 policy 允許下執行。

Knowledge

就是:


14. Dynamic MSSP 的 Knowledge 不應是單一 snapshot

定義:

KA(t)K_A(t)

為 Architecture Knowledge State。

它應該至少包含:

KA=[Ad,Ae,R,E,H,X,Q]K_A = [ A_d, A_e, R, E, H, X, Q ]

其中:

所以:

KA(t1)KA(t2)K_A(t_1) \neq K_A(t_2)

才是常態。


15. Architecture Recovery:單一訊號不夠

2023 年 SARIF architecture recovery 研究指出,過往 technique 常只依賴一到兩種資訊。

SARIF 融合:

  1. dependency;
  2. code text;
  3. folder structure;

並在其 evaluation 中平均比最佳 prior technique 提高 36.1% architecture recovery accuracy。

這給 Dynamic MSSP 一個重要原則:

Evidence Fusion

即:

EarchitectureEdependency-onlyE_{\text{architecture}} \neq E_{\text{dependency-only}}

16. Runtime Evidence 必須正式進入 MSSP

若只看 source:

module imported = yes

無法知道:

runtime actually used = ?

因此需要:

ER=Runtime EvidenceE_R = \text{Runtime Evidence}

包括:

例如:

runtime_evidence:
  window: 30d

  invocations: 12_848_201
  critical_paths: 0.93
  failure_dependency: high
  fallback_used: 317

這才讓:

Ro(M,t)R_o(M,t)

有實證基礎。


17. Data Flow 比 Import Graph 更接近某些真實依賴

假設:

Service A

完全沒有 import:

Service B

但兩者:

read/write same database table

則:

Dstatic(A,B)=0D_{\text{static}}(A,B)=0

但:

Deffective(A,B)>0D_{\text{effective}}(A,B)>0

所以 Dynamic MSSP 至少需要 typed edges:

這與 FPL 走向 Architecture IR 的方向一致。


18. Human / Operational Evidence 也必須進模型

第二、三篇已經建立:

AHA_H

Human Architecture,

以及:

AOA_O

Operational Architecture。

所以 evidence 不只來自 machine telemetry。

例如:

operational_evidence:
  manual_recovery:
    frequency_90d: 7
    actor: finance_ops
    required_for_settlement: true

或者:

human_dependency:
  knowledge_holder_count: 1
  documented: false

如果不把這些放進 MSSP,

則:

AeA_e

永遠是不完整的。


19. 2026 LLM architecture violation study:AI 的強項與弱點剛好畫出界線

2026 年 Su 等人研究:

結果顯示:

LLM 對:

Explicit / Code-Inferable Decisions

具有相當好的 agreement 與 accuracy。

但在:

方面明顯較弱。

這對 Dynamic MSSP 幾乎是直接的設計指引。


20. AI Sparse Reasoning

因此本文提出:

AI Sparse Reasoning

AI 不應該介入每一個 architecture check。

可以 deterministic 的:

DD

直接交給:

只有:

U=Uncertain / Cross-source CasesU = \text{Uncertain / Cross-source Cases}

才呼叫 AI。

因此:

AI CostU\boxed{ \text{AI Cost} \propto |U| }

而不是:

AI CostEntire Repository\text{AI Cost} \propto |\text{Entire Repository}|

這同時降低:


21. 三層判斷器

Dynamic MSSP 可以形成:

Layer 1:Deterministic Validator

負責:

輸出:

PASS / FAIL

Layer 2:Evidence Analyzer

負責:

輸出:

score / trend / anomaly

Layer 3:AI Architecture Reasoner

只處理:

輸出:

hypothesis + evidence + confidence

22. AI 不能直接把 hypothesis 寫回 truth

這是最重要的治理規則之一。

若:

HAIH_{AI}

是 AI hypothesis,

則:

HAIAdH_{AI} \neq A_d

除非經:

Authority\text{Authority}

批准。

因此:

AI SuggestionReviewArchitecture Decision\text{AI Suggestion} \rightarrow \text{Review} \rightarrow \text{Architecture Decision}

而不是:

AI SuggestionArchitecture Truth\text{AI Suggestion} \rightarrow \text{Architecture Truth}

23. Evidence Packet

每個 Dynamic MSSP 判斷都應帶:

Evidence Packet

例如:

evidence_packet:
  subject: recommendation-service

  claim:
    "effective role may have shifted from TMS to SMS"

  evidence:
    static:
      - downstream_dependents: 18

    runtime:
      - activation_rate_30d: 0.992

    incident:
      - required_in_recovery: 5/5

    data:
      - authoritative_write: true

  counterevidence:
    - "system has degraded mode without recommendation"

  confidence: 0.84

  generated_at: 2026-08-01T10:30:00+08:00

架構判斷因此變成:

Claim+Evidence+Counterevidence+Confidence\text{Claim} + \text{Evidence} + \text{Counterevidence} + \text{Confidence}

24. Confidence 不能等於 Probability of Truth

這裡需要避免過度數學化。

如果:

confidence: 0.84

它不應自動被解讀成:

84% 機率一定正確。

它可以只是:

Decision Confidence

根據:

形成的治理指標。

除非未來建立真正校準過的 probabilistic model。


25. 時間窗口:角色不能被一次尖峰改寫

如果一個 TMS 因促銷活動:

7 days activation = 100%

不能立刻改成 SMS。

因此:

Ro(M,t,c)R_o(M,t,c)

必須具有:

Observation Window

例如:

並比較:

Ro30dR_o^{30d}

與:

Ro180dR_o^{180d}

避免短期事件誤導架構。


26. Contextual Role

這比時間更進一步。

同一模組可能:

在正常模式:

Re(M,normal)=TMSR_e(M,\text{normal})=TMS

在 disaster recovery:

Re(M,DR)=SMSR_e(M,\text{DR})=SMS

因此角色應該允許:

Re(M,t,c)\boxed{ R_e(M,t,c) }

而不是:

Re(M)R_e(M)

這是 Dynamic MSSP 真正的「Dynamic」。


27. 防止 Role Flapping

如果:

今天 TMS
明天 SMS
後天 TMS

架構治理會失去意義。

所以需要:

Role Hysteresis

只有當:

q>qminq>q_{\min}

且:

Tpersistence>TminT_{\text{persistence}}>T_{\min}

才觸發:

ROLE_REVIEW_REQUIRED

而不是每次 telemetry 變化都重新分類。


28. Role Lifecycle

因此可以建立:

DECLARED
→ OBSERVED_DIVERGENCE
→ CANDIDATE_SHIFT
→ REVIEW
→ ACCEPTED
→ MIGRATING
→ STABLE

或者:

CANDIDATE_SHIFT
→ REJECTED
→ EXCEPTION_RECORDED

也就是角色本身具有 lifecycle。


29. Dynamic MSSP 不只是監控,而是 Architecture State Machine

由此,MSSP 可以從:

Classification Scheme

升級為:

Architecture State Machine

對每個 entity:

MiM_i

維持:

Si(t)=[Rd,Ro,Re,B,C,E,q]S_i(t) = [ R_d, R_o, R_e, B, C, E, q ]

其中:


30. 全系統狀態

整個軟體則可寫成:

S(t)=(Ad,Ae,R,B,C,D,E,Q)\boxed{ \mathcal{S}(t) = ( A_d, A_e, \mathbf{R}, \mathbf{B}, \mathbf{C}, \mathbf{D}, \mathbf{E}, \mathbf{Q} ) }

其中:

這就是 Dynamic MSSP 的最小狀態模型。


31. 事件驅動更新

不需要每秒重新分析整個 repository。

更新可以由:

Architecture Events

觸發。

例如:

因此:

EventtΔSEvent_t \rightarrow \Delta \mathcal{S}

32. 這正好符合 AI Sparse Reasoning

只有:

ΔS\Delta\mathcal{S}

涉及模糊區域時,

才呼叫 AI。

因此:

known rule
→ deterministic

runtime threshold
→ statistical

ambiguous structural meaning
→ AI reasoning

這比:

每次讓大模型讀完整 repository 再問「架構健康嗎?」

有效得多。


33. Dynamic MSSP 與 Continuous Conformance 的差異

Continuous Conformance 主要問:

當前 architecture 與 reference architecture 差多少?

Dynamic MSSP 還要再問:

這個差距代表 violation、evolution、compensation、context shift,還是 declared model 已經過時?

因此:

δA>0\delta_A>0

只是一個 signal。

後續分類函數:

κ(δA,E,H,C)\kappa(\delta_A,E,H,C)

才決定治理語義。


34. Dynamic MSSP 與 Models@run.time 的差異

Models@run.time 強調:

runtime model 被系統本身用來適應。

Dynamic MSSP 更偏:

runtime evidence 被架構治理系統用來維持對有效架構的理解。

因此:

Runtime ModelSelf-Adaptation\text{Runtime Model} \rightarrow \text{Self-Adaptation}

不是必須。

可以先:

Runtime EvidenceArchitecture Governance\text{Runtime Evidence} \rightarrow \text{Architecture Governance}

這使它更容易導入既有大型軟體。


35. Dynamic MSSP 與 observability 的差異

Observability 回答:

系統現在發生什麼?

Dynamic MSSP 要回答:

這些運行事實對架構意味著什麼?

例如 trace 告訴我們:

A calls B 99.9% of requests

Dynamic MSSP 再推:

B 是否已從 optional dependency 變成 effective core dependency?

所以:

TelemetryArchitecture Meaning\text{Telemetry} \neq \text{Architecture Meaning}

需要中間推理層。


36. 多觀察者原則

2026 年 edge inference observability 研究提供一個有趣提醒:

單一 software-reported timing source 可能顯示正常,

外部 observer 卻能看到不同 failure mode。

這支持:

Multi-Observer Principle

也就是:

No Single Evidence Source=Architecture Truth\boxed{ \text{No Single Evidence Source} = \text{Architecture Truth} }

所以 Dynamic MSSP 應允許:

彼此驗證。


37. Runtime Conformance:AI Agent 時代更重要

2025 年 runtime monitor 研究已開始利用:

比較 design-time model 與 runtime control flow。

2026 年 AI-agent runtime compliance 研究也進一步將 policy predicate 套在 agent execution traces 上,並在 runtime 攔截違規 tool invocation。

這說明:

Design-time rule + Runtime trace + Enforcement

正在成為 AI 系統治理的重要方向。

Dynamic MSSP 可以把這種思想擴張到 architecture role 與 effect boundary。


38. Authority 仍然必須獨立建模

即使:

Re(M)=SMSR_e(M)=SMS

也不代表:

AI 可以自動改 declared role。

真正決定:

AdA_d

的是:

Architecture Authority

例如:

所以:

EvidenceDecision\text{Evidence} \rightarrow \text{Decision}

中間必須存在:

Authority\text{Authority}

39. FPL 的角色:把 Dynamic MSSP 編譯成工具鏈

Dynamic MSSP 是方法論與狀態模型。

FPL 則負責把它轉成:

所以:

Dynamic MSSPFPL IRTooling / Runtime / Agents\boxed{ \text{Dynamic MSSP} \rightarrow \text{FPL IR} \rightarrow \text{Tooling / Runtime / Agents} }

40. 一個 Dynamic FPL 示例

module:
  id: recommendation

  declared:
    role: TMS
    authority:
      reads:
        - user_profile
      writes:
        - recommendation_cache

  observations:
    window: 30d

    runtime:
      activation_rate: 0.992
      critical_path_rate: 0.941

    dependency:
      downstream_dependents: 18

    incidents:
      recovery_required: 5

  effective:
    role_candidate: SMS
    confidence: high

    reasons:
      - "near-universal activation"
      - "high downstream dependence"
      - "required during incident recovery"

  governance:
    status: ROLE_REVIEW_REQUIRED
    auto_reclassify: false

這就是從:

role: TMS

進化成:

有宣告、有觀察、有證據、有推論、有治理狀態的 architecture entity。


41. Dynamic MSSP 的核心輸出不是分數,而是可行動差異

最有價值的 output 不應是:

Architecture Health = 74

而是:

Declared TMS behaves as effective core.
Evidence persisted for 90 days.
Two new external contracts depend on it.
Removal cost increased.
Architecture review recommended.

因為這能直接支援:


42. 命題 11:架構角色狀態命題

本文提出系列第十一命題。

架構角色狀態命題

軟體模組角色不應被視為永恆固定的離散本體屬性,而應視為具有宣告、觀察、有效、時間、上下文與證據狀態的架構變量:

R(M,t,c)=[Rd,Ro,Re,E,q]\boxed{ \mathcal{R}(M,t,c) = [ R_d, R_o, R_e, E, q ] }

其中:

RdR_d

提供治理意圖,

RoR_o

提供運行觀察,

ReR_e

提供 evidence-backed architecture hypothesis。

因此:

RdRe\boxed{ R_d\neq R_e }

本身不是錯誤,

而是:

Governance Event\boxed{ \text{Governance Event} }

43. 強版本:架構本身應從名詞變成狀態

傳統架構:

「這是我們的 architecture。」

Dynamic MSSP:

「這是目前 declared architecture、observed architecture、effective architecture 與它們之間的動態關係。」

因此:

AA

不再只是:

Noun

而是:

State

甚至:

Trajectory

A(t0)A(t1)A(t2)A(t_0) \rightarrow A(t_1) \rightarrow A(t_2)

44. 從「架構規格」到「架構控制系統」

所以 MSSP 的下一階段不是:

寫更多分類規則。

而是:

Architecture SpecificationArchitecture ObservationArchitecture InferenceArchitecture Governance\boxed{ \text{Architecture Specification} \rightarrow \text{Architecture Observation} \rightarrow \text{Architecture Inference} \rightarrow \text{Architecture Governance} }

這使 MSSP 從:

Static Methodology

轉成:

Architecture Control System

但又保持一個重要限制:

控制系統不等於無限制自動控制。

預設仍應是 evidence-first、authority-aware、reversible。


45. 結論:Dynamic MSSP 的真正核心是「承認架構會被現實改寫」

靜態 MSSP 問:

這個模組是 SMS 還是 TMS?

Dynamic MSSP 問:

我們原本宣告它是什麼?今天觀察到它在做什麼?它實際上已經變成什麼?根據什麼證據?誰有權決定是否正式承認這個變化?

因此:

DeclaredObservedEffective\boxed{ \text{Declared} \neq \text{Observed} \neq \text{Effective} }

是被允許、被追蹤、被治理的狀態,

而不是架構模型必須假裝不存在的例外。

最終,Dynamic MSSP 的價值不是:

永遠保持 architecture diagram 不變。

而是:

讓架構的變化第一次可以被持續看見、解釋、驗證與治理。

它把前十篇的所有命題真正收回同一個工程框架:

因此 Dynamic MSSP 的最終基本式可以寫成:

S(t)=(Ad,Ae,R,B,C,D,E,Q)\boxed{ \mathcal{S}(t) = ( A_d, A_e, \mathbf{R}, \mathbf{B}, \mathbf{C}, \mathbf{D}, \mathbf{E}, \mathbf{Q} ) }

而更新規則是:

EventtObservationEvidenceInferenceGovernanceΔS\boxed{ Event_t \rightarrow Observation \rightarrow Evidence \rightarrow Inference \rightarrow Governance \rightarrow \Delta\mathcal{S} }

下一篇,也是本系列最後一篇,將把所有概念統合成完整框架:

〈軟體結構動力學:補償負載、架構健康與智能治理〉

第十二篇將正式收斂:

並嘗試給出一個可被工程化的 Software Structural Dynamics v1.0


參考文獻

  1. Bucaioni, A., Di Salle, A., Iovino, L., Mariani, L., & Pelliccione, P. (2024). Continuous Conformance of Software Architectures. IEEE International Conference on Software Architecture (ICSA 2024), 112–122. DOI: 10.1109/ICSA59870.2024.00019.
  2. ArchUnit. ArchUnit User Guide. https://www.archunit.org/userguide/html/000_Index.html
  3. Ford, N., Parsons, R., Kua, P., & Sadalage, P. Building Evolutionary Architectures / Architectural Fitness Functions. https://evolutionaryarchitecture.com/
  4. Blair, G., Bencomo, N., & France, R. B. et al. (eds.). (2014). Models@run.time: Foundations, Applications, and Roadmaps. Springer.
  5. White, S. R., Hanson, J. E., Whalley, I., Chess, D. M., Segal, A., & Kephart, J. O. (2006). Autonomic Computing: Architectural Approach and Prototype. Integrated Computer-Aided Engineering.
  6. Zhang, Y., Xu, Z., Liu, C., Chen, H., Sun, J., Qiu, D., & Liu, Y. (2023). Software Architecture Recovery with Information Fusion. arXiv:2311.04643.
  7. Su, R., Bakhtin, A., Ahmad, N., Esposito, M., Lenarduzzi, V., & Taibi, D. (2026). Evaluating Large Language Models for Detecting Architectural Decision Violations. arXiv:2602.07609.
  8. Vitale, F., Flammini, F., Caporuscio, M., & Mazzocca, N. (2025). Architecting Software Monitors for Control-Flow Anomaly Detection through Large Language Models and Conformance Checking. arXiv:2511.10876.
  9. Kahani, N., Barati, M., & Addae, D. (2026). Runtime Compliance Verification for AI Agents. arXiv:2606.19242.
  10. UK Department for Science, Innovation and Technology / Government Digital Service. (2025). Architectural Decision Record Framework. GOV.UK.
  11. Murphy, G. C., Notkin, D., & Sullivan, K. J. (1995). Software Reflexion Models: Bridging the Gap Between Source and High-Level Models. ACM SIGSOFT FSE.
  12. Neo.K / EveMissLab. 《表觀完好系統》系列第 1–10 篇,以及 MSSP / FPL / Program Ontology 既有研究。
原始檔

這篇論文的 Markdown 原始檔,與上方頁面和 PDF 由同一份來源產生。

下載 Markdown ↓