No reviewers
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index!360
Loading…
Reference in a new issue
No description provided.
Delete branch "train-037"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The v0.37 train. Every lane ran targeted tests and its own mutations, and I verified each lane myself: re-ran its suites and ran one mutation of my own, which went RED each time. One full local gate run on this tree, now green.
Epic #354: fix and release one language package without the rest
legjob on the tagged commit. The 50-minute poll for a package-ci leg (run 1089) is gone, along withpackage_ci_gate.sh..forgejo/scripts/package_leg.sh <name> <release|corpus|full>is used by package-ci (package (<n>)= release tier, plus a parallelpackage-corpus (<n>)) and by package-release.COSI_PLUGIN_HOST_PREBUILTremoves the nested worker build that took 11m51 in run 1090.github.sha, andpackage_pipeline_commit.shrefuses a tag that isn't that commit, before anything is graded or published (run 1102's shape). Graded inrelease_gate/ci_path_gating.languages owner <lang> packagefor every language package.crates/guest/<pkg>/src/. JavaScript and TypeScript each have their own copy.builtin_frozen), and every walker is gated to its own package's lanes.support/owned.rs).Field fixes (zammad-dev)
packageandcomponent_langbeside the handle.search_text lang=typescriptadmits.vue/.sveltefiles by the language their regions contain (region_lang), and the imports half ofsearch_symbolsfilters on the row's language.changed_symbolsandreview_difftakepath_globand page by file with a stale-checked cursor. On an 80-commit range, one 95k-char reply that never probed 243 of 284 files became complete, bounded pages.Versions
pkg/release runs. That is the F drill.tests/corpus/ruby-package-cost.jsonwas re-measured for 0.10.1 with operator approval: +220 vm_step, isolated window.baseline.jsonandcost-baseline.jsonare unchanged.Full local run (this tree)
--document-private-items-D warnings, the workspace nextest run (5091/5091), the daemon leg, timing (34/34) and guest gates.psr4_vs_builtin, tier 3, andprecision_gate(7/7, phantom 0).package_leg.sh <pkg> fullfor all 11 packages.release_gate_e2e, and thehost_reads_no_live_packagecount). Both are fixed in36453952, andws/timingwere re-run green.Closes #355, #356. Part of #354 (F, the drill, runs after release).
🤖 Generated with Claude Code
https://claude.ai/code/session_01YDDBdWU4yThi8Zi51E6FCj
A 46-commit field range returned ~112k chars even concise. Measured on an 80-commit range of this repository (284 files): the old single answer was 95,400 chars concise / 172,325 detailed, 70.7% symbol rows and 24.5% file envelopes, and it showed 300 of 1,232 symbols while reporting omitted_symbols: 9 (243 of 284 listed files were never probed). - path_glob: SQLite's own GLOB operator on an in-memory connection, the dialect of every other path_glob; a rename matches on either side; the reply carries filter{matched,excluded} and a never-masked note. - Paging by file: a page holds at most CHANGED_SYMBOLS_PAGE_BUDGET (100) symbols and CHANGED_FILES_PAGE_MAX (100) files and never splits a file; next_cursor/page_offset/remaining_files are always serialised. - The cursor binds the call (tool, project, base, staged, path_glob) and the diff (sha256 over the resolved base commit, staged and every paged file's change + hunks); each mismatch is refused with its own hint. - review_diff pages the same way; coverage_capped names the page; concise bounds test_role_files (12.9k of a 27.7k concise review) to 20 with test_role_files_total/omitted. - context_pack keeps its pre-paging 300-symbol seed pool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The field report: `de.h-dv.vue/typescript` and `de.h-dv.vue/vue` in `resolution_gaps.dynamic_influence.components` and on find_callers / find_references / find_callees rows (`influence.component`) read as LANGUAGES. Neither is stored: both are assembled as `package_key || '/' || component`, a component HANDLE. For a region component the handle's local half is the region's language by convention only, so `de.h-dv.vue/typescript` is spelled like a package language id and means "the TypeScript regions the Vue package extracted", whose rows are `typescript`. 1. The handle stays (it is the stable identity that tests, grants and the plugin bench pin), and the two facts it packs now ride beside it, READ FROM THE COMPONENT ROW, never split out of the string: * `RefInfluence` gains `package` and `component_lang` (`extraction_components.lang`), via one `ComponentLabel` map; * `DynamicInfluence` gains `component_labels` (`{component, package, component_lang}` per handle, same order as `components`), and its `semantics` says handles are not languages. Additive and serde-defaulted in both skew directions: an old daemon leaves the fields absent, an old client ignores them. In `concise`, `package` is dropped (the handle's part before its last `/`) and `component_lang` is kept only where it differs from the handle: `de.h-dv.xaml/xaml` already IS a language id, and repeating it cost agent_task_plugin_bench's plugin-wpf band 61 tokens into its reserve (12472 -> 12533). With the rule it passes unchanged. 2. A `lang` filter now ADMITS a file by the language it contains. `search_symbols` (s.lang) and `resolution_gaps` (r.lang) already filtered ROWS and found region code under `lang="typescript"`; `search_text` read `files.lang` alone and silently missed every `.vue`/`.svelte` script region, and `search_symbols`' imports arm read `f.lang` too, so a `<script lang="ts">` import was missed AND labelled `de.h-dv.vue/vue`. Chosen: MATCH, not disclose, because the row-level surfaces already define `lang="typescript"` as "TypeScript code", and a file-level surface disagreeing with them is the defect. The rule is ONE structural fact for every region host: a file matches language L when its own language is L OR a LIVE contribution to it was written by a component whose rows are L (`extraction_components.lang`; `ensure_delegated_component` holds one language per component). It stays honest: the hit keeps the file's own `lang` and names the admitting region language in a new `region_lang` (detailed and concise), whose doc says the census is the whole file's, so a matched line may lie outside the region. The imports arm now reads and reports `i.lang` (m0044), as the symbols arm reads `s.lang`. NOT changed: `files.lang = 'de.h-dv.vue/vue'` on list_files / file_outline / project_overview. That IS the Vue language's id: `vue` is not a reserved local id, so `langid::row_lang` keeps it qualified, exactly as `de.h-dv.xaml/xaml`. Tests (daemon e2e through the real binary, frozen vue and svelte packages), each mutation run RED: * vue_package_e2e::an_influence_component_names_its_package_and_its_language_apart * vue_package_e2e::a_lang_filter_admits_a_file_by_the_language_it_contains * svelte_package_e2e::a_svelte_region_is_typescript_by_its_language_and_its_package_is_named_apart * server concise_influence_tests + concise_text_hit_flattens_and_bounds_snippet like_escape_tests' hand-built `imports` table gains the `lang` column every migrated index has had since m0044. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>crates/guest/python/src/python.rs + python/{scope,module_facts}.rs: the builtin crates/plugins/src/python.rs and its module directory, verbatim but for a header on python.rs and without their #[cfg(all(test, ..))] modules (diff-checked: module_facts.rs byte-identical). lib.rs compiles it into the python lane only, under the gate C0 put on every walker. - build.sh, parity-deltas.toml (builtin python.rs + its sha256), no delta: MEASURED equal on the 9 fixtures and on all 83 python-flask files. - builtin_frozen: FROZEN rows for python.rs, python/module_facts.rs and python/scope.rs (owner python). - owned.rs: the python row. Each row now carries corpus_files_floor (the measured population of its pinned repo: sinatra 156, guzzle 131, flask 83): the shared 100-file floor refused python-flask with every file equal. - python_source_ownership / python_walker_parity; the latter takes over the Python cases shared_guest_parity graded (tests/fixtures/python, the __all__ / metadata sources, the malformed def). shared_guest_parity skips python (34 files, four languages, floor re-measured); its builtin-only module_bindings assertions stay on the host. - ci_path_gating: python package rows; the per-walker shared-input example moves to csharp.rs; frozen php.rs/python.rs/python/scope.rs route to no leg. - manifest_layering: #[path] owners propagate transitively, so python/scope.rs compiled by the #[path]-compiled guest python.rs belongs to the languages guest (RED before: both files unattributed). The python package record is stale until the next commit rebuilds it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>