Repository navigation
Include Harness versions in Built-with attribution - #1136
Merged
Merged
Conversation
This was referenced Oct 23, 2026
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.
Summary
Reuse #986's detected Harness version for every factory PR and its Run notification. Refresh attribution after Repair or a Base fix, and keep older versionless lines readable.
Closes #1030
Evidence
cargo test --test harness_choice the_run_notification_and_pr_name_the_same_detected_harness_version_model_and_effort -- --exactfailed because attribution omitted the version.After: passes; all six Harnesses, unknown versions, Tickets and the Spec PR are covered by integration tests.
cargo test --test session_traces notification_keeps_the_pull_requests_version_after_a_repair_changes_it -- --exactfailed: PR9.8.7, notification10.0.0.After: passes after refreshing the open PR's line. The Base fix version regression and all PR lifecycle tests pass too.
cargo test --bin thirdshift harness::built_with::tests::reads_versioned_and_legacy_lines -- --exactpasses for both formats.NEXTEST_TEST_THREADS=8 /usr/bin/time -p scripts/affected-tests issue-978passed: 2,381 Rust tests passed, 56 skipped, and 43 site checks passed. Nextest execution took 1,277.444s; the entry point took 1,389.22s wall time, including 18.07s of Rust compilation and browser checks.cargo fmt --checkandcargo clippy --all-targets -- -D warningspass. CI is green onb9bd930.Test seams
Review coverage
Standards and Spec reviewed against
issue-978. Both axes read all 21 changed files, including the changed generated HTML. No generated-output exclusions or unread changed files.The agreed Standards dependency finding is addressed by making the detected version an explicit formatter input. The reproduced Spec mismatch is fixed, with its regression test retained.
Unaddressed findings
Standards
src/harness/built_with.rs:37: retained the reader. #1030 explicitly requires “The reader accepts lines with and without a version, tested both ways” (.thirdshift-issue.md:12,18). There is no production scoring reader onissue-978yet; this is the requested compatibility interface. The exact reader test above passes for both versions. This is a decision from the supplied Spec, with no unresolved Day shift decision.Spec
None.
Security
None. Reviewed the attribution diff against injection, access-control and file-handling classes: the version interpolated into the PR body and Run notification comes only from the trusted Harness CLI (
--versionoutput andsystem/initstream metadata) and thirdshift's own version cache beside the command log, and theBuiltWithreader has no production callers. No introduced trust-boundary crossing was confirmed, so no fix was made.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Blast Radius: attribution
Changes PR/notification text and its reader. Delivery retains its closed, merged and draft PR gates and preserves original Repair failures. No data migration.
Built with codex · gpt-6.1-sol · xhigh