-
Notifications
You must be signed in to change notification settings - Fork 4
feat(config): three-scope config resolution (User → Project → Local) #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
0146246
feat(config): add sync _find_project_root helper
elkaix 0431f01
feat(utils): add ensure_gitignored utility
elkaix a79310f
fix(tests): remove unused imports and rename ambiguous variable in te…
elkaix cf775ad
feat(config): add scope constants and provenance helpers
elkaix 50f292c
style(config): unquote union type annotation in _lookup_provenance
elkaix 8b78574
feat(config): add _check_scope_locks with path-level secret detection
elkaix 6c54bd4
feat(config): add _type_based_merge with dedup and provenance tracking
elkaix 138cab8
feat(config): add _apply_env_vars with ENV_FIELD_MAP
elkaix 19dde24
feat(config): add source_scopes metadata field to Config
elkaix 84d2baa
feat(config): add _load_scoped five-step pipeline
elkaix aae99de
fix(config): resolve project/local paths in source_scopes for consist…
elkaix e00d3fe
feat(config): wire load_config to scope resolution pipeline
elkaix f7e3350
test(config): isolate load_config no-args test by monkeypatching cwd …
elkaix f77efb1
fix(config): resolve pyright type errors in scoped pipeline helpers
elkaix 2364488
feat(agent): add explicit product identity to default system prompt
elkaix ebd5604
chore(agent): update model name examples in identity prompt
elkaix 2bf5266
fix(config): address CodeRabbit review comments
elkaix 4eb94fe
test(agent): update inline snapshot for new product identity in syste…
elkaix 8595bf5
fix(config,test): address remaining CodeRabbit review findings
elkaix bbd7632
chore(deps): add pytest-cov to all package dev dependency groups
elkaix 52f5665
chore(coverage): add [tool.coverage.*] config to all packages
elkaix fba87d4
chore(coverage): add cov-* Makefile targets and gitignore coverage ar…
elkaix 5a9efa4
ci(codecov): add codecov.yml with per-package flags and informational…
elkaix 1efe597
ci(codecov): add coverage upload to pythinker-code CI
elkaix 592fd46
ci(codecov): add coverage upload to pythinker-core CI
elkaix a8ba74b
ci(codecov): add coverage upload to pythinker-host CI (ubuntu-22.04 o…
elkaix c07c43a
ci(codecov): add coverage upload to pythinker-sdk CI
elkaix e97444e
ci(security): pin codecov-action to commit SHA
elkaix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| codecov: | ||
| notify: | ||
| after_n_builds: 3 | ||
| wait_for_ci: true | ||
|
|
||
| coverage: | ||
| precision: 2 | ||
| round: down | ||
| range: "70...100" | ||
|
|
||
| status: | ||
| project: | ||
| default: | ||
| informational: true | ||
| patch: | ||
| default: | ||
| informational: true | ||
|
|
||
| comment: | ||
| layout: "diff, flags, files" | ||
| behavior: default | ||
| require_changes: true | ||
| show_carryforward_flags: true | ||
|
|
||
| flag_management: | ||
| default_rules: | ||
| carryforward: true | ||
| statuses: | ||
| - type: project | ||
| informational: true | ||
| - type: patch | ||
| informational: true | ||
| individual_flags: | ||
| - name: pythinker-code | ||
| paths: | ||
| - src/pythinker_code/ | ||
| after_n_builds: 3 | ||
| - name: pythinker-core | ||
| paths: | ||
| - packages/pythinker-core/src/pythinker_core/ | ||
| after_n_builds: 3 | ||
| - name: pythinker-host | ||
| paths: | ||
| - packages/pythinker-host/src/pythinker_host/ | ||
| after_n_builds: 3 | ||
| - name: pythinker-sdk | ||
| paths: | ||
| - sdks/pythinker-sdk/src/pythinker_sdk/ | ||
| after_n_builds: 3 | ||
|
|
||
| ignore: | ||
| - "**/tests/**" | ||
| - "**/tests_e2e/**" | ||
| - "**/tests_ai/**" | ||
| - "**/conftest.py" | ||
| - "**/__init__.py" | ||
| - "src/pythinker_code/deps/**" | ||
| - "examples/**" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.