Skip to content

Commit 9264d5b

Browse files
committed
15.00.55: system vibe support - initial testing
1 parent b6b00c1 commit 9264d5b

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

api_logic_server_cli/prototypes/base/.github/.copilot-instructions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ NEVER start by updating the database directly, since some platforms may not hav
168168

169169
If altering `database/models.py`, be sure to follow the patterns shown in the existing models. Note they do not contain a `__bind_key__`.
170170

171-
```python
172171

173172
### Addressing `Missing Attributes` during logic loading at project startup
174173

@@ -213,10 +212,10 @@ models.Employee.ProperSalary = __proper_salary__
213212

214213
When customizing SQLAlchemy models:
215214

216-
Don't use direct comparisons with database fields in computed properties
217-
Convert to Python values first using float(), int(), str()
218-
Use property() function instead of @jsonapi_attr for computed properties
219-
Always add error handling for type conversions
215+
* Don't use direct comparisons with database fields in computed properties
216+
* Convert to Python values first using float(), int(), str()
217+
* Use property() function instead of @jsonapi_attr for computed properties
218+
* Always add error handling for type conversions
220219

221220
### Adding events
222221
LogicBank rules are the preferred approach to logic, but you will sometimes need to add events. This is done in `logic/declare_logic.py` (important: the function MUST come first):

api_logic_server_cli/prototypes/basic_demo/docs/system-creation-vibe.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Vibe MCP / Microservice
3+
do_process_code_block_titles: True
34
version: 0.23 from docsite 7/11/2025
45
---
56
<style>
@@ -60,15 +61,13 @@ Verify it as follows:
6061

6162
## Create a Custom React App
6263

63-
**Create Start App**
6464
```bash title="Create a custom react app"
6565
Create a react app.
6666
```
6767

6868
<br>
6969

70-
**Customize - add cards**
71-
```txt title='Customize using Natural Language'
70+
```txt title='Customize using Natural Language - Add Cards'
7271
In the ui/react app, update the Product list to provide users an option to see results in a list,
7372
or in cards.
7473
```
@@ -86,13 +85,6 @@ todo - diagram
8685

8786
<br>
8887

89-
**Create MCP Executor: process request - invokes the LLM to obtain a series of API calls to run, and runs them**
90-
``` bash title="Create an MCP Client Executor"
91-
Create the mcp client executor
92-
```
93-
<br>
94-
95-
**Add a Table to Track Sent Emails**
9688
``` bash title="Add a Table to Track Sent Emails"
9789
Create a table SysEmail in `database/db.sqlite` as a child of customer,
9890
with columns id, message, subject, customer_id and CreatedOn.
@@ -101,23 +93,28 @@ Follow the suggestions to update the admin app.
10193

10294
<br>
10395

104-
**Create the email service stub using SysEmail as a Request Table**
96+
<br>
97+
98+
``` bash title="Create MCP Executor: process request - invokes the LLM to obtain a series of API calls to run, and runs them"
99+
Create the mcp client executor
100+
```
101+
102+
<br>
103+
105104
``` bash title="Create the email service using SysEmail as a Request Table"
106105
Add an after_flush event on SysEmail to produce a log message "email sent",
107106
unless the customer has opted out.
108107
```
109108

110109
<br>
111110

112-
**Business Logic to Honor Email Opt-out**
113111
```bash title="Business Logic to Honor Email Opt-out"
114112
Add an after_flush event on SysEmail to produce a log message "email sent",
115113
unless the customer has opted out.
116114
```
117115

118116
<br>
119117

120-
**Test: restart the server/admin app - Click SysMCP >> Create New, and enter:**
121118
```text title="Test the MCP Client: Click SysMCP >> Create New, and enter"
122119
List the orders date_shipped is null and CreatedOn before 2023-07-14,
123120
and send a discount email (subject: 'Discount Offer') to the customer for each one.

0 commit comments

Comments
 (0)