#-------------------------------------------------------------------------------
# P4Broker for CBD dev/testing
#-------------------------------------------------------------------------------
target = 1999;
listen = 1666;
zeroconf = false;
server-name = "CBD Broker";
server-desc = "CBD Broker";
directory = /p4/1/bin;
logfile = /p4/1/logs/p4broker.log;
debug-level = server=1;
admin-name = "Perforce Admins";
admin-phone = 999/911;
admin-email = admin@p4bsw.com;
compress = false;
redirection = selective;
#-------------------------------------------------------------------------------
# CBD rewrites 'p4 sync' and friends ('p4 update' and 'p4 flush'), and their
# API-equivalents.
#-------------------------------------------------------------------------------
command: ^(sync|update|flush)$
{
action = filter;
execute = "/p4/common/bin/cbd/scripts/wssync.sh";
}
# Show Broker Input (Debugging Utility).
command: ^(sbi)$
{
action = filter;
execute = "/p4/common/bin/cbd/scripts/sbi.pl";
}
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 32530 | bot_Claude_Anthropic |
Add broker REWRITE reference files; governance CLAUDE.md; session-002 handoff Add doc/broker-rewrite-reference/ with CBD project examples illustrating the p4broker REWRITE feature: broker config, wssync.py entry point, and Cbd.py implementation, plus a README summarizing the filter script protocol (stdin fields, PASS/REJECT/REWRITE output format). Rewrite ai/CLAUDE.md as durable governance document covering server topology, DLP notes, workspace patterns, bot ticket management, and P4Sudo dev architecture. Add ai/session-002-handoff.md. #review-32531 @robert_cowham @tom_tyler |