Skip to content

chore(release): 26.11.18 - #34

Merged
ancongui merged 11 commits into
mainfrom
fix/python-release-version-normalization
Nov 14, 2026
Merged

ancongui merged 11 commits into
mainfrom
fix/python-release-version-normalization

Conversation

@ancongui

@ancongui ancongui commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

Prepare devkit 26.11.18 with corrections to release checks, repository-scoped approvals, and Codex crew ownership. Approvals can explicitly identify a second repository, and native child launches bind to their named plan step while incomplete or stale registration cannot grant write access.

Changes

  • Compare numeric Python package versions without zero padding while preserving the requested release tag.
  • Exclude only authenticated GitHub Dependabot updater runs from release CI; repository workflows and unverifiable runs still count.
  • Bind decisions and typed grants to an explicit repository, preserve legacy scope, and explain mismatches without consuming approval.
  • Recover missed Codex registration from genuine child hooks and reciprocal launch evidence, honor native task names, and revoke obsolete ownership after reassignment.
  • Preserve write-lane checks when opening a local Chrome tab; validate the default branch of an empty GitHub origin.
  • Keep dashboard roadmap labels inside narrow viewports and make continuity fixtures independent of expired fixed dates.
  • Make doctor count authored handoff text and describe the existing audit publication hold accurately.
  • Update documentation, source skills, global agent instructions, completions, and the versioned changelog together.

How to verify

  • Focused lifecycle and scope checks: 125 passed on Python 3.9 and 3.15; independent code and security reviews approved the final source.
  • Regression proof: all 13 behavioral regressions fail against the previous implementation; the selected checks pass five repeated runs.
  • Documentation: online check passes all 269 links with no errors.
  • Native fixture corrections:191affected tests pass on Python3.9 and3.13; the corrected27-case acceptance module passes on both runtimes.
  • Diagnostic corrections:153affected tests pass on Python3.9 and3.13; four changed regressions fail baseline and pass five repeats.
  • Local qualification is recorded for395574d/tree4ba2426. Full baselines ran4974tests on each runtime; a4933-test CI resume found two further interactive-fixture failures. All observed failures were reproduced and resolved with independent review. Final shared-fixture modules pass56/56 on both runtimes, including grant/settlement flows; explicit headless denial remains intact. Earlier failed logs are retained rather than relabeled as passing runs.
  • All five pinned CI security commands pass on the final contents; compileall passes both runtimes. Branch stubs and the16-file test audit are clean. Hosted CI will run the complete final candidate on both versions.

Risk and rollback

Approval and crew admission are sensitive boundaries. Missing or conflicting native evidence now leaves a child without write authority; this can expose incomplete host hook delivery or old launch fixtures. The change does not infer caller identity from command text, expand hook matchers, or alter normal shell routing. Activate a tested build through the developer's terminal installation, restart sessions, and verify live registration and reopened ownership before claiming the host issue resolved. Revert the change or install the previous release for rollback; do not edit managed lane records or installed hooks manually.

Links

Python package metadata normalizes numeric padding while release tags can retain padded CalVer spelling

Root cause: The release gate compared version-file strings literally, rejecting equivalent Python versions such as 26.11.8 and 26.11.08

Compare numeric components only for pyproject.toml and preserve the requested tag; retain exact matching for VERSION and package.json

Verified: 13 release and rule tests passed on Python 3.9.6 and 3.15.2; positive regression failed baseline; independent review and security scan passed; full local CI still running

Refs: fireflyframework/fireflyframework-pyfly#245
GitHub dependency update automation can fail while the committed release passes its required workflows

Root cause: Release CI collection treated every run associated with a commit as a delivery check, including GitHub internal Dependabot update jobs

Exclude only updater runs verified through authenticated API identity, repository and exact commit metadata; preserve real workflow checks and fail closed on missing or failed API responses

Verified: Independent review approved; 152 affected tests passed and all four new cases passed on Python 3.9; three regressions fail baseline; full local suites remain in progress

Refs: fireflyframework/fireflyframework-pyfly#245
Allow the release validation suite to run after the fixed fixture date without treating test requests as expired; retain real CLI and hook behavior and the dedicated expiry checks

Verified: Both tests failed before the change; 56 affected tests pass, Python3.9 affected scopes pass, local CI resume and all five security stages pass; independent review approved
Publish the verified Python version normalization and authenticated Dependabot release gate fixes as an official patch release.

Update VERSION, desktop and plugin manifest versions, and the dated changelog heading together.

Verified: Prior full-suite/resumed evidence for tree b59cff1 carried forward with tech lead approval; metadata delta: 64 tests each on Python 3.15 and 3.9, version consistency, compile, 48 changelog links and five workflow scans exit 0 (Semgrep has rule-timeout warnings); strict CI audit has no high or medium findings.

Refs: https://github.com/fireflysoftwaresolutions/devkit
Initial feature commits were refused because an empty origin made every current branch appear to be the protected default.

Root cause: Without remote refs, default-branch discovery fell back to the current branch and the commit gate treated that fallback as authoritative.

Validate GitHub repository metadata before using its declared default branch. Preserve conservative refusal on unavailable or malformed metadata and avoid an extra lookup when origin refs exist.

Verified: 28 focused unittest checks passed on Python3.15 and3.9; all3 new regressions fail without the change and pass5 repeated runs. Independent review approved protected-default and malformed-metadata controls.

Refs: #34
The initiatives page overflowed a390px phone viewport when UTC advanced the roadmap into a new month.

Root cause: An absolutely positioned month label extended beyond the right edge of its track, and the fixed title column left insufficient mobile space.

Align end-of-axis labels inward and share mobile row space between title and timeline while preserving desktop columns. Cover the month boundary with a fixed-date browser regression.

Verified: 30 browser behavior tests passed on Python3.15 and3.9. Final UTC overflow and fixed-date checks passed on both interpreters and failed against the old layout. Independent review inspected4 theme/viewport screenshots and passed both regressions on each interpreter.

Refs: #34
Keep approvals attached to the intended repository and prevent missing or stale Codex crew registration from granting write access.

Root cause: Approval evidence inherited the startup repository, native launch labels ignored task_name, and missing or reassigned lanes retained inappropriate write authority.

Add explicit repository scopes to decisions and grants, authenticate native child launch linkage, recover compatible pending labels, and revoke obsolete ownership. Preserve the exact local Chrome tab exception and update source documentation, skills, instructions, and completions.

Verified: python3 -m unittest tests.test_codex_launch tests.test_lane_binding tests.test_codex_admission tests.test_codex_lifecycle: 77 passed; python3 -m unittest tests.test_codex_patch_scope tests.test_scope_links_write tests.test_guard_crew tests.test_guard_lane_router: 48 passed; both sets also passed with /usr/bin/python3. Independent code/security reviews approved; 13 behavioral regressions fail the baseline and pass five repeats. Online documentation checks resolve 269 links with no errors. Full Python 3.9/3.13 CI is still running; the corrected acceptance fixture retains every assertion.

Refs: #34
Repository drift checks exposed an unused helper after auto-mode decisions moved to exact scoped approval matching.

Remove the unused action-only helper; active callers keep action, target and repository validation.

Verified: Reproduced D3 drift failure before removal; D3 plus scoped-grant tests pass15/15 on Python3.15 and3.9; independent code review approved.

Refs: #34
Crew routing and review-permission checks must exercise admitted native agents after launch verification became strict.

Root cause: Synthetic lanes omitted assignment history or reciprocal Codex launch records, and the review-only test created only a Claude reviewer before probing Codex.

Use real native registration in shared fixtures, initialize lane metadata through the production constructor, and assert each provider's review-only behavior independently.

Verified: Three failing cases reproduced and now pass on Python3.13 and3.9; independent review approved, branch stub and14-file test audits clean. Broader affected suites and finalCI remain in progress.

Refs: #34
Doctor recommended an unavailable audit feature and counted generated task lists against the authored-note budget.

Root cause: Audit hold advice retained a26.11.5 segmentation promise that was never implemented, and handoff checks counted every line including generated blocks.

Keep the audit publication hold and integrity policy, explain current verification, and count authored handoff content with conservative handling of malformed markers and fenced examples. Update documentation and the handoff skill.

Verified: 153 affected tests pass on Python3.13 and3.9; four regressions fail baseline and pass five repeats; independent review approved plus seven edge probes;128docs links valid,16-file test audit and branch stubs clean; compileall passed both runtimes.

Refs: #34
Typed grants and settlements must be exercised from the interactive session modeled by the acceptance harness.

Root cause: The new reciprocal-launch fixture precreated headless codex_exec metadata, preventing the existing codex_types helper from writing interactive metadata and correctly triggering denial.

Match the existing interactive metadata contract while preserving transcript paths, prompt timing, assertions and explicit headless denial controls.

Verified: Both failed cases and explicit headless denial pass on Python3.13 and3.9; independent review approved;56test methods unchanged by AST comparison. Full affected modules and finalscans remain running.

Refs: #34
@ancongui
ancongui merged commit 4e8dd29 into main Nov 14, 2026
3 checks passed
@ancongui
ancongui deleted the fix/python-release-version-normalization branch November 14, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant