Skip to content

build: add compiler, linter and test runner - #1

Merged
romain-gilliotte merged 8 commits into
mainfrom
feat/tooling
Dec 14, 2021
Merged

build: add compiler, linter and test runner#1
romain-gilliotte merged 8 commits into
mainfrom
feat/tooling

Conversation

@romain-gilliotte

Copy link
Copy Markdown
Contributor

No description provided.

@jeffladiray
jeffladiray self-requested a review December 14, 2021 11:34
@forest-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.0.0-beta.1 🎉

The release is available on npm package (@beta dist-tag)

Your semantic-release bot 📦🚀

@forest-bot

Copy link
Copy Markdown
Member

🎉 This PR is included in version 1.0.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Scra3 pushed a commit that referenced this pull request Jun 4, 2026
…rd (PRD-442 #1)

The operation audit-trail entry pointed at the run's trigger record, even
when the step acted on a record loaded earlier in the run — possibly in
another collection. Root cause: buildActivityLogArgs ran before doExecute
(so the acted record wasn't resolved yet) and used context.collectionId +
baseRecordRef.

Record executors now emit the entry at the point of the agent call, via a
new base helper withActivityLog(args, fn), targeting selectedRecordRef and
its collection's numeric id (read from the live schema). CollectionSchema
gains a required collectionId — the audit is not optional, so a missing id
fails loud at the boundary (DomainValidationError); the orchestrator must
include it in getCollectionSchema responses (coordinated deploy).

Scope: bug #1 (wrong target) only. As a consequence of logging at the
operation point, a confirmation step no longer logs before the write — the
remaining #2 work (exactly-once / no-log-on-reject, MCP step) is a follow-up.
The MCP executor still uses context.collectionId via the existing wrapper.

fixes PRD-442

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scra3 pushed a commit that referenced this pull request Jun 4, 2026
…rd (PRD-442 #1)

The operation audit-trail entry pointed at the run's trigger record, even
when the step acted on a record loaded earlier in the run — possibly in
another collection. Root cause: buildActivityLogArgs ran before doExecute
(so the acted record wasn't resolved yet) and used context.collectionId +
baseRecordRef.

Record executors now emit the entry at the point of the agent call, via a
new base helper withActivityLog(args, fn), targeting selectedRecordRef and
its collection's numeric id (read from the live schema). CollectionSchema
gains a required collectionId — the audit is not optional, so a missing id
fails loud at the boundary (DomainValidationError); the orchestrator must
include it in getCollectionSchema responses (coordinated deploy).

Scope: bug #1 (wrong target) only. As a consequence of logging at the
operation point, a confirmation step no longer logs before the write — the
remaining #2 work (exactly-once / no-log-on-reject, MCP step) is a follow-up.
The MCP executor still uses context.collectionId via the existing wrapper.

fixes PRD-442

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scra3 pushed a commit that referenced this pull request Jun 8, 2026
…rd (PRD-442 #1)

The operation audit-trail entry pointed at the run's trigger record, even
when the step acted on a record loaded earlier in the run — possibly in
another collection. Root cause: buildActivityLogArgs ran before doExecute
(so the acted record wasn't resolved yet) and used context.collectionId +
baseRecordRef.

Record executors now emit the entry at the point of the agent call, via a
new base helper withActivityLog(args, fn), targeting selectedRecordRef and
its collection's numeric id (read from the live schema). CollectionSchema
gains a required collectionId — the audit is not optional, so a missing id
fails loud at the boundary (DomainValidationError); the orchestrator must
include it in getCollectionSchema responses (coordinated deploy).

Scope: bug #1 (wrong target) only. As a consequence of logging at the
operation point, a confirmation step no longer logs before the write — the
remaining #2 work (exactly-once / no-log-on-reject, MCP step) is a follow-up.
The MCP executor still uses context.collectionId via the existing wrapper.

fixes PRD-442

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Scra3 added a commit that referenced this pull request Jun 8, 2026
bexchauveto added a commit that referenced this pull request Aug 18, 2026
…uncation

Fetching exactly MAX_SNAPSHOT_RECORDS could never distinguish "matched
exactly the cap" from "matched more than it", silently under-reporting
truncation at the boundary. Also constructs a real PaginatedFilter
instance (via context.filter's own fields) instead of merging `page`
onto a plain object, since RelaxedCollection.list isn't contractually
guaranteed to reconstruct a proper instance from an arbitrary shape.

Addresses Pierre's second-pass review on PR #1686 (findings #1 and #2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants