Urgent.News

What's breaking now, across thousands of outlets.

Tech

Sign the Sentences, Not the PR: An Approval Ledger for Model-Drafted Doc Blocks

Most documentation reviews approve a pull request, not a sentence. That is the failure mode worth fixing first, because a single approval granted in October can silently keep covering paragraphs a model rewrote in December. The workflow below binds every human signature to a hash of the exact text it approved, so re-approval becomes a mechanical consequence of editing rather than a matter of…

Documentation reviews typically approve pull requests, not individual sentences. This issue can be addressed by assigning a unique hash to each human signature that approves a specific text block. The workflow involves creating a Python checker that runs in pre-commit and CI to verify whether a named human has signed the exact text of a block.

The approval record lives in review history while the file is continuously updated, which can lead to signatures becoming disconnected from their original content. By linking both hash and approval records, you ensure that both the input content and human accountability are verifiable.

Before implementing any tooling, it is essential to define the ownership boundaries for each unit of content. Each block should be marked with an HTML comment pair, indicating the type of block (model or human) and the owner. Blocks marked as owner=human do not undergo the approval process, allowing for flexibility and explicit escape hatches.

Blocks marked as owner=model require a signature, and any changes to these blocks invalidate the existing signature. The final drafting process should restrict modifications to only those blocks designated as owner=model, with no introduction of new numbers, dates, or versions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

First Batch Of iPhone Duo Pre-Orders In Malaysia Selling Out Fast

Pre-orders of Apple’s first foldable smartphone, the iPhone Duo, appears to be off to a strong start in Malaysia. Despite the steep starting price of over RM9,000 (even higher for the phone’s other variants), much of the initial allocation are already selling out within an hour of orders opening yesterday evening.

Smart Contract Vulnerability Surface Analysis: Rocket Pool

Smart Contract Vulnerability Surface Analysis: Rocket Pool Target Protocol : Rocket Pool (TVL: $1262.1M) Rocket Pool – Smart‑Contract Vulnerability Surface Analysis Prepared by: [Your Firm / Senior…

  • Rocket Pool manages $1.26B TVL across Ethereum and roll-ups.
  • Upgrade mechanism allows direct contract calls to proxyAdmin.
  • L2 bridge vulnerable to replay attacks and single verifier compromise.

Agent Patches Touch Your Fixtures Too: Fingerprint the Setup Layer Before You Freeze a Flaky Test

Most agent-patch review stops at the diff of src/ and tests/ . That is one layer too high. The patch that makes a red suite green often edits the setup layer — conftest.py , factories, seed data, golden files — and those edits are invisible to any check that only counts collected test IDs or compares test bodies.

  • Emphasizes auditing setup layer before patching test suite
  • Introduces method to fingerprint setup layer and fixtures
  • Provides Python scripts for implementation and flake freeze ledger

More from Saturday 17 October →