Repository navigation
Align Organization naming glossary and confine corpus paths - #28
Merged
Merged
Conversation
员工 is a department assignment on the control plane, 同事 are same-org peers on FreeOS, and 专家 / 智能助手 are not yet in a department. Confine corpus distill writes to FREEOS_HOME/org-corpus/default so user distill_path cannot reach the filesystem.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Align Organization / mutual-growth copy with the glossary from the #23 follow-up, and keep corpus distill writes off user-supplied paths so CodeQL
py/path-injectionstays clean.Glossary
Import (openXYOS → FreeOS) registers department 员工 as 同事. Pack (FreeOS → openXYOS) lands 专家 / 智能助手 as department 员工. Corpus produce creates an 专家 / 智能助手, not a 同事.
produce_from_corpusno longer joins callerdistill_path/kb_idinto filesystem paths. It only writes{FREEOS_HOME}/org-corpus/default(same confinement style as asset-pack apply).Target branch
main(follow-up to merged Harden Organization mutual growth between FreeOS and openXYOS #23; do not merge)Type of change
Test plan
make precommitgreen (format-all + lint + typecheck + scoped tests + dashboard build)test_produce_from_corpus_ignores_outside_distill_pathWindows verification (no Release replace)
%USERPROFILE%\.freeos\org-corpus\default(orFREEOS_HOME), not a caller path.Checklist
CHANGELOG.mddocs/asset-loop.mdupdatedDo not merge. Do not replace Release assets. Version stays 0.0.1.