Repository navigation
[R11] authored_by takes a list of authors; written_by lists them (pair of engine #3302) - #136
Merged
Merged
Conversation
…authors, by_agent, text}
Max changed R11 so a file can have several authors (engine
fix/upload-authors-list). Every upload path and files.update take
authored_by as a string or a sequence of up to 20 (sent as a list; [] or ""
clears on update); upload_many's per-file map takes a list too.
public_source keeps written_by as {authors: [{name, org_member}], by_agent,
text}. Snapshots and the generated layer follow the engine push.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Snapshots re-taken from fix/upload-authors-list (beakr-typescript at main
2c80679), generated layer regenerated (authored_by takes str | list[str];
ArtifactOut gains authors[], keeps authored_by_user_id as deprecated;
SourceWrittenBy is {authors, by_agent, text}), release notes re-applied (date
kept) with the client note updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong
Max changed R11 so that a file can have several authors (co-written notes). Engine #3302 (branch
fix/upload-authors-list, head bd99c3208, b-uploads) changes the shape before anything ships:authored_bytakes one author or a list of 1–20;[]or""clears it.authors([{name, user_id, email}], always present) is new.authored_bybecomes the display line ("Jane Doe and Bob Smith").authored_by_user_idstays, but deprecated (the first author's member).written_bybecomes{authors: [{name, org_member}], by_agent, text}.This is the paired PR. The branch name is the same as the engine's, so the engine's sdk-freshness job checks against it. Merge it only after #3302 merges, once dev is open again.
What changed
authored_bytakes astror any sequence of strings (Authors). It is sent as a list, through_authorsin_multipart_upload.py, on:files.upload,resume_upload,uploads.complete,upload_folderandupdate;authoredmap ofupload_many.public_sourcekeepswritten_byas{authors: [{name, org_member}], by_agent, text}, and never a member id.beakr-typescriptat main 2c80679, same content);_generatedregenerated.apply, date kept) and the client note.Tests
tests/test_upload_authorship.py:update(authored_by=[])sends[];written_bykeeps the authors withoutuser_id, and an empty one is dropped.src/: thewritten_bytest failed. The list tests also pass on main, because main already sent the value unchanged. The change there is the type and the tuple-to-list conversion, so those tests guard the behaviour rather than prove a fix.BEAKR_ENGINE_PATH=snapshots/beakr-engine BEAKR_TYPESCRIPT_PATH=snapshots/beakr-typescript:generate_python_sdk.py --check,mypy,ruff,prepare_release.py checkandrefresh_snapshots.py verifyall pass.Spend: no model or AWS spend beyond this agent session.
🤖 Generated with Claude Code