Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/38154-eval-field-history-default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@objectstack/skills': patch
---

docs(skills): the `objectstack-project` change-history eval no longer expects an answer that sets `trackHistory` for field history

Clause-②: no
Metadata-protocol: none

`skills/objectstack-project/evals/project-process.json`, eval 9 (users need to see who changed which field and when): the expected answer said it "sets `trackHistory` where field-level history is wanted". A changed field's old and new values already show on the record activity timeline by default, and `fieldHistory` is their switch; a field's `trackHistory` only opts a media or structured-JSON type in, and the object's `enable.trackHistory` opens the audit ledger's view, not the values. The expected answer now leaves `activities` on, where the values show by default (`fieldHistory`), and points the users at the timeline. The prompt and the assertions are unchanged.
2 changes: 1 addition & 1 deletion skills/objectstack-project/evals/project-process.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
{
"id": 9,
"prompt": "Users of our ObjectStack app need to see who changed which field on a record and when. Create an `audit_entry` object (object name, record id, field, old value, new value, user, time) and hooks on every object that fill it.",
"expected_output": "Does not build it: the platform catalog lists `sys_audit_log` (every write is recorded) and `sys_activity` (the record timeline, `enable.activities`, on by default) as what the platform ships for change history, read through the record page's activity stream and the data API. Leaves `activities` on, sets `trackHistory` where field-level history is wanted, and points the users at the timeline; `view_all_audit_log` is the capability for rows a reader could not otherwise open. No `audit_entry` object and no hooks.",
"expected_output": "Does not build it: the platform catalog lists `sys_audit_log` (every write is recorded) and `sys_activity` (the record timeline, `enable.activities`, on by default) as what the platform ships for change history, read through the record page's activity stream and the data API. Leaves `activities` on, where a changed field's old and new values show by default (`fieldHistory`), and points the users at the timeline; `view_all_audit_log` is the capability for rows a reader could not otherwise open. No `audit_entry` object and no hooks.",
"files": [],
"assertions": {
"must_contain": [
Expand Down
Loading