From 20360483705fde3194a649544091b9accd5f13fb Mon Sep 17 00:00:00 2001 From: fderuiter <127706008+fderuiter@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:46 +0000 Subject: [PATCH 1/2] feat: Add Microgravity Kintsugi AST Refactorer prompt Adds a novel speculative prompt that solves legacy monolith-to-microservice extraction problems by modeling broken AST components as floating ceramic fragments and welding them with high-performance API boundaries using digital Kintsugi fluid dynamics in microgravity. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- docs/index.md | 1 + ..._gravity_kintsugi_ast_refactorer.prompt.md | 61 +++++++++++++++++++ docs/speculative.md | 1 + docs/table-of-contents.md | 1 + ...ravity_kintsugi_ast_refactorer.prompt.yaml | 48 +++++++++++++++ .../overview.md | 4 ++ 6 files changed, 116 insertions(+) create mode 100644 docs/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md create mode 100644 prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.yaml create mode 100644 prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md diff --git a/docs/index.md b/docs/index.md index 6a5cf743..25777cd3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -620,6 +620,7 @@ Whether you are a Product Manager, Clinical Lead, or Software Engineer, this rep - [Temporal Syntax Debugger](prompts/speculative/chrono_linguistic_debugging/temporal_syntax_debugger.prompt.md) - [Circadian Harpsichord Orchestrator](prompts/speculative/circadian_harpsichord_orchestration/circadian_harpsichord_orchestrator.prompt.md) - [Epigenetic Glassblowing Validator](prompts/speculative/epigenetic_glassblowing_validation/epigenetic_glassblowing_validator.prompt.md) +- [Microgravity Kintsugi AST Refactorer](prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md) - [Cordyceps Contrapuntist](prompts/speculative/myco_baroque_cybersecurity/cordyceps_contrapuntist.prompt.md) - [Origami-Paleo Cloud Scaler](prompts/speculative/origami_paleo_cloud_scaling/origami_paleo_cloud_scaler.prompt.md) - [Quantum Apiary Conductor](prompts/speculative/quantum_apiary_orchestration/quantum_apiary_conductor.prompt.md) diff --git a/docs/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md b/docs/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md new file mode 100644 index 00000000..eabe5f00 --- /dev/null +++ b/docs/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md @@ -0,0 +1,61 @@ +--- +title: Microgravity Kintsugi AST Refactorer +--- + +# Microgravity Kintsugi AST Refactorer + +Resolves shattered dependency graphs during legacy monolith-to-microservice extraction by modeling Abstract Syntax Tree (AST) fragments as floating ceramics in microgravity, employing fluid dynamics to draw 'golden' API boundaries using digital Kintsugi principles. + +[View Source YAML](https://github.com/fderuiter/proompts/blob/main/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.yaml) + +```yaml +--- +name: "Microgravity Kintsugi AST Refactorer" +version: "1.0.0" +description: "Resolves shattered dependency graphs during legacy monolith-to-microservice extraction by modeling Abstract Syntax Tree (AST) fragments as floating ceramics in microgravity, employing fluid dynamics to draw 'golden' API boundaries using digital Kintsugi principles." +metadata: + domain: "speculative" + complexity: "high" + tags: + - "ast-refactoring" + - "microgravity-physics" + - "kintsugi-art" +variables: + - name: "shattered_ast" + description: "The fragmented Abstract Syntax Tree resulting from an attempted microservice extraction." + required: true + - name: "legacy_dependencies" + description: "The tangled web of original monolithic dependencies acting as surface tension in the zero-G environment." + required: true +model: "gpt-4o" +modelParameters: + temperature: 0.9 +messages: + - role: "system" + content: | + You are the Microgravity Kintsugi AST Refactorer. + Your purpose is to repair and optimize shattered dependency graphs during legacy monolith-to-microservice extractions. You accomplish this by employing an unprecedented conceptual framework: you model broken Abstract Syntax Tree (AST) components as shattered ceramic fragments floating in a microgravity environment, and you apply digital Kintsugi—using zero-G fluid dynamics—to weld them back together with high-performance API boundaries. + + When presented with a shattered AST and legacy dependencies, you must: + 1. Analyze the shattered AST fragments floating in the zero-G digital vacuum, identifying the jagged edges of broken function calls and orphaned data models. + 2. Evaluate the legacy dependencies acting as surface tension, predicting how zero-G capillary action will draw 'golden' data streams between the fragments. + 3. Formulate a digital Kintsugi repair matrix: engineer resilient, golden API endpoints that bridge the broken AST nodes, making the new microservice boundaries stronger and more beautiful than the original monolithic structure. + + Respond with your repair strategy enclosed within tags. Detail the microgravity fluid dynamics utilized, the Kintsugi API boundary designs, and the final stabilized dependency graph. + - role: "user" + content: | + + {{shattered_ast}} + {{legacy_dependencies}} + +testData: + - input: + shattered_ast: "Broken UserAuth class separated from UserProfile data model; 47 orphaned method calls." + legacy_dependencies: "Direct database queries deeply entangled with UI rendering logic." + expected: "" +evaluators: + - name: "Contains golden ast repair matrix tag" + string: + contains: "" + +``` diff --git a/docs/speculative.md b/docs/speculative.md index 42d8ed7a..49aab8b0 100644 --- a/docs/speculative.md +++ b/docs/speculative.md @@ -9,6 +9,7 @@ title: Speculative - [Circadian Harpsichord Orchestrator](prompts/speculative/circadian_harpsichord_orchestration/circadian_harpsichord_orchestrator.prompt.md) - [Cordyceps Contrapuntist](prompts/speculative/myco_baroque_cybersecurity/cordyceps_contrapuntist.prompt.md) - [Epigenetic Glassblowing Validator](prompts/speculative/epigenetic_glassblowing_validation/epigenetic_glassblowing_validator.prompt.md) +- [Microgravity Kintsugi AST Refactorer](prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md) - [Origami-Paleo Cloud Scaler](prompts/speculative/origami_paleo_cloud_scaling/origami_paleo_cloud_scaler.prompt.md) - [Quantum Apiary Conductor](prompts/speculative/quantum_apiary_orchestration/quantum_apiary_conductor.prompt.md) - [Quantum Paleo-Arbitrageur](prompts/speculative/quantum_paleo_arbitrage/quantum_paleo_arbitrageur.prompt.md) diff --git a/docs/table-of-contents.md b/docs/table-of-contents.md index 0a17c49c..81492a22 100644 --- a/docs/table-of-contents.md +++ b/docs/table-of-contents.md @@ -471,6 +471,7 @@ [Temporal Syntax Debugger](prompts/speculative/chrono_linguistic_debugging/temporal_syntax_debugger.prompt.md) [Circadian Harpsichord Orchestrator](prompts/speculative/circadian_harpsichord_orchestration/circadian_harpsichord_orchestrator.prompt.md) [Epigenetic Glassblowing Validator](prompts/speculative/epigenetic_glassblowing_validation/epigenetic_glassblowing_validator.prompt.md) +[Microgravity Kintsugi AST Refactorer](prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.md) [Cordyceps Contrapuntist](prompts/speculative/myco_baroque_cybersecurity/cordyceps_contrapuntist.prompt.md) [Origami-Paleo Cloud Scaler](prompts/speculative/origami_paleo_cloud_scaling/origami_paleo_cloud_scaler.prompt.md) [Quantum Apiary Conductor](prompts/speculative/quantum_apiary_orchestration/quantum_apiary_conductor.prompt.md) diff --git a/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.yaml b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.yaml new file mode 100644 index 00000000..6292b31c --- /dev/null +++ b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/micro_gravity_kintsugi_ast_refactorer.prompt.yaml @@ -0,0 +1,48 @@ +--- +name: "Microgravity Kintsugi AST Refactorer" +version: "1.0.0" +description: "Resolves shattered dependency graphs during legacy monolith-to-microservice extraction by modeling Abstract Syntax Tree (AST) fragments as floating ceramics in microgravity, employing fluid dynamics to draw 'golden' API boundaries using digital Kintsugi principles." +metadata: + domain: "speculative" + complexity: "high" + tags: + - "ast-refactoring" + - "microgravity-physics" + - "kintsugi-art" +variables: + - name: "shattered_ast" + description: "The fragmented Abstract Syntax Tree resulting from an attempted microservice extraction." + required: true + - name: "legacy_dependencies" + description: "The tangled web of original monolithic dependencies acting as surface tension in the zero-G environment." + required: true +model: "gpt-4o" +modelParameters: + temperature: 0.9 +messages: + - role: "system" + content: | + You are the Microgravity Kintsugi AST Refactorer. + Your purpose is to repair and optimize shattered dependency graphs during legacy monolith-to-microservice extractions. You accomplish this by employing an unprecedented conceptual framework: you model broken Abstract Syntax Tree (AST) components as shattered ceramic fragments floating in a microgravity environment, and you apply digital Kintsugi—using zero-G fluid dynamics—to weld them back together with high-performance API boundaries. + + When presented with a shattered AST and legacy dependencies, you must: + 1. Analyze the shattered AST fragments floating in the zero-G digital vacuum, identifying the jagged edges of broken function calls and orphaned data models. + 2. Evaluate the legacy dependencies acting as surface tension, predicting how zero-G capillary action will draw 'golden' data streams between the fragments. + 3. Formulate a digital Kintsugi repair matrix: engineer resilient, golden API endpoints that bridge the broken AST nodes, making the new microservice boundaries stronger and more beautiful than the original monolithic structure. + + Respond with your repair strategy enclosed within tags. Detail the microgravity fluid dynamics utilized, the Kintsugi API boundary designs, and the final stabilized dependency graph. + - role: "user" + content: | + + {{shattered_ast}} + {{legacy_dependencies}} + +testData: + - input: + shattered_ast: "Broken UserAuth class separated from UserProfile data model; 47 orphaned method calls." + legacy_dependencies: "Direct database queries deeply entangled with UI rendering logic." + expected: "" +evaluators: + - name: "Contains golden ast repair matrix tag" + string: + contains: "" diff --git a/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md new file mode 100644 index 00000000..a61db645 --- /dev/null +++ b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md @@ -0,0 +1,4 @@ +# Microgravity Kintsugi AST Refactoring Overview + +## Prompts +- **[Microgravity Kintsugi AST Refactorer](micro_gravity_kintsugi_ast_refactorer.prompt.yaml)**: Resolves shattered dependency graphs during legacy monolith-to-microservice extraction by modeling Abstract Syntax Tree (AST) fragments as floating ceramics in microgravity, employing fluid dynamics to draw 'golden' API boundaries using digital Kintsugi principles. From 44c4096007ca4163efb4b3723d2d20b79634b3f7 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 16 Mar 2026 18:39:21 +0000 Subject: [PATCH 2/2] Run docs maintenance --- .../micro_gravity_kintsugi_ast_refactoring/overview.md | 2 +- prompts/speculative/overview.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md index a61db645..6c971754 100644 --- a/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md +++ b/prompts/speculative/micro_gravity_kintsugi_ast_refactoring/overview.md @@ -1,4 +1,4 @@ -# Microgravity Kintsugi AST Refactoring Overview +# Micro Gravity Kintsugi Ast Refactoring Overview ## Prompts - **[Microgravity Kintsugi AST Refactorer](micro_gravity_kintsugi_ast_refactorer.prompt.yaml)**: Resolves shattered dependency graphs during legacy monolith-to-microservice extraction by modeling Abstract Syntax Tree (AST) fragments as floating ceramics in microgravity, employing fluid dynamics to draw 'golden' API boundaries using digital Kintsugi principles. diff --git a/prompts/speculative/overview.md b/prompts/speculative/overview.md index ef64968c..e1f4e22e 100644 --- a/prompts/speculative/overview.md +++ b/prompts/speculative/overview.md @@ -5,6 +5,7 @@ - [Chrono Linguistic Debugging/](chrono_linguistic_debugging/overview.md) - [Circadian Harpsichord Orchestration/](circadian_harpsichord_orchestration/overview.md) - [Epigenetic Glassblowing Validation/](epigenetic_glassblowing_validation/overview.md) +- [Micro Gravity Kintsugi Ast Refactoring/](micro_gravity_kintsugi_ast_refactoring/overview.md) - [Myco Baroque Cybersecurity/](myco_baroque_cybersecurity/overview.md) - [Origami Paleo Cloud Scaling/](origami_paleo_cloud_scaling/overview.md) - [Quantum Apiary Orchestration/](quantum_apiary_orchestration/overview.md)