reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/context_dimensions

Idea detail

context_dimensions

reqlan rq/extension/module/context-scope.rq:51

block

Summary

Seven dimensions contribute ideas and files to the effective context footprint.
Each dimension has a stable id, human label, default weight, and a one-line summary for collapsed UI.
- workspace workspace_context
Ambient VS Code workspace chrome and multi-base index glance: discovered bases, active base readiness / idea / edge counts — not a full graph dump. Distinct from the active base source in v2.
- current_file current_file_context
Active editor file. For `.rq`: caret idea, in-file outline, unresolved refs. For any file: any_file_scope links and git badge.
- open_files open_files_context
Other workspace editor tabs currently open ( any language ).
- file_history file_history_context
Session recency of visited workspace files ( navigation history ), distinct from edit history.
- edit_history edit_history_context
Session recency of edited workspace files and caret positions ( typing history ).
- manual manual_context
User-pinned ideas from context_tray and explicit " add to context " actions.
- git git_context
Focus-centric development history ( branch, recent commits, authors ) per git_information_capture; working-tree changes demoted.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/module/context-scope.rq

community 25

community cluster

context-scope.rq

file cluster

reqlan rq/extension/module

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

No attributes declared.

Ancestor context

workspace_context

weight: 0. 1 Always on; contributes multi-base readiness and counts ( active base + sibling summary ) unless user opens workspace pane. " Workspace " here means the VS Code workspace surface and ambient index health — not a single ontology base. Active-base routing for focus / graph / refs follows ["../../bases/base.rq".implied_context]; see [context_scope_v2.context_sources] `base`.

current_file_context

weight: 1. 0 Default enabled and expanded lens when a workspace file is active.

any_file_scope

The active editor may be a requirement file or implementation file ( Python, TypeScript, etc. ). [current_file_context] must surface requirement links even when the file contains no block ideas. Signals for non-. rq files ( and. rq files without a caret idea ): - [file_reference_links]: `.rq` ideas whose outbound `file_reference` edges target this file path ( e. g. `["./apythonfile.py"]` ). - [folder_reference_links]: `.rq` ideas whose `file_reference` targets a parent folder of this file. - [comment_reference_links]: ideas resolved from `rq:[…]` tokens in this file's comments per [code_comment_refs.references_in_functional_code_comments]. - [git_context]: focus-centric git history ( recent commits, authors, branch ); working-tree dirty badge secondary. Focus behaviour: - `.rq` file with caret in a block → idea focus ( unchanged ). - Any file with linked requirements → file focus; [effective_center_id] defaults to the first linked requirement. - No links → file focus with empty related lists; graph / refs panes stay idle until a requirement is focused. Implementation: [context_model] uses [file_path_match] and `file_related_requirements` analyser; comment links are also resolved from live buffer text when indexed edges are absent.

open_files_context

weight: 0. 6 Default enabled; summary lists tab count.

file_history_context

weight: 0. 4 Default enabled; capped list ( configurable, default 12 ).

edit_history_context

weight: 0. 5 Default enabled; capped list ( default 12 ); entries include last line touched.

manual_context

weight: 0. 9 Enabled when tray non-empty; pins override sync focus for [effective_center_id] when user chooses " focus pinned ".

git_context

weight: 0. 7 Should detect symbol lifecycle using symbol identity rather than line history for creation: who introduced the symbol, when it was introduced, who last meaningfully changed it, the total number of changes, and the relative change rate versus peer symbols. Default enabled when repository detected. Primary: focus-centric git history — branch, HEAD short hash, recent commits touching the focus file / idea, top authors. Summary prefers history richness ( e. g. " main · 3 commits · 2 authors " ), not staged / unstaged counts. Working-tree dirty files remain available as a demoted nested section and optional footprint contributors. Focus hero shows a history cue ( last commit age / branch ) instead of a staged / unstaged chip. Consumes [index_reqs.git_information_capture] and ["context-scope-v2.rq".development_history_signals]. UI: [activitybar.git_history_lens].

file_reference_links

Matched when an indexed `file_reference` edge target resolves to the active file path ( exact or suffix match ).

folder_reference_links

Matched when an indexed `file_reference` edge target is a folder prefix of the active file per [file_path_match.match_file_reference_target].

comment_reference_links

Matched from `comment_link` index edges and / or `rq:[target]` spans parsed from the active buffer.

Outbound references

KindIdeaPathSnippet
references any_file_scope reqlan rq/extension/module/context-scope.rq any_file_scope
references current_file_context reqlan rq/extension/module/context-scope.rq current_file_context
references edit_history_context reqlan rq/extension/module/context-scope.rq edit_history_context
references file_history_context reqlan rq/extension/module/context-scope.rq file_history_context
references git_context reqlan rq/extension/module/context-scope.rq git_context
references manual_context reqlan rq/extension/module/context-scope.rq manual_context
references open_files_context reqlan rq/extension/module/context-scope.rq open_files_context
references workspace_context reqlan rq/extension/module/context-scope.rq workspace_context

Inbound references

KindIdeaPathSnippet
references context_scope reqlan rq/extension/module/context-scope.rq context_dimensions
references reqlan_context_model reqlan rq/extension/module/context-scope.rq context_dimensions

Unresolved references

KindIdeaPathSnippet
references base base
references context_tray context_tray
references git_information_capture git_information_capture

Local graph

Initialising graph…