You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7e7af39
Browse filesBrowse the repository at this point in the historyBrowse files
skills(project): the platform catalog lists working calendars as shipped
sys_work_calendar and sys_work_calendar_exception move out of Planned into
the object tables; working-day formulas stay Planned. The hand-written
text stays at its ceiling, paid by cuts of restated text. Eval case 8
expects the shipped answer.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016WV4d1ZJL93Kin2UHFXbFv
The platform catalog (`objectstack-project/references/platform-catalog.md`) now lists working calendars as shipped. `sys_work_calendar` and `sys_work_calendar_exception` have rows beside `sys_exchange_rate`: each organization keeps its calendars and holidays in Setup, and an approval's `escalation.clock: 'working_time'` reads them. An app no longer declares its own calendar or holiday object. The Planned section keeps only what is still missing: no formula reads a calendar yet.
{name: 'sys_exchange_rate',builds: 'an exchange-rate table',reach: '`currencyConfig.homeAmount` converts at write; Setup edits rates; data API'},
121
+
{name: 'sys_work_calendar',builds: 'a business-hours calendar',reach: 'kept per organization in Setup; an approval\'s `escalation.clock: \'working_time\'` reads it; data API'},
122
+
{name: 'sys_work_calendar_exception',builds: 'a holiday table',reach: 'a calendar\'s holidays and make-up workdays, kept in Setup; data API'},
121
123
{name: 'sys_import_job',builds: 'a bulk-import job table',reach: '`POST /api/v1/data/OBJECT/import/jobs`; data API read'},
122
124
{name: 'sys_approval_request',builds: 'an approvals table',reach: 'a flow approval node opens it; `/api/v1/approvals` routes decide; data API read'},
123
125
{name: 'sys_approval_action',builds: 'an approval decision trail',reach: 'written per decision; data API read'},
{concept: 'Party master data: customers, suppliers, contacts',rule: 'one app owns each entity; another app matches its records by the key contract (country plus credit code or registration number), one way, with no platform party object'},
194
-
{concept: 'Item master data: materials, products, plants',rule: 'the owning app\'s object is reused by key (material number, plant code); the platform ships no item object'},
195
+
{concept: 'Party master data: customers, suppliers, contacts',rule: 'one app owns each entity; another app matches its records by the key contract (country plus credit code or registration number), one way'},
196
+
{concept: 'Item master data: materials, products, plants',rule: 'the owning app\'s object is reused by key (material number, plant code)'},
195
197
];
196
198
197
199
/** Carded, not shipped. Each row is **not available**; the shipping PR moves it into the main table. Capped at a few rows. */
Copy file name to clipboardExpand all lines: skills/objectstack-project/evals/project-process.json
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -123,14 +123,16 @@
123
123
{
124
124
"id": 8,
125
125
"prompt": "Our ObjectStack app's case SLA must count business hours only. Add a `business_hours_calendar` object (weekday ranges per organization) and a `holiday` table, and make the SLA formula read them.",
126
-
"expected_output": "Checks the platform catalog first: working calendars are in its Planned section, marked not available, so there is nothing to declare today. This is a missing capability, not a defect, so §3 does not apply: the app is not blocked and no workaround language is used. A second app would copy a calendar, so it files or links the platform card at objectstack-ai/objectstack, and may build the smallest calendar the SLA needs meanwhile, with the objects and the formula marked `// PLATFORM-CANDIDATE: <link to the card>` so the bump sweep (§5 step 4) replaces them when the platform ships calendars. It does not present the app's calendar as the platform's.",
126
+
"expected_output": "Does not create `business_hours_calendar` or `holiday`: the platform catalog lists `sys_work_calendar` (weekly working periods, per organization) and `sys_work_calendar_exception` (dated holidays and make-up workdays) as what the platform ships, and each organization keeps its own rows in Setup. The formula half is different: working-day formulas are in the catalog's Planned section, marked not available, so no formula reads a calendar today. That is a missing capability, not a defect, so §3 does not apply: the app is not blocked and no workaround language is used. It links the contract at objectstack-ai/objectstack and may compute the business-hours due time in the app meanwhile, reading the platform's calendar rows and marked `// PLATFORM-CANDIDATE: <link>` so the bump sweep (§5 step 4) replaces it when the platform ships the formulas. Where the SLA is an approval step's deadline, it sets `escalation.clock: 'working_time'` instead, which reads the calendar today.",
> (not runnable in an installed app). Names come from `@objectstack/spec`;
6
-
> the prose columns are authored beside the generator.
5
+
> (not runnable in an installed app). Names come from `@objectstack/spec`.
7
6
8
7
Read this before adding an object, a field or a flow (objectstack-project §0,
9
-
question 3). `list_objects` over MCP hides system objects, so look here, not
10
-
at the runtime.
8
+
question 3). `list_objects` over MCP hides system objects, so look here.
11
9
12
10
## Platform objects an app would otherwise build
13
11
@@ -52,6 +50,8 @@ a seed) without declaring it.
52
50
| Object | Mounted by | What you would otherwise build | How the app reaches it |
53
51
|:--|:--|:--|:--|
54
52
|`sys_exchange_rate`| every boot | an exchange-rate table |`currencyConfig.homeAmount` converts at write; Setup edits rates; data API |
53
+
|`sys_work_calendar`| every boot | a business-hours calendar | kept per organization in Setup; an approval's `escalation.clock: 'working_time'` reads it; data API |
54
+
|`sys_work_calendar_exception`| every boot | a holiday table | a calendar's holidays and make-up workdays, kept in Setup; data API |
55
55
|`sys_import_job`| every boot | a bulk-import job table |`POST /api/v1/data/OBJECT/import/jobs`; data API read |
56
56
|`sys_approval_request`|`requires: ['approvals']`| an approvals table | a flow approval node opens it; `/api/v1/approvals` routes decide; data API read |
57
57
|`sys_approval_action`|`requires: ['approvals']`| an approval decision trail | written per decision; data API read |
@@ -138,18 +138,17 @@ platform" here.
138
138
139
139
| Concept | Rule |
140
140
|:--|:--|
141
-
| Party master data: customers, suppliers, contacts | one app owns each entity; another app matches its records by the key contract (country plus credit code or registration number), one way, with no platform party object|
142
-
| Item master data: materials, products, plants | the owning app's object is reused by key (material number, plant code); the platform ships no item object|
141
+
| Party master data: customers, suppliers, contacts | one app owns each entity; another app matches its records by the key contract (country plus credit code or registration number), one way |
142
+
| Item master data: materials, products, plants | the owning app's object is reused by key (material number, plant code) |
143
143
144
144
## Planned: carded, not shipped
145
145
146
146
Each row is **not available**: nothing below can be declared or installed.
147
147
The app may build its own meanwhile, marked `// PLATFORM-CANDIDATE:` with
148
148
the link; an interim unit field stores the contract's UN/ECE Rec 20 codes
149
-
(`H87`, `KGM`) as option values, the business's spellings as labels. The PR
150
-
that ships a row moves it into the tables above.
149
+
(`H87`, `KGM`) as option values, the business's spellings as labels.
151
150
152
151
| Concept | State | Contract |
153
152
|:--|:--|:--|
154
153
| Units of measure (a standard unit table, organization units, a quantity field with its unit) |**not available** (contract accepted, nothing shipped) |https://github.com/objectstack-ai/objectstack/blob/main/docs/adr/0158-units-of-measure-standard-unit-table-org-units-quantity-unit-declaration-base-quantity.md|
155
-
| Working calendars (business days, holidays, SLA clocks) |**not available** (carded, contract in design) |https://github.com/objectstack-ai/objectstack/issues/35340|
154
+
| Working-day formulas |**not available** (contract accepted; no formula reads a calendar yet) |https://github.com/objectstack-ai/objectstack/blob/main/docs/adr/0157-working-calendars-are-org-editable-runtime-data-resolved-by-code-or-refused.md|
0 commit comments