Z bu gisti düzenledi . Düzenlemeye git
Değişiklik yok
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 12 insertions, 12 deletions
Gemma4-AppGraph-Mobile-Syntax3.md
| @@ -85,12 +85,12 @@ users.forEach(u => { | |||
| 85 | 85 | > `.users /filter type:premium /loop : .u /if .u.balance: >100 .discount /apply id:.u.id code:10OFF _ _` | |
| 86 | 86 | ||
| 87 | 87 | **Breakdown of the AGS line:** | |
| 88 | - | 1. `.users /filter type:premium` $\rightarrow$ Gets the list. | |
| 89 | - | 2. `/loop : .u` $\rightarrow$ Iterates through the list, naming each item `.u`. | |
| 90 | - | 3. `/if .u.balance: >100` $\rightarrow$ Checks condition. | |
| 91 | - | 4. `.discount /apply id:.u.id code:10OFF` $\rightarrow$ Executes action. | |
| 92 | - | 5. `_` $\rightarrow$ Closes the `/if`. | |
| 93 | - | 6. `_` $\rightarrow$ Closes the `/loop`. | |
| 88 | + | 1. `.users /filter type:premium` > Gets the list. | |
| 89 | + | 2. `/loop : .u` > Iterates through the list, naming each item `.u`. | |
| 90 | + | 3. `/if .u.balance: >100` > Checks condition. | |
| 91 | + | 4. `.discount /apply id:.u.id code:10OFF` > Executes action. | |
| 92 | + | 5. `_` > Closes the `/if`. | |
| 93 | + | 6. `_` > Closes the `/loop`. | |
| 94 | 94 | ||
| 95 | 95 | --- | |
| 96 | 96 | ||
| @@ -98,12 +98,12 @@ users.forEach(u => { | |||
| 98 | 98 | ||
| 99 | 99 | | Feature | Syntax | Mobile Key Path | | |
| 100 | 100 | | :--- | :--- | :--- | | |
| 101 | - | | **Fetch** | `.noun /get id:val` | `.` $\rightarrow$ `/` $\rightarrow$ `:` | | |
| 102 | - | | **Update** | `.noun /update key:val` | `.` $\rightarrow$ `/` $\rightarrow$ `:` | | |
| 103 | - | | **Save** | `.noun /verb $\rightarrow$ @var` | `.` $\rightarrow$ `/` $\rightarrow$ `@` | | |
| 104 | - | | **Condition** | `/if var:val [action] _` | `/` $\rightarrow$ `:` $\rightarrow$ `_` | | |
| 105 | - | | **Loop** | `/loop .list : .item [action] _` | `/` $\rightarrow$ `:` $\rightarrow$ `_` | | |
| 106 | - | | **Pipe** | `.noun /verb $\rightarrow$ .noun /verb` | `.` $\rightarrow$ `/` $\rightarrow$ `.` | | |
| 101 | + | | **Fetch** | `.noun /get id:val` | `.` > `/` > `:` | | |
| 102 | + | | **Update** | `.noun /update key:val` | `.` > `/` > `:` | | |
| 103 | + | | **Save** | `.noun /verb > @var` | `.` > `/` > `@` | | |
| 104 | + | | **Condition** | `/if var:val [action] _` | `/` > `:` > `_` | | |
| 105 | + | | **Loop** | `/loop .list : .item [action] _` | `/` > `:` > `_` | | |
| 106 | + | | **Pipe** | `.noun /verb $\rightarrow$ .noun /verb` | `.` > `/` > `.` | | |
| 107 | 107 | ||
| 108 | 108 | ### Summary of Mobile Ergonomics: | |
| 109 | 109 | * **No `{}` or `[]`:** No need to enter the deep symbols menu. | |
Z bu gisti düzenledi . Düzenlemeye git
Değişiklik yok
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 112 insertions
Gemma4-AppGraph-Mobile-Syntax3.md(dosya oluşturuldu)
| @@ -0,0 +1,112 @@ | |||
| 1 | + | To make **App Graph Syntax (AGS)** Turing complete and optimized for mobile, we need to move beyond simple data fetching and introduce **State (Memory), Logic (Conditionals), and Iteration (Loops)**, all while keeping the keystroke count minimal. | |
| 2 | + | ||
| 3 | + | By replacing `=` with `:`, we align closer to the "key-value" mental model used in many mobile APIs. | |
| 4 | + | ||
| 5 | + | Here is the complete syntax specification for **AGS v1.0**. | |
| 6 | + | ||
| 7 | + | --- | |
| 8 | + | ||
| 9 | + | ### 1. The Lexical Foundation | |
| 10 | + | The language is composed of five primary tokens. All are located on the first or second layer of a standard mobile keyboard. | |
| 11 | + | ||
| 12 | + | | Token | Name | Purpose | Example | | |
| 13 | + | | :--- | :--- | :--- | :--- | | |
| 14 | + | | `.` | **Noun** | Entity, Object, or Data Source | `.user`, `.product`, `.api` | | |
| 15 | + | | `/` | **Verb** | Action, Function, or Logic Gate | `/get`, `/if`, `/set`, `/loop` | | |
| 16 | + | | `:` | **Assign** | Argument mapping or Value assignment | `id:123`, `name:John` | | |
| 17 | + | | `@` | **Variable** | Local state or temporary memory | `@temp`, `@user_id` | | |
| 18 | + | | `_` | **Terminator** | Ends a logic block (If/Loop) | `_` | | |
| 19 | + | ||
| 20 | + | --- | |
| 21 | + | ||
| 22 | + | ### 2. Grammar & Structural Rules | |
| 23 | + | ||
| 24 | + | #### A. The Basic Chain (Linear Flow) | |
| 25 | + | Data flows from left to right. The output of one noun/verb pair becomes the context for the next. | |
| 26 | + | > `.user /get id:123 .profile /get avatar` | |
| 27 | + | > *(Get user 123 $\rightarrow$ Get that user's profile $\rightarrow$ Get the avatar)* | |
| 28 | + | ||
| 29 | + | #### B. State Management (Variables) | |
| 30 | + | To store data for later use without re-fetching, use the `@` symbol. | |
| 31 | + | > `.user /get id:123 /set @current_user` | |
| 32 | + | > *(Fetches user 123 and saves the object into the variable `@current_user`)* | |
| 33 | + | ||
| 34 | + | #### C. Logic & Control Flow (The Turing Complete Part) | |
| 35 | + | Since we have no curly braces, we use the **Terminator (`_`)** to close blocks. | |
| 36 | + | ||
| 37 | + | **1. Conditionals (`/if`):** | |
| 38 | + | ` /if [condition] [action] _ ` | |
| 39 | + | > `/if @current_user.role:admin .admin_panel /show _` | |
| 40 | + | > *(If the variable current_user's role is admin, show the admin panel. End block.)* | |
| 41 | + | ||
| 42 | + | **2. Iteration (`/loop` or `/each`):** | |
| 43 | + | ` /loop [collection] : [item_name] [action] _ ` | |
| 44 | + | > `/loop .orders : .item .item /send_email status:shipped _` | |
| 45 | + | > *(For each order in .orders, call it .item, and send a 'shipped' email for that item. End block.)* | |
| 46 | + | ||
| 47 | + | --- | |
| 48 | + | ||
| 49 | + | ### 3. Advanced Mobile Optimizations (Edge Cases) | |
| 50 | + | ||
| 51 | + | #### A. Implicit Context (The "Ghost" Noun) | |
| 52 | + | To save typing, if a verb follows another verb without a noun, it assumes the **last mentioned noun**. | |
| 53 | + | * **Verbose:** `.user /get id:1 /update name:Bob` | |
| 54 | + | * **AGS Optimized:** `.user /get id:1 /update name:Bob` | |
| 55 | + | * *(The `/update` verb knows it is still acting on `.user`)* | |
| 56 | + | ||
| 57 | + | #### B. String Handling | |
| 58 | + | To avoid quotes `""` (which are tedious on mobile), AGS treats all values as **Strings by default**, unless they are: | |
| 59 | + | 1. **Numbers** (e.g., `123`) | |
| 60 | + | 2. **Booleans** (`true`/`false`) | |
| 61 | + | 3. **Variables** (starting with `@`) | |
| 62 | + | *If a string contains a space, only then are quotes required.* | |
| 63 | + | ||
| 64 | + | #### C. The "Pipe" to Variable | |
| 65 | + | Instead of a long `/set` command, use a shortcut to capture the result of a chain. | |
| 66 | + | > `.user /get id:123 -> @u` | |
| 67 | + | > *(Shorthand: Fetch user and pipe the result directly into variable `@u`)* | |
| 68 | + | ||
| 69 | + | --- | |
| 70 | + | ||
| 71 | + | ### 4. Comparison: Complex Logic | |
| 72 | + | **Task:** *Fetch all premium users; for each, check if their balance is $> 100$; if so, apply a 10% discount code.* | |
| 73 | + | ||
| 74 | + | **Standard JSON/JS Logic (Pseudo):** | |
| 75 | + | ```javascript | |
| 76 | + | let users = api.get('.users', {filter: 'premium'}); | |
| 77 | + | users.forEach(u => { | |
| 78 | + | if (u.balance > 100) { | |
| 79 | + | api.post('/discount', {userId: u.id, code: '10OFF'}); | |
| 80 | + | } | |
| 81 | + | }); | |
| 82 | + | ``` | |
| 83 | + | ||
| 84 | + | **App Graph Syntax (AGS):** | |
| 85 | + | > `.users /filter type:premium /loop : .u /if .u.balance: >100 .discount /apply id:.u.id code:10OFF _ _` | |
| 86 | + | ||
| 87 | + | **Breakdown of the AGS line:** | |
| 88 | + | 1. `.users /filter type:premium` $\rightarrow$ Gets the list. | |
| 89 | + | 2. `/loop : .u` $\rightarrow$ Iterates through the list, naming each item `.u`. | |
| 90 | + | 3. `/if .u.balance: >100` $\rightarrow$ Checks condition. | |
| 91 | + | 4. `.discount /apply id:.u.id code:10OFF` $\rightarrow$ Executes action. | |
| 92 | + | 5. `_` $\rightarrow$ Closes the `/if`. | |
| 93 | + | 6. `_` $\rightarrow$ Closes the `/loop`. | |
| 94 | + | ||
| 95 | + | --- | |
| 96 | + | ||
| 97 | + | ### 5. Final Syntax Cheat Sheet for Developers | |
| 98 | + | ||
| 99 | + | | Feature | Syntax | Mobile Key Path | | |
| 100 | + | | :--- | :--- | :--- | | |
| 101 | + | | **Fetch** | `.noun /get id:val` | `.` $\rightarrow$ `/` $\rightarrow$ `:` | | |
| 102 | + | | **Update** | `.noun /update key:val` | `.` $\rightarrow$ `/` $\rightarrow$ `:` | | |
| 103 | + | | **Save** | `.noun /verb $\rightarrow$ @var` | `.` $\rightarrow$ `/` $\rightarrow$ `@` | | |
| 104 | + | | **Condition** | `/if var:val [action] _` | `/` $\rightarrow$ `:` $\rightarrow$ `_` | | |
| 105 | + | | **Loop** | `/loop .list : .item [action] _` | `/` $\rightarrow$ `:` $\rightarrow$ `_` | | |
| 106 | + | | **Pipe** | `.noun /verb $\rightarrow$ .noun /verb` | `.` $\rightarrow$ `/` $\rightarrow$ `.` | | |
| 107 | + | ||
| 108 | + | ### Summary of Mobile Ergonomics: | |
| 109 | + | * **No `{}` or `[]`:** No need to enter the deep symbols menu. | |
| 110 | + | * **No `"` (mostly):** Values are treated as literals unless spaces exist. | |
| 111 | + | * **Linearity:** The developer can "write" the app logic as a single stream of thought. | |
| 112 | + | * **Turing Complete:** With variables, loops, and conditionals, you can build any business logic (calculators, CRM flows, API orchestrators) entirely on a mobile keyboard. | |
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 2 insertions, 2 deletions
Gemma4-AppGraph-Mobile-Syntax2.md
| @@ -24,8 +24,8 @@ The **App-Graph DSL** is a high-velocity, text-to-graph language designed for mo | |||
| 24 | 24 | ||
| 25 | 25 | ### Argument Logic (JSON-Lite) | |
| 26 | 26 | To avoid mobile keyboard switching, arguments are passed as plain text. | |
| 27 | - | * **Single Value:** `/Wait 1h` $\rightarrow$ `{"duration": "1h"}` | |
| 28 | - | * **Multi-Value:** `/Setup reg:EU, curr:USD` $\rightarrow$ `{"region": "EU", "currency": "USD"}` | |
| 27 | + | * **Single Value:** `/Wait 1h`> `{"duration": "1h"}` | |
| 28 | + | * **Multi-Value:** `/Setup reg:EU, curr:USD` > `{"region": "EU", "currency": "USD"}` | |
| 29 | 29 | ||
| 30 | 30 | --- | |
| 31 | 31 | ||
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 2 insertions, 2 deletions
Gemma4-AppGraph-Mobile-Syntax2.md
| @@ -1,7 +1,7 @@ | |||
| 1 | - | # 📘 Final Specification: Op-Graph DSL (v1.0) | |
| 1 | + | # 📘 Final Specification: App-Graph DSL (v1.0) | |
| 2 | 2 | ||
| 3 | 3 | ## 1. Overview | |
| 4 | - | The **Op-Graph DSL** is a high-velocity, text-to-graph language designed for mobile-first orchestration of business and software processes. It transforms a linear string of text into a **Directed Acyclic Graph (DAG)**, where nouns represent state and verbs represent actions. | |
| 4 | + | The **App-Graph DSL** is a high-velocity, text-to-graph language designed for mobile-first orchestration of business and software processes. It transforms a linear string of text into a **Directed Acyclic Graph (DAG)**, where nouns represent state and verbs represent actions. | |
| 5 | 5 | ||
| 6 | 6 | ### Core Philosophy | |
| 7 | 7 | * **Zero-Friction:** Minimal keystrokes; no braces, no quotes, no complex symbols. | |
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 5 insertions, 5 deletions
Gemma4-AppGraph-Mobile-Syntax2.md
| @@ -58,7 +58,7 @@ To avoid mobile keyboard switching, arguments are passed as plain text. | |||
| 58 | 58 | ||
| 59 | 59 | **1. New Employee Onboarding** | |
| 60 | 60 | `Employee.New > /VerifyID > /SetAccess dept:Engineering, level:L2 > /Create.Account type:Email > /Notify msg:Welcome to the team!` | |
| 61 | - | * *Logic: Create employee > Verify ID > Grant permissions > Create email $\rightarrow$ Send welcome.* | |
| 61 | + | * *Logic: Create employee > Verify ID > Grant permissions > Create email > Send welcome.* | |
| 62 | 62 | ||
| 63 | 63 | **2. Automated Sales Outreach** | |
| 64 | 64 | `Lead.List > /Filter score:high > /SendEmail template:intro > /Wait 3d > /Filter replied:false > /SendEmail template:followup > /Notify sales:Lead Needs Attention` | |
| @@ -75,15 +75,15 @@ To avoid mobile keyboard switching, arguments are passed as plain text. | |||
| 75 | 75 | ||
| 76 | 76 | **4. CI/CD Deployment Pipeline** | |
| 77 | 77 | `Code.Main > /Lint > /Test.Prog > /Filter passed:true > Server.Staging > /Deploy > /Notify msg:Staging Updated` | |
| 78 | - | * *Logic: Pull code $\rightarrow$ Lint > Run tests (with progress bar) $\rightarrow$ If passed, deploy to staging $\rightarrow$ Notify team.* | |
| 78 | + | * *Logic: Pull code > Lint > Run tests (with progress bar) > If passed, deploy to staging > Notify team.* | |
| 79 | 79 | ||
| 80 | 80 | **5. Incident Response (SRE)** | |
| 81 | 81 | `Alert.Sentry > /Filter severity:crit > /Notify admin:OnCall > /Ask msg:Reboot Server? type:bool > /Filter approved:true > /Reboot.Prog > /Notify msg:System Recovered` | |
| 82 | - | * *Logic: Critical alert > Notify on-call $\rightarrow$ Ask for reboot permission $\rightarrow$ If yes, reboot (with progress) $\rightarrow$ Final notification.* | |
| 82 | + | * *Logic: Critical alert > Notify on-call > Ask for reboot permission > If yes, reboot (with progress) > Final notification.* | |
| 83 | 83 | ||
| 84 | 84 | **6. Database Migration** | |
| 85 | 85 | `DB.Backup > /VerifyIntegrity > /Migration.Prog target:Production > /Filter status:success > /Notify msg:Migration Done > /Cleanup logs:old` | |
| 86 | - | * *Logic: Backup DB > Check backup > Migrate (with progress) $\rightarrow$ If success, notify and clean up.* | |
| 86 | + | * *Logic: Backup DB > Check backup > Migrate (with progress) > If success, notify and clean up.* | |
| 87 | 87 | ||
| 88 | 88 | --- | |
| 89 | 89 | ||
| @@ -92,7 +92,7 @@ To avoid mobile keyboard switching, arguments are passed as plain text. | |||
| 92 | 92 | ||
| 93 | 93 | **7. Overdue Invoice Recovery** | |
| 94 | 94 | `Invoice.Pending > /Wait 7d > /Filter paid:false > /Reminder msg:Payment Overdue > /Wait 3d > /Filter paid:false > /Notify acc:Finance, priority:high` | |
| 95 | - | * *Logic: Check pending invoices > Wait a week > If unpaid, send reminder $\rightarrow$ Wait 3 more days $\rightarrow$ If still unpaid, escalate to Finance.* | |
| 95 | + | * *Logic: Check pending invoices > Wait a week > If unpaid, send reminder > Wait 3 more days > If still unpaid, escalate to Finance.* | |
| 96 | 96 | ||
| 97 | 97 | **8. SaaS Subscription Upgrade** | |
| 98 | 98 | `User.Account > /UpgradePlan plan:Enterprise > /ChargeCard amount:500, curr:USD > /Filter success:true > /SetAccess features:all > /Notify msg:Welcome to Enterprise!` | |
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 112 insertions
Gemma4-AppGraph-Mobile-Syntax2.md(dosya oluşturuldu)
| @@ -0,0 +1,112 @@ | |||
| 1 | + | # 📘 Final Specification: Op-Graph DSL (v1.0) | |
| 2 | + | ||
| 3 | + | ## 1. Overview | |
| 4 | + | The **Op-Graph DSL** is a high-velocity, text-to-graph language designed for mobile-first orchestration of business and software processes. It transforms a linear string of text into a **Directed Acyclic Graph (DAG)**, where nouns represent state and verbs represent actions. | |
| 5 | + | ||
| 6 | + | ### Core Philosophy | |
| 7 | + | * **Zero-Friction:** Minimal keystrokes; no braces, no quotes, no complex symbols. | |
| 8 | + | * **Implicit Creation:** If a noun is referenced and does not exist, the system instantiates it using a default template. | |
| 9 | + | * **Synchronous Flow:** The `>` operator ensures that a node must return a `SUCCESS` state before the next node begins. | |
| 10 | + | ||
| 11 | + | --- | |
| 12 | + | ||
| 13 | + | ## 2. The Grammar (Syntax Map) | |
| 14 | + | ||
| 15 | + | | Symbol | Name | Function | Example | | |
| 16 | + | | :--- | :--- | :--- | :--- | | |
| 17 | + | | **`.`** | **Dot** | Defines an Entity or Property | `User.Profile` | | |
| 18 | + | | **`>`** | **Arrow** | Synchronous Transition (Wait for prev) | `Node A > Node B` | | |
| 19 | + | | **`/`** | **Slash** | Triggers a Verb, Function, or Filter | `/Verify` | | |
| 20 | + | | **` `** | **Space** | Start of Arguments | `/Wait 1h` | | |
| 21 | + | | **`:`** | **Colon** | Key-Value Assignment | `msg:Hello` | | |
| 22 | + | | **`,`** | **Comma** | Argument Separator | `key1:val1, key2:val2` | | |
| 23 | + | | **`.Prog`**| **Modifier** | Activates Live Progress Bar | `/Upload.Prog` | | |
| 24 | + | ||
| 25 | + | ### Argument Logic (JSON-Lite) | |
| 26 | + | To avoid mobile keyboard switching, arguments are passed as plain text. | |
| 27 | + | * **Single Value:** `/Wait 1h` $\rightarrow$ `{"duration": "1h"}` | |
| 28 | + | * **Multi-Value:** `/Setup reg:EU, curr:USD` $\rightarrow$ `{"region": "EU", "currency": "USD"}` | |
| 29 | + | ||
| 30 | + | --- | |
| 31 | + | ||
| 32 | + | ## 3. The Engine Logic (Execution Blueprint) | |
| 33 | + | ||
| 34 | + | ### A. The Node Types | |
| 35 | + | 1. **Noun (`Noun.Prop`):** | |
| 36 | + | * Checks if the object exists in the state database. | |
| 37 | + | * If **Yes**: Sets it as the current context. | |
| 38 | + | * If **No**: Creates the object based on the `Noun` type template. | |
| 39 | + | 2. **Verb (`/Verb`):** | |
| 40 | + | * Executes a function using the current noun as the input. | |
| 41 | + | * Returns a result that is passed to the next node. | |
| 42 | + | 3. **Filter (`/Filter`):** | |
| 43 | + | * A Boolean gate. If the condition is `True`, the flow continues. If `False`, the chain terminates (or jumps to a `/Catch` if present). | |
| 44 | + | 4. **Interaction (`/Ask`):** | |
| 45 | + | * Pauses the graph. Triggers a UI modal. Awaits a user response before resuming. | |
| 46 | + | 5. **Temporal (`/Wait`):** | |
| 47 | + | * Suspends the graph. Schedules a wake-up trigger for the specified time. | |
| 48 | + | ||
| 49 | + | ### B. The Flow of a Request | |
| 50 | + | `Input String` > `Lexer (Split by >)` > `Parser (Identify Noun vs Verb)` > `State Resolver (Resolve Nouns)` > `Executor (Run Verbs in order)` > `UI Update (Progress/Notify)`. | |
| 51 | + | ||
| 52 | + | --- | |
| 53 | + | ||
| 54 | + | ## 4. Comprehensive Implementation Examples | |
| 55 | + | ||
| 56 | + | ### 🏢 Category 1: General Company Operations | |
| 57 | + | *Managing the "Human" and "Legal" side of a business.* | |
| 58 | + | ||
| 59 | + | **1. New Employee Onboarding** | |
| 60 | + | `Employee.New > /VerifyID > /SetAccess dept:Engineering, level:L2 > /Create.Account type:Email > /Notify msg:Welcome to the team!` | |
| 61 | + | * *Logic: Create employee > Verify ID > Grant permissions > Create email $\rightarrow$ Send welcome.* | |
| 62 | + | ||
| 63 | + | **2. Automated Sales Outreach** | |
| 64 | + | `Lead.List > /Filter score:high > /SendEmail template:intro > /Wait 3d > /Filter replied:false > /SendEmail template:followup > /Notify sales:Lead Needs Attention` | |
| 65 | + | * *Logic: Target high-value leads > Email them > Wait 3 days > If no reply, send followup > Alert sales rep.* | |
| 66 | + | ||
| 67 | + | **3. Legal Contract Execution** | |
| 68 | + | `Contract.NDA > /SendSignature signee:client > /Ask msg:Has client signed? type:bool > /Filter signed:true > /Archive folder:Legal_2024 > /Notify msg:NDA Complete` | |
| 69 | + | * *Logic: Initiate NDA > Send for sig > Wait for human confirmation > If true, archive and notify.* | |
| 70 | + | ||
| 71 | + | --- | |
| 72 | + | ||
| 73 | + | ### 💻 Category 2: Software & Engineering | |
| 74 | + | *Managing the "Technical" side of a product.* | |
| 75 | + | ||
| 76 | + | **4. CI/CD Deployment Pipeline** | |
| 77 | + | `Code.Main > /Lint > /Test.Prog > /Filter passed:true > Server.Staging > /Deploy > /Notify msg:Staging Updated` | |
| 78 | + | * *Logic: Pull code $\rightarrow$ Lint > Run tests (with progress bar) $\rightarrow$ If passed, deploy to staging $\rightarrow$ Notify team.* | |
| 79 | + | ||
| 80 | + | **5. Incident Response (SRE)** | |
| 81 | + | `Alert.Sentry > /Filter severity:crit > /Notify admin:OnCall > /Ask msg:Reboot Server? type:bool > /Filter approved:true > /Reboot.Prog > /Notify msg:System Recovered` | |
| 82 | + | * *Logic: Critical alert > Notify on-call $\rightarrow$ Ask for reboot permission $\rightarrow$ If yes, reboot (with progress) $\rightarrow$ Final notification.* | |
| 83 | + | ||
| 84 | + | **6. Database Migration** | |
| 85 | + | `DB.Backup > /VerifyIntegrity > /Migration.Prog target:Production > /Filter status:success > /Notify msg:Migration Done > /Cleanup logs:old` | |
| 86 | + | * *Logic: Backup DB > Check backup > Migrate (with progress) $\rightarrow$ If success, notify and clean up.* | |
| 87 | + | ||
| 88 | + | --- | |
| 89 | + | ||
| 90 | + | ### 💰 Category 3: Financials & Payments | |
| 91 | + | *Managing the "Money" side of the company.* | |
| 92 | + | ||
| 93 | + | **7. Overdue Invoice Recovery** | |
| 94 | + | `Invoice.Pending > /Wait 7d > /Filter paid:false > /Reminder msg:Payment Overdue > /Wait 3d > /Filter paid:false > /Notify acc:Finance, priority:high` | |
| 95 | + | * *Logic: Check pending invoices > Wait a week > If unpaid, send reminder $\rightarrow$ Wait 3 more days $\rightarrow$ If still unpaid, escalate to Finance.* | |
| 96 | + | ||
| 97 | + | **8. SaaS Subscription Upgrade** | |
| 98 | + | `User.Account > /UpgradePlan plan:Enterprise > /ChargeCard amount:500, curr:USD > /Filter success:true > /SetAccess features:all > /Notify msg:Welcome to Enterprise!` | |
| 99 | + | * *Logic: Target user > Trigger upgrade > Charge card > If successful, unlock features > Notify.* | |
| 100 | + | ||
| 101 | + | --- | |
| 102 | + | ||
| 103 | + | ## 5. Quick-Reference Summary Table | |
| 104 | + | ||
| 105 | + | | Scenario | Syntax Example | Key Feature Used | | |
| 106 | + | | :--- | :--- | :--- | | |
| 107 | + | | **Onboarding** | `Emp.New > /VerifyID > /Notify` | Implicit Creation | | |
| 108 | + | | **Deployment** | `Code.Main > /Test.Prog > /Deploy` | `.Prog` Modifier | | |
| 109 | + | | **Sales** | `Lead.List > /Filter score:high > /Send` | Collection Loop + Filter | | |
| 110 | + | | **Support** | `Ticket.New > /Ask msg:Help? > /Solve` | `/Ask` Interaction | | |
| 111 | + | | **Compliance** | `User.New > /Wait 24h > /VerifyEmail` | `/Wait` Temporal | | |
| 112 | + | | **Payment** | `Bill > /Charge > /Filter success:true` | Blocking Synchronicity (`>`) | | |
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 1 insertion, 1 deletion
Gemma4-AppGraph-Mobile-Syntax.md
| @@ -34,7 +34,7 @@ Look at how much cleaner and faster these are to type. | |||
| 34 | 34 | ||
| 35 | 35 | ### 🛠️ The Absolute Final Product Specification | |
| 36 | 36 | ||
| 37 | - | This is the "Source of Truth" for the development of the Op-Graph engine. | |
| 37 | + | This is the "Source of Truth" for the development of the App-Graph engine. | |
| 38 | 38 | ||
| 39 | 39 | #### 1. The Syntax Map | |
| 40 | 40 | | Symbol | Name | Mobile Action | Backend Meaning | | |
Z bu gisti düzenledi . Düzenlemeye git
1 file changed, 6 insertions, 6 deletions
Gemma4-AppGraph-Mobile-Syntax.md
| @@ -49,14 +49,14 @@ This is the "Source of Truth" for the development of the Op-Graph engine. | |||
| 49 | 49 | #### 2. Logic & Execution Flow | |
| 50 | 50 | | Element | Syntax Example | Implementation Detail | | |
| 51 | 51 | | :--- | :--- | :--- | | |
| 52 | - | | **Entity** | `Company.Startup` | Create if null $\rightarrow$ Return Object | | |
| 53 | - | | **Process** | `> /Verb` | Pass Object $\rightarrow$ Execute $\rightarrow$ Return Result | | |
| 52 | + | | **Entity** | `Company.Startup` | Create if null > Return Object | | |
| 53 | + | | **Process** | `> /Verb` | Pass Object > Execute > Return Result | | |
| 54 | 54 | | **Shorthand Arg** | `/Wait 1h` | Map `1h` to `default_key` in JSON | | |
| 55 | - | | **Detailed Arg** | `/Setup reg:EU, cur:USD` | Map `reg:EU` $\rightarrow$ `{"region": "EU"}` | | |
| 55 | + | | **Detailed Arg** | `/Setup reg:EU, cur:USD` | Map `reg:EU` > `{"region": "EU"}` | | |
| 56 | 56 | | **Gate** | `/Filter status:true` | `if (val == true) continue; else stop;` | | |
| 57 | - | | **Progress** | `/Upload.Prog` | Open WebSocket $\rightarrow$ Stream `%` to UI | | |
| 58 | - | | **Interaction** | `/Ask msg:Hello` | Pause $\rightarrow$ Trigger UI $\rightarrow$ Await Response | | |
| 59 | - | | **Pause** | `/Wait 2h` | Set Timer $\rightarrow$ Sleep $\rightarrow$ Wake on Trigger | | |
| 57 | + | | **Progress** | `/Upload.Prog` | Open WebSocket > Stream `%` to UI | | |
| 58 | + | | **Interaction** | `/Ask msg:Hello` | Pause > Trigger UI > Await Response | | |
| 59 | + | | **Pause** | `/Wait 2h` | Set Timer > Sleep > Wake on Trigger | | |
| 60 | 60 | ||
| 61 | 61 | --- | |
| 62 | 62 | ||