Skip to content

fix: missing cmf-demo main.go file and gitignore fix that missed it - #52

Merged
araujof merged 1 commit into
devfrom
feat/missing_cmf_demo_file
Jun 1, 2026
Merged

araujof merged 1 commit into
devfrom
feat/missing_cmf_demo_file

Conversation

@terylt

@terylt terylt commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Discovered examples/go-demo/cmd/cmf-demo/main.go was missing from GitHub
even though it existed locally and git status didn't flag it as
untracked. Root cause: examples/go-demo/.gitignore had a bare pattern
cmf-demo meant to ignore the built binary at the demo root, but
gitignore matches bare patterns against any path component at any
depth — so cmd/cmf-demo/ (the source directory) and everything
under it were silently ignored too.

Same footgun exists in the root .gitignore for several other common
names (jwt/, build/, lib/, certs/, public/, tmp) that
would similarly hide future source directories. The jwt/ one is
particularly load-bearing — upcoming JWT-validator work needs jwt/
modules.

Changes

  • examples/go-demo/.gitignore: anchor cpex-demo and cmf-demo
    with leading / so they only match the built binaries at the demo
    root. Add explicit /cmd/cmf-demo/cmf-demo for the binary that lives
    alongside the source.
  • .gitignore: anchor certs/, public/, build/, lib/ to /;
    remove jwt/ entirely; remove bare tmp (covered by temp/); drop
    duplicate entries for certs/, public/, build/. Comments
    document the anchoring rationale.

@terylt
terylt requested review from araujof and jonpspri as code owners May 21, 2026 22:55
@araujof araujof changed the title fix: missing cmf-demo main.go file and gitignore fix that missed it. fix: missing cmf-demo main.go file and gitignore fix that missed it Jun 1, 2026

@araujof araujof left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@araujof
araujof merged commit 310d0db into dev Jun 1, 2026
@araujof
araujof deleted the feat/missing_cmf_demo_file branch June 1, 2026 19:32
araujof pushed a commit that referenced this pull request Jun 10, 2026
araujof added a commit that referenced this pull request Jun 10, 2026
* feat: initial Rust Core (cpex-core and cpex-sdk) (#13)

* feat: initial revision rust core.

Signed-off-by: Teryl Taylor <[email protected]>

* fix: addressed comments in PR. Updated PluginContext to match spec.

Signed-off-by: Teryl Taylor <[email protected]>

---------

Signed-off-by: Teryl Taylor <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>

* feat: CPEX Rust config (#38)

* feat: added yaml and routing rule support.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added example code to show how to load manager and plugins.

Signed-off-by: Teryl Taylor <[email protected]>

* fixes: updated plugin errors, configs to more match python.

Signed-off-by: Teryl Taylor <[email protected]>

---------

Signed-off-by: Teryl Taylor <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>

* feat:  RUST with CMF and extensions. (#44)

* feat: initial revision rust core.

Signed-off-by: Teryl Taylor <[email protected]>

* fix: addressed comments in PR. Updated PluginContext to match spec.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added yaml and routing rule support.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added example code to show how to load manager and plugins.

Signed-off-by: Teryl Taylor <[email protected]>

* fixes: updated plugin errors, configs to more match python.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: RUST CMF initial revision.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added invoke named support, added constants, fixed reviewed code.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added owned extensions and did some refactoring.

Signed-off-by: Teryl Taylor <[email protected]>

---------

Signed-off-by: Teryl Taylor <[email protected]>
Signed-off-by: Frederico Araujo <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>
Co-authored-by: Frederico Araujo <[email protected]>

* feat: cgo Go bindings (#45)

* feat: initial revision rust core.

Signed-off-by: Teryl Taylor <[email protected]>

* fix: addressed comments in PR. Updated PluginContext to match spec.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added yaml and routing rule support.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added example code to show how to load manager and plugins.

Signed-off-by: Teryl Taylor <[email protected]>

* fixes: updated plugin errors, configs to more match python.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: RUST CMF initial revision.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added invoke named support, added constants, fixed reviewed code.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added owned extensions and did some refactoring.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added cgo and golang bindings, examples and readme.

Signed-off-by: Teryl Taylor <[email protected]>

* address P0/P1/P2 review findings (except #17)

Signed-off-by: Teryl Taylor <[email protected]>

* fix: address remaining P2/P3 review findings + testing gaps

Signed-off-by: Teryl Taylor <[email protected]>

* docs: add CPEX Go public API spec

Signed-off-by: Frederico Araujo <[email protected]>

* docs: renamed document

Signed-off-by: Frederico Araujo <[email protected]>

* feat(cpex-rust): CGO review passes 1-11 + lint cleanup + Makefile targets

Signed-off-by: Teryl Taylor <[email protected]>

* fix: address linting issues, updated makefile to support building examples.

Signed-off-by: Teryl Taylor <[email protected]>

* docs: updated the go spec to reflect recent changes.

Signed-off-by: Teryl Taylor <[email protected]>

---------

Signed-off-by: Teryl Taylor <[email protected]>
Signed-off-by: Frederico Araujo <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>
Co-authored-by: Frederico Araujo <[email protected]>

* docs: intial rust specification (#50)

Co-authored-by: Teryl Taylor <[email protected]>

* feat: change Plugin handler to async for performance (#49)

Co-authored-by: Teryl Taylor <[email protected]>

* fix: missing cmf-demo main.go file and gitignore fix that missed it (#52)

Co-authored-by: Teryl Taylor <[email protected]>

* feat: initial APL Rust implementation (#60)

* fix: initial revision APL.

* feat: apl-cpex bridge crate + plugin-registry-driven hook dispatch

* feat: add support for plugin calling in APL routes.

* feat: add more APL plugin support, unified config

* feat: added cedar direct PDP.

* feat: add identity hook and extensions.

* feat: added token delegation hooks and tests.

* feat: added plugin for jwt token identity, oauth and biscuit delegation, cedarling PDP.

Signed-off-by: Teryl Taylor <[email protected]>

* fix: updated identity and delegation to support keycloak. added delegate() function, and identity sections.

* fix: added some sample plugins, added updates to support cedar.

Signed-off-by: Teryl Taylor <[email protected]>

* feat: added session support, serialize and parallel and full effects capabilities.

* feat: add ffi pre-built .a library

Signed-off-by: Frederico Araujo <[email protected]>

* chore: add workflow_dispatch target

Signed-off-by: Frederico Araujo <[email protected]>

* fix: critical and high issues from review.

* feat: add APL FFI and go bindings

Signed-off-by: Frederico Araujo <[email protected]>

* chore: add musl tools to musl runners

Signed-off-by: Frederico Araujo <[email protected]>

* fix: potential double free after use bug.

* chore: update Go module paths after repo rename to cpex

* feat: map identity extension into cpex ffi

Signed-off-by: Frederico Araujo <[email protected]>

* feat: add cpex_invoke_resolved abi

Signed-off-by: Frederico Araujo <[email protected]>

* fix: has_hook_for handling

Signed-off-by: Frederico Araujo <[email protected]>

* chore: update headers

Signed-off-by: Frederico Araujo <[email protected]>

---------

Signed-off-by: Teryl Taylor <[email protected]>
Signed-off-by: Frederico Araujo <[email protected]>
Co-authored-by: Frederico Araujo <[email protected]>

* fix: session binding

Signed-off-by: Frederico Araujo <[email protected]>

* chore: updated comments

Signed-off-by: Frederico Araujo <[email protected]>

* tests: added more session tests for Tier 1 ids.

---------

Signed-off-by: Teryl Taylor <[email protected]>
Signed-off-by: Frederico Araujo <[email protected]>
Co-authored-by: terylt <[email protected]>
Co-authored-by: Teryl Taylor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants