Repository navigation
feat(observe): expose Core repository observation through Traust CLI - #58
girish1430 wants to merge 3 commits into
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: girish1430 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
what does this mean: "Core's SQL repository/unit-of-work pattern,"? Does that reference Traust-core? does it refer to the general SQL pattern for Traust or something else? |
|
Heads-up on where this code is headed: traust-security/traust-core#4 lays down the platform structure (stubs only for now) that a lot of this PR's logic maps onto. This PR follows what XWING-2214 asked for at the time; the core structure just didn't exist yet.
Each stub raises One mechanical note: #4 removes |
chubirka
left a comment
There was a problem hiding this comment.
Please put this into traust-core, per @smith-xyz
chubirka
left a comment
There was a problem hiding this comment.
Please rebase and move into traust-core
Implement XWING-2214 with shared legacy observation helpers, typed records, repository storage, and offline parity coverage.
988bc71 to
b16a93f
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Thanks, Girish. This work shaped where observation landed, and that place is now traust-core, so I'm closing this as superseded:
|
Add
traust observe repo-statefor XWING-2214. The command uses Core to record one repository's forge facts and prints its freshly assembled state as JSON. Core owns observation models, providers, calculations and persistence; Contracts owns the table definitions.--core-configwith explicitly provisioned Core storage. Findings and inventory inputs remain read-only; only forge facts are persisted.--no-networkprevents forge calls.Lane/EventSourcevocabulary and the thin CLI in the security pack.Rebased onto current
main, retaining its ledger configuration changes and dependency updates. The Core/Contracts review pins remain explicit. This PR does not implement the new router, controller or dispatcher.Validation after rebase: 2,425 tests passed, 40 skipped. The documentation consistency gate and locked dependency check passed. CLI coverage includes recorded forge replay, no-network behavior, and configuration/storage errors.
Merge order: Contracts #40 → Core #5 → this PR.