Skip to content

docs/upstream: the trust-proxy test's modified_files key repeats the component prefix #3500

Done

Description

@Birfy

What is wrong

docs/upstream/migration-manifest.json keys every modified_files entry the same way, with a single component prefix (services/bot-social/package.json, runtime/flybot/README.md, ...). One entry does not follow that: the trust-proxy test added in #3499 is keyed

services/bot-social/services/bot-social/test/trust_proxy.test.ts

The component prefix is there twice. The entry's own fields are correct (destination: services/bot-social, path: test/trust_proxy.test.ts), which is why nothing notices.

Why it matters

It is a record, not behaviour: check_modified_files, apply_workspace_overlay and check_manifest_files all read destination + path and never the key, so scripts/verify-upstream-migration.py stays rc 0 (confirmed on tree 9462d28b: ok (flybot 46 files, bot-social 435 files)). The harm is a reader or a future tool that keys off the dictionary name and finds a path that does not exist.

Slice

Rename the key to services/bot-social/test/trust_proxy.test.ts and nothing else. No hash, byte count, reason or licence field changes; file_count stays 435.

Acceptance

  • The 61 modified_files keys all match ^<destination>/<path>$.
  • python3 scripts/verify-upstream-migration.py is rc 0 with flybot 46 files, bot-social 435 files.
  • python3 -m unittest tests.test_upstream_migration tests.test_isolated_bot_social is OK on a clean tree (remove any local node_modules first).
  • A whole-file read of the diff shows one changed line.

Activity

  1. added
    agent-ready
    agent-working
    on Dec 2, 2026
  2. Birfy commented on Dec 3, 2026

    @Birfy
    CollaboratorAuthor

    Claiming this for the recording fix.

    Branch: dev/3500-manifest-key-prefix, from main c7c27e22c5a7da21fc2016136597673b42facfc3.

    Scope: rename the one modified_files key in docs/upstream/migration-manifest.json from services/bot-social/services/bot-social/test/trust_proxy.test.ts to services/bot-social/test/trust_proxy.test.ts. The entry's destination, path, hashes, bytes, reason and licence notice stay byte-identical, and nothing else in the tree changes.

    Acceptance (verified locally on the patched tree before pushing, not CI):

    • all 61 modified_files keys satisfy ^<destination>/<path>$ (0 mismatches);
    • python3 scripts/verify-upstream-migration.py -> ok (flybot 46 files, bot-social 435 files), rc 0;
    • python3 -m unittest tests.test_upstream_migration tests.test_isolated_bot_social -> 8 tests OK;
    • no other reference to the doubled key anywhere in the tree.

    No invariant guard is added here; the issue asks for the rename only.

  3. Birfy commented on Dec 3, 2026

    @Birfy
    CollaboratorAuthor

    Merged through the queue: PR #3505, head 7efdb63ff0933087c4f168a5c2976cc20aa30d03, squash f255a7f5d365a6a6a1995afc9ab586b5a3b263c9 at 2026-12-03T16:43:18Z, single parent bf396555, tree baaeefd3e0d101746368491ff249e9406b8ce58b; rebuilt from codeload, verifier rc 0 (flybot 46 files, bot-social 435 files).

    CI at that head was 18/18 success, all completed. Closing; the invariant guard is deliberately not part of this rename.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyagent-working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions